Skip to content

Commit 0942696

Browse files
authored
Merge pull request #3755 from handrews/space-delim-320
Clarify spaceDelimited with spaces in values (3.2.0 port of #3723)
2 parents 65fc694 + c700c03 commit 0942696

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

versions/3.2.0.md

+1
Original file line numberDiff line numberDiff line change
@@ -1061,6 +1061,7 @@ spaceDelimited | `array`, `object` | `query` | Space separated array values or o
10611061
pipeDelimited | `array`, `object` | `query` | Pipe separated array values or object properties and 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.
10631063

1064+
The behavior of applying a style that uses a delimiter to data containing that delimiter is not defined, and is therefore NOT RECOMMENDED. To ensure interoperability, any such delimiter characters need to be escaped prior to serializing with the style, and unescaped after parsing. In the case of `spaceDelimited`, care must be taken to avoid confusing interactions with URL parameter encoding of spaces.
10641065

10651066
##### Style Examples
10661067

0 commit comments

Comments
 (0)