Skip to content

Commit 1ad2f4f

Browse files
authored
Merge pull request #5313 from notEthan/content-object-schema-comment-33
Correct schema $comment for OAD `content` definition (v3.3)
2 parents 99d0a8e + c09a16d commit 1ad2f4f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

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

0 commit comments

Comments
 (0)