-
Notifications
You must be signed in to change notification settings - Fork 64
Proposal: add support for querystring Parameter Format #438
Description
OpenAPI 3.2.0 introduced a new parameter location, querystring, described in
Extending Support for Querystring Formats,
along with several additional constraints:
-
query— Parameters appended to the URL. For example, in/items?id=###, theidparameter is a query parameter.
It MUST NOT appear in the same operation (or in the operation’s path item) as anin: "querystring"parameter. -
querystring— A parameter that treats the entire URL query string as a single value. It MUST be specified using thecontentfield, most commonly with the media typeapplication/x-www-form-urlencoded, using Encoding Objects in the same way as request bodies of that media type.
It MUST NOT appear more than once, and MUST NOT appear in the same operation (or in the operation’s path item) as anyin: "query"parameters.
Arazzo could consider supporting this parameter directly, or alternatively document a recommended approach, so that tooling can consistently determine how to handle this syntax.