Skip to content

fix(openapi): skip uri variables absent from the path - #8915

Merged
soyuka merged 1 commit into
api-platform:5.0from
soyuka:fix/openapi-absent-uri-variables
Dec 1, 2026
Merged

soyuka merged 1 commit into
api-platform:5.0from
soyuka:fix/openapi-absent-uri-variables

Conversation

@soyuka

@soyuka soyuka commented Dec 1, 2026

Copy link
Copy Markdown
Member
Q A
Branch? 5.0
Tickets ~
License MIT
Doc PR ~

An operation can declare uri variables that are not in its path, for example a link resolved from the request. OpenAPI listed them as path parameters anyway, which makes the document invalid. They are now skipped.

Extracted from #8868.

@soyuka
soyuka merged commit 2bde0f6 into api-platform:5.0 Dec 1, 2026
114 of 117 checks passed
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