Answer the question
In order to leave comments, you need to log in
How to connect resources from bundles in api-platform?
You need to connect selectively by bundles and configure prefixes and access level.
The problem is that it connected absolutely all resources, including all of the nested bundles
api_platform:
mapping:
paths: ['%kernel.project_dir%/src/Entity']
api_platform:
resource: .
type: api_platform
prefix: /api
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question