-
-
Notifications
You must be signed in to change notification settings - Fork 975
Open
Description
Hello, I have an entity called book and I added 2 GetCollection actions.
- the first one is using regular ApiFilters
- the second one is being used for book recommendations that does not need the default filters.
new GetCollection(
normalizationContext: [
'openapi_definition_name' => ModelInterface::LIST,
'groups' => [...Book::GROUP_LIST],
'skip_null_values' => false,
]),
new GetCollection(
uriTemplate: '/book-recommendation',
controller: BookRecommendationAction::class,
normalizationContext: [
'openapi_definition_name' => ModelInterface::LIST,
'groups' => [...Book::GROUP_LIST],
'skip_null_values' => false,
],
security: 'is_granted("ROLE_USER")',
),
Is it possible to remove ApiFilters for the second action?
reynadan
Metadata
Metadata
Assignees
Labels
No labels