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
When describing an object to pass trough query params via referenced schema (in swagger_helper.rb) it won't serialize with the same style as it was described in the test case itself.
Describe the bug
When describing an object to pass trough query params via referenced schema (in swagger_helper.rb) it won't serialize with the same style as it was described in the test case itself.
Steps to Test or Reproduce
Given
let(:q) {{ name_eq: 'foo' }}
:Will result in
url/q[name_eq]=foo
.Will result in
url?q={:name_eq=%3E%22foo%22}
.Expected behavior
They should both behave the first way as per Swagger docs: https://swagger.io/docs/specification/describing-parameters/#query-parameters and https://swagger.io/docs/specification/serialization/.
Dependency versions
Latest versions.
Relates to which version of OAS (OpenAPI Specification)
The text was updated successfully, but these errors were encountered: