You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know this is somewhat bleeding into the open-api spec itself, so I understand if this is too much scope creep, but I'd love to be able to provide example values for parameter values. The examples are great for responses, but for requests, the auto-built examples built off of type are good, but utilitarian.
So for example, I could set a x-example attribute for a parameter in a schema I could turn this:
to
Does that seem reasonable? I tried to go down the x-code-snippets route but it wasn't quite the same as what I was trying to achieve.
The text was updated successfully, but these errors were encountered:
I know this is somewhat bleeding into the open-api spec itself, so I understand if this is too much scope creep, but I'd love to be able to provide example values for parameter values. The examples are great for responses, but for requests, the auto-built examples built off of type are good, but utilitarian.
So for example, I could set a
x-example
attribute for a parameter in a schema I could turn this:to
Does that seem reasonable? I tried to go down the
x-code-snippets
route but it wasn't quite the same as what I was trying to achieve.The text was updated successfully, but these errors were encountered: