Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subresource Identifier #2676

Open
AliKHODR opened this issue Mar 28, 2024 · 0 comments
Open

Subresource Identifier #2676

AliKHODR opened this issue Mar 28, 2024 · 0 comments

Comments

@AliKHODR
Copy link

API Platform version(s) affected: 3.2.15

Description
OpenApiFactory shows resource identifier instead of subresource identifier defined in uriVariables. It seems to be a regression of this PR: api-platform/core#6155

How to reproduce
Upgrade Api-Platform version from 3.2.14 to 3.2.16

Additional Context
#[ApiResource(
uriTemplate: '/companies/{companyId}/employees',
uriVariables: [
'companyId' => new Link(fromClass: Company::class),
],
operations: [new GetCollection()]
)]

api-platform 3.2.14
Capture d’écran du 2024-03-28 14-03-52

api-platform 3.2.15
Capture d’écran du 2024-03-28 14-11-19

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

No branches or pull requests

1 participant