Skip to content

Commit 9b7c8cc

Browse files
handrewsjeremyfiel
andcommitted
Apply suggestions from code review
Co-authored-by: Jeremy Fiel <[email protected]>
1 parent 824fdb6 commit 9b7c8cc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/oas.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@ The `itemEncoding` field can also be used with `itemSchema` to support streaming
13511351
The `prefixEncoding` field can be used with any `multipart` content to require a fixed part order.
13521352
This includes `multipart/form-data`, for which the Encoding Object's `headers` field MUST be used to provide the `Content-Disposition` and part name, as no property names exist to provide the names automatically.
13531353

1354-
Prior versions of this specifications advised using the `name` [`Content-Disposition` parameter](https://www.iana.org/assignments/cont-disp/cont-disp.xhtml#cont-disp-2) of the `form-data` [`Content-Disposition` value](https://www.iana.org/assignments/cont-disp/cont-disp.xhtml#cont-disp-1) with `multipart` media types other than `multipart/form-data` in order to work around the limitations of the `encoding` field.
1354+
Prior versions of this specification advised using the `name` [`Content-Disposition` parameter](https://www.iana.org/assignments/cont-disp/cont-disp.xhtml#cont-disp-2) of the `form-data` [`Content-Disposition` value](https://www.iana.org/assignments/cont-disp/cont-disp.xhtml#cont-disp-1) with `multipart` media types other than `multipart/form-data` in order to work around the limitations of the `encoding` field.
13551355
Implementations MAY choose to support this workaround, but as this usage is not common, implementations of non-`form-data` `multipart` media types are unlikely to support it.
13561356

13571357
##### Media Type Examples
@@ -1905,7 +1905,8 @@ multipart/mixed:
19051905
schema:
19061906
prefixItems:
19071907
- # default content type for objects
1908-
# is `application/json`type: object
1908+
# is `application/json`
1909+
type: object
19091910
properties:
19101911
author:
19111912
type: string

0 commit comments

Comments
 (0)