Skip to content

feat(openapi): add openapi_use_uri_template for shared routes - #8920

Open
soyuka wants to merge 2 commits into
api-platform:mainfrom
soyuka:feat/openapi-use-uri-template
Open

soyuka wants to merge 2 commits into
api-platform:mainfrom
soyuka:feat/openapi-use-uri-template

Conversation

@soyuka

@soyuka soyuka commented Dec 1, 2026

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

When several operations share one route name, OpenAPI documents them all under that route's path. With extraProperties: ['openapi_use_uri_template' => true] on an operation that has its own uriTemplate, the path comes from the uri template instead.

Includes the 5.0 fix that skips uri variables absent from the path (#8915), which goes away with the next merge-up. Extracted from #8868.

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