Skip to content

Commit 936f8a5

Browse files
authored
Merge pull request #3919 from handrews/ext-304
Consisent x- Param/Encoding/Header wording (3.0.4)
2 parents d16e7ef + eabf995 commit 936f8a5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

versions/3.0.4.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,8 +1108,6 @@ The rules for serialization of the parameter are specified in one of two ways.
11081108
Parameter Objects MUST include either a `content` field or a `schema` field, but not both.
11091109
See [Appendix B](#dataTypeConversion) for a discussion of converting values of various types to string representations.
11101110

1111-
This object MAY be extended with [Specification Extensions](#specificationExtensions).
1112-
11131111
###### Common Fixed Fields
11141112

11151113
These fields MAY be used with either `content` or `schema`.
@@ -1123,6 +1121,8 @@ Field Name | Type | Description
11231121
<a name="parameterDeprecated"></a> deprecated | `boolean` | Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is `false`.
11241122
<a name="parameterAllowEmptyValue"></a> allowEmptyValue | `boolean` | If `true`, clients MAY pass a zero-length string value in place of parameters that would otherwise be omitted entirely, which the server SHOULD interpret as the parameter being unused. Default value is `false`. If [`style`](#parameterStyle) is used, and if [behavior is _n/a_ (cannot be serialized)](#style-examples), the value of `allowEmptyValue` SHALL be ignored. Interactions between this field and the parameter's [Schema Object](#schemaObject) are implementation-defined. This field is valid only for `query` parameters. Use of this property is NOT RECOMMENDED, and it is likely to be removed in a later revision.
11251123

1124+
This object MAY be extended with [Specification Extensions](#specificationExtensions).
1125+
11261126
Note that while `"Cookie"` as a `name` is not forbidden with `in: header`, the effect of defining a cookie parameter that way is undefined; use `in: cookie` instead.
11271127

11281128
###### Fixed Fields for use with `schema`
@@ -2493,6 +2493,8 @@ Field Name | Type | Description
24932493
<a name="headerRequired"></a>required | `boolean` | Determines whether this header is mandatory. The default value is `false`.
24942494
<a name="headerDeprecated"></a> deprecated | `boolean` | Specifies that the header is deprecated and SHOULD be transitioned out of usage. Default value is `false`.
24952495

2496+
This object MAY be extended with [Specification Extensions](#specificationExtensions).
2497+
24962498
##### Fixed Fields for use with `schema`
24972499

24982500
For simpler scenarios, a [`schema`](#headerSchema) and [`style`](#headerStyle) can describe the structure and syntax of the header.

0 commit comments

Comments
 (0)