Skip to content

Commit 39ef858

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

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

886886
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.
887887

888-
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.
888+
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.
889889

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