Skip to content

Commit b76bf4c

Browse files
committed
Fix broken table, type, in Encoding Object
Broke some things while updating for "content*"
1 parent 875ab1e commit b76bf4c

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

versions/3.1.0.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1594,13 +1594,7 @@ A single encoding definition applied to a single schema property.
15941594
##### Fixed Fields
15951595
Field Name | Type | Description
15961596
---|:---:|---
1597-
<a name="encodingContentType"></a>contentType | `string` | The Content-Type for encoding a specific property. Default value depends on the property type:
1598-
1599-
* for `type` with a `contentMediaType`, the default value is the value from `contentMediaType`
1600-
* for other primitive types – `text/plain`; for `object` - `application/json`
1601-
* for `array` – the default is defined based on the inner type. The value can be a specific media type (e.g. `application/json`), a wildcard media type (e.g. `image/*`), or a comma-separated list of the two types
1602-
* **Deprecated:** for `string` with `format` being `binary` – `application/octet-stream`
1603-
1597+
<a name="encodingContentType"></a>contentType | `string` | The Content-Type for encoding a specific property. Default value depends on the property type: for `string` with a `contentMediaType` - `contentMediaType`; for other primitive types – `text/plain`; for `object` - `application/json`; for `array` – the default is defined based on the inner type. The value can be a specific media type (e.g. `application/json`), a wildcard media type (e.g. `image/*`), or a comma-separated list of the two types; **Deprecated:** for `string` with `format` being `binary` – `application/octet-stream`.
16041598
<a name="encodingHeaders"></a>headers | Map[`string`, [Header Object](#headerObject) \| [Reference Object](#referenceObject)] | A map allowing additional information to be provided as headers, for example `Content-Disposition`. `Content-Type` is described separately and SHALL be ignored in this section. This property SHALL be ignored if the request body media type is not a `multipart`.
16051599
<a name="encodingStyle"></a>style | `string` | Describes how a specific property value will be serialized depending on its type. See [Parameter Object](#parameterObject) for details on the [`style`](#parameterStyle) property. The behavior follows the same values as `query` parameters, including default values. This property SHALL be ignored if the request body media type is not `application/x-www-form-urlencoded` or `multipart/form-data`. If a value is explicitly defined, then the value of [`contentType`](#encodingContentType) (implicit or explicit) SHALL be ignored.
16061600
<a name="encodingExplode"></a>explode | `boolean` | When this is true, property values of type `array` or `object` generate separate parameters for each value of the array, or key-value-pair of the map. For other types of properties this property has no effect. When [`style`](#encodingStyle) is `form`, the default value is `true`. For all other styles, the default value is `false`. This property SHALL be ignored if the request body media type is not `application/x-www-form-urlencoded` or `multipart/form-data`. If a value is explicitly defined, then the value of [`contentType`](#encodingContentType) (implicit or explicit) SHALL be ignored.

0 commit comments

Comments
 (0)