Skip to content

Validate sequential JSON bodies as arrays in OpenAPI 3.2 - #522

Merged
geemus merged 1 commit into
masterfrom
fix/sequential-media-types
Nov 23, 2026
Merged

geemus merged 1 commit into
masterfrom
fix/sequential-media-types

Conversation

@ydah

@ydah ydah commented Nov 22, 2026

Copy link
Copy Markdown
Member

Sequential JSON request and response bodies reach schema validation as strings, causing valid OpenAPI 3.2 sequences to fail.

Parse JSONL and NDJSON by newline, and JSON-seq formats including structured suffixes by RS. Validate the resulting ordered array while preserving legacy behavior, custom parsers, and original body bytes.

@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 ac93013 into master Nov 23, 2026
11 checks passed
@geemus
geemus deleted the fix/sequential-media-types branch November 23, 2026 14:42
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