You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using content.application/json to describe a JSON object within a query string just gives "must be object" error, even with swagger ui
To Reproduce
Have the following or similar inside the parameters section of a get schema:
Run and try to hit the endpoint with ?a={"b":"b","c":"c","d":"d"} or open the inbuilt swagger ui server, even this gives examples which makes its own server fail in the same way.
Actual behavior
validator barfs with "a must be object"
Expected behavior
validation successful passing in the correct object to the request
The text was updated successfully, but these errors were encountered:
Workaround: pass as string and validate with some other library once you get into the request, but this is suboptimal as this library was supposed to do that part.
Describe the bug
Using content.application/json to describe a JSON object within a query string just gives "must be object" error, even with swagger ui
To Reproduce
Have the following or similar inside the
parameters
section of a get schema:Run and try to hit the endpoint with ?a={"b":"b","c":"c","d":"d"} or open the inbuilt swagger ui server, even this gives examples which makes its own server fail in the same way.
Actual behavior
validator barfs with "a must be object"
Expected behavior
validation successful passing in the correct object to the request
The text was updated successfully, but these errors were encountered: