Skip to content

Accept serialized array and object path parameters - #491

Open
ydah wants to merge 1 commit into
masterfrom
fix-serialized-path-parameters
Open

ydah wants to merge 1 commit into
masterfrom
fix-serialized-path-parameters

Conversation

@ydah

@ydah ydah commented Oct 10, 2026

Copy link
Copy Markdown
Member

OpenAPI 3 path arrays and objects serialized with simple, label, or matrix style are validated while still strings. For example, /paths/1,2 is rejected as a String instead of being validated as [1,2]. Deserialization happens later, and exploded matrix arrays remain one raw string.

Deserialize path values before passing them to openapi_parser for validation and coercion, including parameters declared on path items. Parse repeated matrix segments such as ;ids=1;ids=2 into separate elements.

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.

1 participant