Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/schemas/validation/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,11 @@ $defs:
$ref: '#/$defs/request-body'

content:
$comment: https://spec.openapis.org/oas/v3.2#fixed-fields-10
$comment: |
Parameter Object: https://spec.openapis.org/oas/v3.2#fixed-fields-9
Request Body Object: https://spec.openapis.org/oas/v3.2#fixed-fields-10
Response Object: https://spec.openapis.org/oas/v3.2#fixed-fields-14
Header Object: https://spec.openapis.org/oas/v3.2#fixed-fields-17
Comment on lines +569 to +573
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not link to the corresponding "Xxx Object" sections instead of the "Fixed Fields" subsections? Those are "close enough", especially for Parameter/Header Object where content is way down in the "Fixed Fields for use with content" subsection.

type: object
additionalProperties:
$ref: '#/$defs/media-type-or-reference'
Expand Down
Loading