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

example payload for POST requests #1500

Closed
fehguy opened this issue Oct 16, 2015 · 2 comments
Closed

example payload for POST requests #1500

fehguy opened this issue Oct 16, 2015 · 2 comments
Assignees
Milestone

Comments

@fehguy
Copy link
Contributor

fehguy commented Oct 16, 2015

It's not supported in the spec, but the swagger-ui supports a x-examples value for POST operations. Need to add annotation support and processing to this extension.

@fehguy
Copy link
Contributor Author

fehguy commented Oct 19, 2015

Also adding support for x-example for scalar parameters (i.e. query, path, header, formData).

@fehguy
Copy link
Contributor Author

fehguy commented Oct 19, 2015

fixed in #1501

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

1 participant