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
Copy file name to clipboardExpand all lines: versions/3.0.4.md
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -3792,7 +3792,7 @@ security:
3792
3792
3793
3793
See [Resolving Implicit Connections](#resolving-implicit-connections) for more information.
3794
3794
3795
-
First, our [entry document](#openapi-description-structure) is where parsing begins. It defines the `MySecurity` security scheme to be JWT-based, and it defines a Path Item as a reference to a component in another document:
3795
+
First, the [entry document](#openapi-description-structure) is where parsing begins. It defines the `MySecurity` security scheme to be JWT-based, and it defines a Path Item as a reference to a component in another document:
3796
3796
3797
3797
```HTTP
3798
3798
GET /api/description/openapi HTTP/1.1
@@ -3835,7 +3835,7 @@ paths:
3835
3835
$ref: 'other#/components/pathItems/Foo'
3836
3836
```
3837
3837
3838
-
Next, we have our referenced document, `other`. The fact that we don't use file extensions gives the client the flexibility to choose an acceptable format on a resource-by-resource basis, assuming both representations are available:
3838
+
This entry document references another document, `other`, without using a file extension. This gives the client the flexibility to choose an acceptable format on a resource-by-resource basis, assuming both representations are available:
3839
3839
3840
3840
```HTTP
3841
3841
GET /api/description/other HTTP/1.1
@@ -3988,11 +3988,12 @@ Requiring input as pre-formatted, schema-validated strings also improves round-t
3988
3988
3989
3989
## Appendix C: Using RFC6570-Based Serialization
3990
3990
3991
-
Serialization is defined in terms of [RFC6570](https://www.rfc-editor.org/rfc/rfc6570) URI Templates in two scenarios:
3991
+
Serialization is defined in terms of [RFC6570](https://www.rfc-editor.org/rfc/rfc6570) URI Templates in three scenarios:
3992
3992
3993
3993
| Object | Condition |
3994
3994
| ---- | ---- |
3995
3995
| [Parameter Object](#parameter-object) | When `schema` is present |
3996
+
| [Header Object](#header-object) | When `schema` is present |
3996
3997
| [Encoding Object](#encoding-object) | When encoding for `application/x-www-form-urlencoded` and any of `style`, `explode`, or `allowReserved` are used |
3997
3998
3998
3999
Implementations of this specification MAY use an implementation of RFC6570 to perform variable expansion, however, some caveats apply.
@@ -4032,10 +4033,10 @@ parameters:
4032
4033
type: string
4033
4034
```
4034
4035
4035
-
This example is equivalent to RFC6570's `{?foo*,bar}`, and **_NOT_** `{?foo*}{&bar}`. The latter is problematic because if `foo` is not defined, the result will be an invalid URI.
4036
+
This example is equivalent to RFC6570's `{?foo*,bar}`, and **NOT** `{?foo*}{&bar}`. The latter is problematic because if `foo` is not defined, the result will be an invalid URI.
4036
4037
The `&` prefix operator has no equivalent in the Parameter Object.
4037
4038
4038
-
Note that RFC6570 does not specify behavior for compound values beyond the single level addressed by `explode`. The results of using objects or arrays where no behavior is clearly specified for them is implementation-defined.
4039
+
Note that RFC6570 does not specify behavior for compound values beyond the single level addressed by `explode`. The result of using objects or arrays where no behavior is clearly specified for them is implementation-defined.
4039
4040
4040
4041
### Delimiters in Parameter Values
4041
4042
@@ -4126,6 +4127,7 @@ parameters:
4126
4127
- name: words
4127
4128
in: query
4128
4129
style: spaceDelimited
4130
+
explode: false
4129
4131
schema:
4130
4132
type: array
4131
4133
items:
@@ -4333,7 +4335,7 @@ However, care must be taken to use `form-urlencoded` decoding if `+` represents
4333
4335
4334
4336
### Percent-Encoding and Illegal or Reserved Delimiters
4335
4337
4336
-
The `[`, `]`, `|`, and space characters, which are used as delimiters for the `deepObject`, `pipeDelimited`, and `spaceDelimited` styles, respectively, all MUST be percent-encoded to comply with[[RFC3986]].
4338
+
The `[`, `]`, `|`, and space characters, which are used as delimiters for the `deepObject`, `pipeDelimited`, and `spaceDelimited` styles, respectively, all MUST be percent-encoded to comply with[[RFC3986]].
4337
4339
This requires users to pre-encode the character(s) in some other way in parameter names and values to distinguish them from the delimiter usage when using one of these styles.
4338
4340
4339
4341
The space character is always illegal and encoded in some way by all implementations of all versions of the relevant standards.
0 commit comments