Skip to content

Commit 8156071

Browse files
authored
Merge pull request OAI#3744 from karenetheridge/ether/reorder-styles-v3.0.4
switch the order of these styles in the tables (3.0.4)
2 parents cd0d290 + b1a75ff commit 8156071

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

versions/3.0.4.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1050,12 +1050,12 @@ Field Name | Type | Description
10501050

10511051
In order to support common ways of serializing simple parameters, a set of `style` values are defined.
10521052

1053-
`style` | [`type`](#dataTypes) | `in` | Comments
1053+
`style` | [`type`](#dataTypes) | `in` | Comments
10541054
----------- | ------ | -------- | --------
1055-
matrix | `primitive`, `array`, `object` | `path` | Path-style parameters defined by [RFC6570](https://tools.ietf.org/html/rfc6570#section-3.2.7)
1056-
label | `primitive`, `array`, `object` | `path` | Label style parameters defined by [RFC6570](https://tools.ietf.org/html/rfc6570#section-3.2.5)
1057-
form | `primitive`, `array`, `object` | `query`, `cookie` | Form style parameters defined by [RFC6570](https://tools.ietf.org/html/rfc6570#section-3.2.8). This option replaces `collectionFormat` with a `csv` (when `explode` is false) or `multi` (when `explode` is true) value from OpenAPI 2.0.
1058-
simple | `primitive`, `array`, `object` | `path`, `header` | Simple style parameters defined by [RFC6570](https://tools.ietf.org/html/rfc6570#section-3.2.2). This option replaces `collectionFormat` with a `csv` value from OpenAPI 2.0.
1055+
matrix | `primitive`, `array`, `object` | `path` | Path-style parameters defined by [RFC6570](https://tools.ietf.org/html/rfc6570#section-3.2.7)
1056+
label | `primitive`, `array`, `object` | `path` | Label style parameters defined by [RFC6570](https://tools.ietf.org/html/rfc6570#section-3.2.5)
1057+
simple | `primitive`, `array`, `object` | `path`, `header` | Simple style parameters defined by [RFC6570](https://tools.ietf.org/html/rfc6570#section-3.2.2). This option replaces `collectionFormat` with a `csv` value from OpenAPI 2.0.
1058+
form | `primitive`, `array`, `object` | `query`, `cookie` | Form style parameters defined by [RFC6570](https://tools.ietf.org/html/rfc6570#section-3.2.8). This option replaces `collectionFormat` with a `csv` (when `explode` is false) or `multi` (when `explode` is true) value from OpenAPI 2.0.
10591059
spaceDelimited | `array`, `object` | `query` | Space separated array values or object properties and values. This option replaces `collectionFormat` equal to `ssv` from OpenAPI 2.0.
10601060
pipeDelimited | `array`, `object` | `query` | Pipe separated array values or object properties and values. This option replaces `collectionFormat` equal to `pipes` from OpenAPI 2.0.
10611061
deepObject | `object` | `query` | Provides a simple way of rendering nested objects using form parameters.
@@ -1077,12 +1077,12 @@ The following table shows examples of rendering differences for each value.
10771077
----------- | ------ | -------- | -------- | -------- | -------
10781078
matrix | false | ;color | ;color=blue | ;color=blue,black,brown | ;color=R,100,G,200,B,150
10791079
matrix | true | ;color | ;color=blue | ;color=blue;color=black;color=brown | ;R=100;G=200;B=150
1080-
label | false | . | .blue | .blue,black,brown | .R,100,G,200,B,150
1081-
label | true | . | .blue | .blue.black.brown | .R=100.G=200.B=150
1082-
form | false | color= | color=blue | color=blue,black,brown | color=R,100,G,200,B,150
1083-
form | true | color= | color=blue | color=blue&color=black&color=brown | R=100&G=200&B=150
1080+
label | false | . | .blue | .blue,black,brown | .R,100,G,200,B,150
1081+
label | true | . | .blue | .blue.black.brown | .R=100.G=200.B=150
10841082
simple | false | n/a | blue | blue,black,brown | R,100,G,200,B,150
10851083
simple | true | n/a | blue | blue,black,brown | R=100,G=200,B=150
1084+
form | false | color= | color=blue | color=blue,black,brown | color=R,100,G,200,B,150
1085+
form | true | color= | color=blue | color=blue&color=black&color=brown | R=100&G=200&B=150
10861086
spaceDelimited | false | n/a | n/a | blue%20black%20brown | R%20100%20G%20200%20B%20150
10871087
pipeDelimited | false | n/a | n/a | blue\|black\|brown | R\|100\|G\|200\|B\|150
10881088
deepObject | true | n/a | n/a | n/a | color[R]=100&color[G]=200&color[B]=150

0 commit comments

Comments
 (0)