Skip to content

Commit 98229e0

Browse files
committed
Improved wording
1 parent f2879df commit 98229e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/oas.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1759,7 +1759,7 @@ To upload multiple files, a `multipart` media type MUST be used as shown under [
17591759

17601760
#### Encoding Object
17611761

1762-
A single encoding definition applied to a single value, as defined under [Encoding Usage and Restrictions](#encoding-usage-and-restrictions).
1762+
A single encoding definition applied to a single value, with the mapping of Encoding Objects to values determined by the [Media Type Object](@media-type-object) as described under [Encoding Usage and Restrictions](#encoding-usage-and-restrictions).
17631763

17641764
See [Appendix B](#appendix-b-data-type-conversion) for a discussion of converting values of various types to string representations.
17651765

@@ -1780,6 +1780,7 @@ This object MAY be extended with [Specification Extensions](#specification-exten
17801780

17811781
The default values for `contentType` are as follows, where an _n/a_ in the `contentEncoding` column means that the presence or value of `contentEncoding` is irrelevant.
17821782
This table is based on the value to which the Encoding Object is being applied, which as defined under [Encoding Usage and Restrictions](#encoding-usage-and-restrictions) is the array item for properties of type `"array"`, and the entire value for all other types.
1783+
Therefore the `array` row in this table applies only to array values inside of a top-level array.
17831784

17841785
| `type` | `contentEncoding` | Default `contentType` |
17851786
| ---- | ---- | ---- |

0 commit comments

Comments
 (0)