You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/oas.md
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -633,6 +633,7 @@ All objects defined within the Components Object will have no effect on the API
633
633
| <aname="components-links"></a> links | Map[`string`, [Link Object](#link-object)\|[Reference Object](#reference-object)]| An object to hold reusable [Link Objects](#link-object). |
634
634
| <aname="components-callbacks"></a> callbacks | Map[`string`, [Callback Object](#callback-object)\|[Reference Object](#reference-object)]| An object to hold reusable [Callback Objects](#callback-object). |
635
635
| <aname="components-path-items"></a> pathItems | Map[`string`, [Path Item Object](#path-item-object)]| An object to hold reusable [Path Item Objects](#path-item-object). |
636
+
| <aname="components-media-types"></a> mediaTypes | Map[`string`, [Media Type Object](#media-type-object)\|[Reference Object](#reference-object)]| An object to hold reusable [Media Type Objects](#media-type-object). |
636
637
637
638
This object MAY be extended with [Specification Extensions](#specification-extensions).
638
639
@@ -1014,7 +1015,7 @@ For use with `in: "querystring"` and `application/x-www-form-urlencoded`, see [E
1014
1015
1015
1016
| Field Name | Type | Description |
1016
1017
| ---- | :----: | ---- |
1017
-
| <a name="parameter-content"></a>content | Map[`string`, [Media Type Object](#media-type-object)] | A map containing the representations for the parameter. The key is the media type and the value describes it. The map MUST only contain one entry. |
1018
+
| <a name="parameter-content"></a>content | Map[`string`, [Media Type Object](#media-type-object) \| [Reference Object](#reference-object)] | A map containing the representations for the parameter. The key is the media type and the value describes it. The map MUST only contain one entry. |
1018
1019
1019
1020
##### Style Values
1020
1021
@@ -1204,7 +1205,7 @@ Describes a single request body.
1204
1205
| Field Name | Type | Description |
1205
1206
| ---- | :----: | ---- |
1206
1207
| <a name="request-body-description"></a>description | `string` | A brief description of the request body. This could contain examples of use. [CommonMark syntax](https://spec.commonmark.org/) MAY be used for rich text representation. |
1207
-
| <a name="request-body-content"></a>content | Map[`string`, [Media Type Object](#media-type-object)] | **REQUIRED**. The content of the request body. The key is a media type or [media type range](https://www.rfc-editor.org/rfc/rfc9110.html#appendix-A) and the value describes it. The map SHOULD have at least one entry; if it does not, the behavior is implementation-defined. For requests that match multiple keys, only the most specific key is applicable. e.g. `"text/plain"` overrides `"text/*"` |
1208
+
| <a name="request-body-content"></a>content | Map[`string`, [Media Type Object](#media-type-object) \| [Reference Object](#reference-object)] | **REQUIRED**. The content of the request body. The key is a media type or [media type range](https://www.rfc-editor.org/rfc/rfc9110.html#appendix-A) and the value describes it. The map SHOULD have at least one entry; if it does not, the behavior is implementation-defined. For requests that match multiple keys, only the most specific key is applicable. e.g. `"text/plain"` overrides `"text/*"` |
1208
1209
| <a name="request-body-required"></a>required | `boolean` | Determines if the request body is required in the request. Defaults to `false`. |
1209
1210
1210
1211
This object MAY be extended with [Specification Extensions](#specification-extensions).
@@ -1944,7 +1945,7 @@ Describes a single response from an API operation, including design-time, static
1944
1945
| <a name="response-summary"></a>summary | `string` | A short summary of the meaning of the response. |
1945
1946
| <a name="response-description"></a>description | `string` | A description of the response. [CommonMark syntax](https://spec.commonmark.org/) MAY be used for rich text representation. |
1946
1947
| <a name="response-headers"></a>headers | Map[`string`, [Header Object](#header-object) \| [Reference Object](#reference-object)] | Maps a header name to its definition. [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#section-5.1) states header names are case insensitive. If a response header is defined with the name `"Content-Type"`, it SHALL be ignored. |
1947
-
| <a name="response-content"></a>content | Map[`string`, [Media Type Object](#media-type-object)] | A map containing descriptions of potential response payloads. The key is a media type or [media type range](https://www.rfc-editor.org/rfc/rfc9110.html#appendix-A) and the value describes it. For responses that match multiple keys, only the most specific key is applicable. e.g. `"text/plain"` overrides `"text/*"` |
1948
+
| <a name="response-content"></a>content | Map[`string`, [Media Type Object](#media-type-object) \| [Reference Object](#reference-object)] | A map containing descriptions of potential response payloads. The key is a media type or [media type range](https://www.rfc-editor.org/rfc/rfc9110.html#appendix-A) and the value describes it. For responses that match multiple keys, only the most specific key is applicable. e.g. `"text/plain"` overrides `"text/*"` |
1948
1949
| <a name="response-links"></a>links | Map[`string`, [Link Object](#link-object) \| [Reference Object](#reference-object)] | A map of operations links that can be followed from the response. The key of the map is a short name for the link, following the naming constraints of the names for [Component Objects](#components-object). |
1949
1950
1950
1951
This object MAY be extended with [Specification Extensions](#specification-extensions).
@@ -2445,7 +2446,7 @@ Using `content` with a `text/plain` media type is RECOMMENDED for headers where
2445
2446
2446
2447
| Field Name | Type | Description |
2447
2448
| ---- | :----: | ---- |
2448
-
| <aname="header-content"></a>content | Map[`string`, [Media Type Object](#media-type-object)]| A map containing the representations for the header. The key is the media type and the value describes it. The map MUST only contain one entry. |
2449
+
| <aname="header-content"></a>content | Map[`string`, [Media Type Object](#media-type-object)\|[Reference Object](#reference-object)]| A map containing the representations for the header. The key is the media type and the value describes it. The map MUST only contain one entry. |
0 commit comments