Skip to content

Commit d17c1f8

Browse files
remove invalid example
Expansions using "style": "simple", "explode": true do not include the parameter name in the expansion.
1 parent 7829aed commit d17c1f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/oas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ The rules in this section apply to both the Parameter and [Header](#header-objec
12381238

12391239
When showing serialized examples using the `example` field or [Example Objects](#example-object), in most cases the value to show is just the value, with all relevant percent-encoding or other encoding/escaping applied, and also including any delimiters produced by the `style` and `explode` configuration.
12401240

1241-
In cases where the name is an inherent part of constructing the serialization, such as the `name=value` pairs produced by `style: "form"` or the combination of `style: "simple", explode: true`, the name and any delimiter between the name and value MUST be included.
1241+
In cases where the parameter name is an inherent part of constructing the serialization, such as the `name=value` pairs produced by the combination of `style: "form", explode: false`, the name and any delimiter between the name and value MUST be included.
12421242

12431243
The `matrix` and `label` styles produce a leading delimiter which is always a valid part of the serialization and MUST be included.
12441244
The RFC6570 operators corresponding to `style: "form"` produce a leading delimiter of either `?` or `&` depending on the exact syntax used.

0 commit comments

Comments
 (0)