Skip to content

Commit b7a2d9f

Browse files
committed
fixes OAI#3538
1 parent bab4f12 commit b7a2d9f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Diff for: src/oas.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2008,7 +2008,7 @@ Describes a single response from an API operation, including design-time, static
20082008

20092009
| Field Name | Type | Description |
20102010
| ---- | :----: | ---- |
2011-
| <a name="response-description"></a>description | `string` | **REQUIRED**. A description of the response. [CommonMark syntax](https://spec.commonmark.org/) MAY be used for rich text representation. |
2011+
| <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. |
20122012
| <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. |
20132013
| <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/*"` |
20142014
| <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). |

Diff for: src/schemas/validation/schema.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -555,8 +555,6 @@ $defs:
555555
type: object
556556
additionalProperties:
557557
$ref: '#/$defs/link-or-reference'
558-
required:
559-
- description
560558
$ref: '#/$defs/specification-extensions'
561559
unevaluatedProperties: false
562560

0 commit comments

Comments
 (0)