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
Parameter example support #95
Comments
This should be handled in apispec. I will work on it (or create an issue in apispec) later after 1.0 is released. https://github.com/marshmallow-code/apispec/blob/dev/src/apispec/ext/marshmallow/openapi.py#L104 |
This would be a great feature. I hope you're able to add it |
It seems this issue has been done. |
The example for the query parameter is not supported yet. I guess this feature should be added in apispec (upstream library). |
Support to set a custom example for request parameters.
@input(PetQuerySchema, location='query', example=..., examples=[...])
Ref: https://swagger.io/docs/specification/adding-examples/
The text was updated successfully, but these errors were encountered: