Skip to content

Commit ddd42e7

Browse files
handrewsralfhandl
andcommitted
Better word ordering
Co-authored-by: Ralf Handl <[email protected]>
1 parent f25a8f1 commit ddd42e7

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
@@ -1341,7 +1341,7 @@ See [Encoding `multipart` Media Types](#encoding-multipart-media-types) for furt
13411341
Most `multipart` media types, including `multipart/mixed` which defines the underlying rules for parsing all `multipart` types, do not have named parts.
13421342
Data for these media types are modeled as an array, with one item per part, in order.
13431343

1344-
To use the `prefixEncoding` and/or `itemEncoding` fields, either an array `schema` or `itemSchema` MUST be present.
1344+
To use the `prefixEncoding` and/or `itemEncoding` fields, either `itemSchema` or an array `schema` MUST be present.
13451345
These fields are analogous to the `prefixItems` and `items` JSON Schema keywords, with `prefixEncoding` (if present) providing an array of Encoding Objects that are each applied to the value at the same position in the data array, and `itemEncoding` applying its single Encoding Object to all remaining items in the array.
13461346

13471347
The `itemEncoding` field can also be used with `itemSchema` to support streaming `multipart` content.

0 commit comments

Comments
 (0)