-
-
Notifications
You must be signed in to change notification settings - Fork 945
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
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
api-platform 3.2.15
The text was updated successfully, but these errors were encountered: