-
-
Notifications
You must be signed in to change notification settings - Fork 949
Closed
Description
The error:
ApiPlatform\Core\Exception\ResourceClassNotFoundException: Resource not found.
I'm using
"api-platform/core": "v2.0.0-rc.5" and "nelmio/api-doc-bundle": "~2.13.0".
#api_resources.yml
user:
attributes:
filters: ['user.admins_only', 'user.search_filter']
normalization_context: { groups: ['user_read'] }
denormalization_context: { groups: ['user_write'] }
The error has gone after I changed my api_resources.yml so it looks like this:
UserBundle\Entity\User:
attributes:
filters: ['user.admins_only', 'user.search_filter']
Is it bug or a new feature?
polc
Metadata
Metadata
Assignees
Labels
No labels