swagger.io
swagger.io copied to clipboard
error in "Parameter Serialization" page for spaceDelimited, pipeDelimited styles
I believe there is an error in https://swagger.io/docs/specification/serialization/#query, when describing the spaceDelimited
and pipeDelimited
styles:
in the explode=true case, it gives a serialized string /users?id=3&id=4&id=5
, but actually should say n/a
, as explode=true cannot be used with these styles.
canonical reference: https://spec.openapis.org/oas/v3.0.3#style-examples
cc @frankkilcommins
I may not be right here; please cross-check with https://github.com/OAI/OpenAPI-Specification/issues/1508#issuecomment-373915620 and the OAS people to be sure?