Skip to content

Commit 535adac

Browse files
committed
nit pickin yo
1 parent 893dc38 commit 535adac

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

versions/3.0.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1562,7 +1562,9 @@ requestBody:
15621562
# only accept png/jpeg
15631563
contentType: image/png, image/jpeg
15641564
headers:
1565-
x-source: profile
1565+
X-Rate-Limit-Limit:
1566+
description: The number of allowed requests in the current period
1567+
type: integer
15661568
```
15671569

15681570
#### <a name="encodingPropertyObject"></a>Encoding Property Object
@@ -1573,7 +1575,7 @@ A single encoding definition applied to a single schema property.
15731575
Field Name | Type | Description
15741576
---|:---:|---
15751577
<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.
1576-
<a name="encodingHeaders"></a>headers | `map[String, 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.
1578+
<a name="encodingHeaders"></a>headers | Map[`string`, 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.
15771579
<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 allowed for `query` parameters, including default values.
15781580
<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`.
15791581
<a name="encodingAllowReserved"></a>allowReserved | `boolean` | Determines whether the parameter value SHOULD allow reserved characters, as defined by [RFC3986](https://tools.ietf.org/html/rfc3986#section-2.2) `:/?#[]@!$&'()*+,;=` to be included without percent-encoding. The default value is `false`.

0 commit comments

Comments
 (0)