Skip to content

Commit 01bf685

Browse files
remove invalid example
Expansions using "style": "simple", "explode": true do not include the parameter name in the expansion.
1 parent 8b0a706 commit 01bf685

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
@@ -884,7 +884,7 @@ The rules in this section apply to both the Parameter and [Header](#header-objec
884884

885885
When showing serialized examples, such as with the [Example Object's](#example-object) `serializedValue` or `externalValue` fields, 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.
886886

887-
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.
887+
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.
888888

889889
The `matrix` and `label` styles produce a leading delimiter which is always a valid part of the serialization and MUST be included.
890890
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)