-
Notifications
You must be signed in to change notification settings - Fork 58
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
@match_info_schema results in swagger parameter entries for both "path" and "match_info" #74
Comments
Follow up: doing Edit: When I say "expected behavior" I mean it shows up in the schema appropriately; this does not also result in the proper parsing behavior in aiohttp |
@waweber hi! #73 opened by @maksimvrs fixes it. But @maksimvrs doesn't answer for my question about this PR. So I think I will close it by myself soon. |
See marshmallow-code/apispec#517. And please comment on marshmallow-code/apispec#587 if you have any insight. |
Closed with #115 |
If you set up a schema that validates a route's
match_info
, the Swagger output will have a generated parameter description for both the parameters in the path and the ones in the schema.Example, with a route that must have a
customer_id
that is a valid UUID:The resulting Swagger schema will have a
parameters
property that looks like this:It contains both the
customer_id
from the route path as well as from the schema. In the Swagger page it would ask you to enter both.I think specifying
match_info_schema
should replace these parameters, right?The text was updated successfully, but these errors were encountered: