Skip to content

deepObject parameter style produces invalid URIs #1942

Closed
@vvanpo

Description

@vvanpo

According to the RFC,

[ IPv6 host address ] is the only place where square bracket characters are allowed in the URI syntax.

So requiring OpenAPI clients to serialize parameters using square brackets means asking them to violate RFC 3986.

The same is true for the allowReserved field. The only reserved characters that need to be encoded for query strings at all are #, [, and ]. Allowing these to pass through unencoded produces an invalid query string.

Metadata

Metadata

Assignees

Labels

param serializationIssues related to parameter and/or header serialization

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions