Closed amckinney closed 3 months ago
This updates the OpenAPI parser to better handle query parameters that can either be a single element or a list of elements. For example,
{ "in": "query", "name": "user_id", "schema": { "anyOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] } }
For now, we special case this so that we set the allow-multiple field so that the caller will always be able to set multiple elements (in the explode format).
allow-multiple
explode
This updates the OpenAPI parser to better handle query parameters that can either be a single element or a list of elements. For example,
For now, we special case this so that we set the
allow-multiple
field so that the caller will always be able to set multiple elements (in theexplode
format).