Skip to content

Commit d5c847d

Browse files
committed
OAD schema content object $comment: this is a property of Parameter, Request Body, Response, Header (not just Request Body)
1 parent a04789f commit d5c847d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/schemas/validation/schema.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,12 @@ $defs:
566566
$ref: '#/$defs/request-body'
567567

568568
content:
569-
$comment: https://spec.openapis.org/oas/v3.2#fixed-fields-10
569+
$comment: |
570+
The `content` object is a property of:
571+
Parameter Object: https://spec.openapis.org/oas/v3.2#parameter-object
572+
Request Body Object: https://spec.openapis.org/oas/v3.2#request-body-object
573+
Response Object: https://spec.openapis.org/oas/v3.2#response-object
574+
Header Object: https://spec.openapis.org/oas/v3.2#header-object
570575
type: object
571576
additionalProperties:
572577
$ref: '#/$defs/media-type-or-reference'

0 commit comments

Comments
 (0)