Skip to content
New issue

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

Add ability to include code examples per operation response #341

Open
alek-mongodb opened this issue Aug 28, 2018 · 1 comment
Open

Add ability to include code examples per operation response #341

alek-mongodb opened this issue Aug 28, 2018 · 1 comment
Assignees

Comments

@alek-mongodb
Copy link
Contributor

Currently it's only possible to attach an example at the endpoint level. It needs to work at least on a per-operation basis and preferably on a per-response basis. Just one example per request is sufficient.

@nir-jacobson
Copy link
Contributor

Examples are attached to responses in StaticDocumentation._generateResponseDescriptors(). Examples can be attached to requests similarly using my suggestion in #340 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants