From c09a16d4d27d05cb3b09ff5d6deb53fad159bc3e Mon Sep 17 00:00:00 2001 From: Ethan Date: Tue, 14 Apr 2026 14:21:06 -0700 Subject: [PATCH] OAD schema `content` object $comment: this is a property of Parameter, Request Body, Response, Header (not just Request Body) --- src/schemas/validation/schema.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/schemas/validation/schema.yaml b/src/schemas/validation/schema.yaml index a78a3f96ea..0d220af0b9 100644 --- a/src/schemas/validation/schema.yaml +++ b/src/schemas/validation/schema.yaml @@ -566,7 +566,12 @@ $defs: $ref: '#/$defs/request-body' content: - $comment: https://spec.openapis.org/oas/v3.3#fixed-fields-10 + $comment: | + The `content` object is a property of: + Parameter Object: https://spec.openapis.org/oas/v3.3#parameter-object + Request Body Object: https://spec.openapis.org/oas/v3.3#request-body-object + Response Object: https://spec.openapis.org/oas/v3.3#response-object + Header Object: https://spec.openapis.org/oas/v3.3#header-object type: object additionalProperties: $ref: '#/$defs/media-type-or-reference'