Swagger docs only show one parameter schema
dparker2 opened this issue · 1 comments
dparker2 commented
Summary
Since __apispec__["parameters"]
is no longer used in request_schema
, and __apispec__["schema"]
is used for generating the swagger.json
, the schema of only the first added parameter is shown in the swagger docs.
Example
https://repl.it/repls/UrbanMushyMp3
What Happened
As you can see in the output from the above link, the swagger_dict
only contains the headers
schema, even though both body
and headers
schemas were provided.
Expected
The parameters
list would contain both the headers
and body
schemas.
maximdanilchenko commented
I will release this fix in nearby future.