From d5c847d2631f0c408e34e9b21f24cd602de9beda 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 c22ab84cf0..135e14ff52 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.2#fixed-fields-10 + $comment: | + The `content` object is a property of: + Parameter Object: https://spec.openapis.org/oas/v3.2#parameter-object + Request Body Object: https://spec.openapis.org/oas/v3.2#request-body-object + Response Object: https://spec.openapis.org/oas/v3.2#response-object + Header Object: https://spec.openapis.org/oas/v3.2#header-object type: object additionalProperties: $ref: '#/$defs/media-type-or-reference'