We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
requestBody
Similar to how multiple response examples are already supported in Widdershins, it would great if it also support multiple requestBody examples.
Here's an example yaml:
/foo: post: tags: - Foo parameters: [] requestBody: content: application/json: schema: type: object properties: topic: type: string examples: oneRequest: description: one value: topic: one twoRequest: description: two value: topic: two responses: '200': description: success content: application/json: schema: type: object properties: topic: type: string examples: oneResponse: description: one value: topic: one twoResponse: description: two value: topic: two
And what it looks like currently:
The text was updated successfully, but these errors were encountered:
It'd be super useful to have this feature 👍
Sorry, something went wrong.
Hi @MikeRalphson,
I pushed #401 :) Would you have a look ?
Hi @MikeRalphson would you accept a PR for this issue? I am planning to continue on the work from @sirinn to get it included.
I went ahead and opened a PR. Please let me know what we can do to get this merged #530. Thanks!
MikeRalphson
No branches or pull requests
Similar to how multiple response examples are already supported in Widdershins, it would great if it also support multiple requestBody examples.
Here's an example yaml:
And what it looks like currently:
The text was updated successfully, but these errors were encountered: