Skip to content

Accept OpenAPI 3 JSON array request bodies - #492

Merged
geemus merged 1 commit into
masterfrom
fix-openapi3-array-request-bodies
Oct 17, 2026
Merged

geemus merged 1 commit into
masterfrom
fix-openapi3-array-request-bodies

Conversation

@ydah

@ydah ydah commented Oct 10, 2026

Copy link
Copy Markdown
Member

OpenAPI 3.0.3 explicitly shows an array request body in its Request Body Examples.

Previously, [1,2] was rejected before schema validation. This change accepts JSON arrays declared by the request body schema and validates their items.

@geemus geemus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm, thanks!

@geemus
geemus merged commit 46f3a37 into master Oct 17, 2026
9 checks passed
@geemus
geemus deleted the fix-openapi3-array-request-bodies branch October 17, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants