Skip to content

Commit 9a7d8ca

Browse files
committed
Better formatting
1 parent e077fce commit 9a7d8ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/oas.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,9 +1022,9 @@ The following table shows examples, as would be shown with the `example` or `exa
10221022
Many frameworks define query string syntax for complex values, such as appending array indices to parameter names or indicating multiple levels of of nested objects, which go well beyond the capabilities of the `deepObject` style.
10231023

10241024
As these are not standards, and often contradict each other, the OAS does not attempt to support them directly.
1025-
Two avenues are available for supporting such formats with `in: querystring`:
1025+
Two avenues are available for supporting such formats with `in: "querystring"`:
10261026
1027-
* Use `content` and `text/plain` with a schema of `type: string` and define the format outside of OpenAPI. While this requires more work to document and construct or parse the format, which is seen as a plain string from the OpenAPI perspective, it provides the easiest flexible option
1027+
* Use `content` and `text/plain` with a schema of `type: "string"` and define the format outside of OpenAPI. While this requires more work to document and construct or parse the format, which is seen as a plain string from the OpenAPI perspective, it provides the easiest flexible option
10281028
* Define a media type (which need not necessarily be [IANA-registered](https://www.rfc-editor.org/rfc/rfc6838.html)) and submit a registration for how it can be supported (using `in: "querystring"` and the `content` field) to the OpenAPI Initiative's [Media Type Registry](#media-type-registry).
10291029

10301030
##### Parameter Object Examples

0 commit comments

Comments
 (0)