Skip to content

fix(openapi): uri variable default description#7884

Merged
soyuka merged 1 commit intoapi-platform:4.3from
VincentLanglet:fixLink
Mar 25, 2026
Merged

fix(openapi): uri variable default description#7884
soyuka merged 1 commit intoapi-platform:4.3from
VincentLanglet:fixLink

Conversation

@VincentLanglet
Copy link
Contributor

Q A
Branch? main for features / current stable version branch for bug fixes
Tickets Closes #..., closes #...
License MIT
Doc PR api-platform/docs#...

Given the route

new GetCollection(
            uriTemplate: '/workspaces/{workspaceUuid}/invitations',
            uriVariables: [
                'workspaceUuid' => new Link(toProperty: 'workspace', fromClass: Workspace::class),
            ],

The default generated description of the uriVariable description is Invitation identifier while it should be Workspace identifier.

@VincentLanglet VincentLanglet marked this pull request as ready for review March 25, 2026 18:14
@VincentLanglet VincentLanglet requested a review from soyuka March 25, 2026 18:14
@soyuka soyuka merged commit 892c1c7 into api-platform:4.3 Mar 25, 2026
151 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.

2 participants