Skip to content

Commit 5d1067c

Browse files
switch the order of these styles in the tables
This is a more natural grouping of similar types, making the data much easier to read.
1 parent b17620b commit 5d1067c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

versions/3.1.0.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,8 +1055,8 @@ In order to support common ways of serializing simple parameters, a set of `styl
10551055
----------- | ------ | -------- | --------
10561056
matrix | `primitive`, `array`, `object` | `path` | Path-style parameters defined by [RFC6570](https://tools.ietf.org/html/rfc6570#section-3.2.7)
10571057
label | `primitive`, `array`, `object` | `path` | Label style parameters defined by [RFC6570](https://tools.ietf.org/html/rfc6570#section-3.2.5)
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.
10591058
simple | `array` | `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.
1059+
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.
10601060
spaceDelimited | `array`, `object` | `query` | Space separated array or object values. This option replaces `collectionFormat` equal to `ssv` from OpenAPI 2.0.
10611061
pipeDelimited | `array`, `object` | `query` | Pipe separated array or object values. This option replaces `collectionFormat` equal to `pipes` from OpenAPI 2.0.
10621062
deepObject | `object` | `query` | Provides a simple way of rendering nested objects using form parameters.
@@ -1079,10 +1079,10 @@ matrix | false | ;color | ;color=blue | ;color=blue,black,brown | ;color=R,100,G
10791079
matrix | true | ;color | ;color=blue | ;color=blue;color=black;color=brown | ;R=100;G=200;B=150
10801080
label | false | . | .blue | .blue.black.brown | .R.100.G.200.B.150
10811081
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
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)