Skip to content
This repository was archived by the owner on May 30, 2022. It is now read-only.

Commit 09c7483

Browse files
authored
Merge pull request OAI#999 from ePaul/patch-2
Typo: plain/text → text/plain
2 parents 6f24bb1 + dce7854 commit 09c7483

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versions/3.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1472,7 +1472,7 @@ A single encoding definition applied to a single schema property.
14721472
##### Fixed Fields
14731473
Field Name | Type | Description
14741474
---|:---:|---
1475-
<a name="encodingContentType"></a>contentType | `string` | The Content-Type to use for encoding a specific property. Default value depends on the property type: for `string` with `format` being `binary` - `application/octet-stream`; for other primitive types - `plain/text`; for `object` - `application/json`; for `array` - the default is defined based on the inner type.
1475+
<a name="encodingContentType"></a>contentType | `string` | The Content-Type to use for encoding a specific property. Default value depends on the property type: for `string` with `format` being `binary` `application/octet-stream`; for other primitive types – `text/plain`; for `object` - `application/json`; for `array` the default is defined based on the inner type.
14761476
<a name="encodingHeaders"></a>headers | `object` | A string map allowing additional information to be provided as headers, for example `Content-Disposition`. Note `Content-Type` is described separately and will be ignored from this section.
14771477
<a name="encodingStyle"></a>style | `string` | The Content-Type to use for encoding a specific property. See [Parameter Object](#parameterObject) for details on the [`style`](#parameterStyle) property. The behavior follows the same values allowed for `query` parameters, including default values.
14781478
<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`.

0 commit comments

Comments
 (0)