You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -519,9 +519,12 @@ Path templating refers to the usage of template expressions, delimited by curly
519
519
Each template expression in the path MUST correspond to a path parameter that is included in the [Path Item](#path-item-object) itself and/or in each of the Path Item's [Operations](#operation-object). An exception is if the path item is empty, for example due to ACL constraints, matching path parameters are not required.
520
520
521
521
The value for these path parameters MUST NOT contain any unescaped "generic syntax" characters described by [RFC3986](https://tools.ietf.org/html/rfc3986#section-3): forward slashes (`/`), question marks (`?`), or hashes (`#`).
522
+
This means that when matching templates to request URLs, no values that include a forward slash are matched.
523
+
For example, the template `/foo/{bar}` cannot match the URI path "/foo/alpha/beta" because the value of the template variable "bar" would have to be "alpha/beta".
524
+
522
525
See [URL Percent-Encoding](#url-percent-encoding) for additional guidance on escaping characters.
523
526
524
-
The path templating is defined by the following [ABNF](https://tools.ietf.org/html/rfc5234) syntax
527
+
The path templating is defined by the following [ABNF](https://tools.ietf.org/html/rfc5234) syntax:
@@ -882,7 +885,7 @@ The rules in this section apply to both the Parameter and [Header](#header-objec
882
885
883
886
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.
884
887
885
-
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.
886
889
887
890
The `matrix` and `label` styles produce a leading delimiter which is always a valid part of the serialization and MUST be included.
888
891
The RFC6570 operators corresponding to `style: "form"` produce a leading delimiter of either `?` or `&` depending on the exact syntax used.
@@ -898,12 +901,13 @@ See the [Header Object](#header-object) for special rules for showing examples o
898
901
Assume a parameter named `color` has one of the following values, where the value to the right of the `->` is what would be shown in the `dataValue` field of an Example Object:
899
902
900
903
```js
904
+
undefined -> null
901
905
string -> "blue"
902
906
array -> ["blue", "black", "brown"]
903
907
object -> { "R": 100, "G": 200, "B": 150 }
904
908
```
905
909
906
-
The following table shows serialized examples, as would be shown with the `serializedValue` field of an Example Object, of the different serializations for each value.
910
+
The following table shows serialized examples, as would be shown with the `serializedValue` field of an Example Object, of the different serializations for the value of each supported type.
907
911
908
912
* The value _empty_ denotes the empty string, and is unrelated to the `allowEmptyValue` field.
909
913
* The behavior of combinations marked _n/a_ is undefined.
@@ -913,10 +917,10 @@ The following table shows serialized examples, as would be shown with the `seria
0 commit comments