Browse Source

filter

master
Daniel 1 year ago
parent
commit
d787c5050e
3 changed files with 444 additions and 144 deletions
  1. +1
    -1
      export/openapi.json
  2. +442
    -142
      export/openapi.yaml
  3. +1
    -1
      src/ApiResource/UserProductApi.php

+ 1
- 1
export/openapi.json
File diff suppressed because it is too large
View File


+ 442
- 142
export/openapi.yaml
File diff suppressed because it is too large
View File


+ 1
- 1
src/ApiResource/UserProductApi.php View File

@@ -44,7 +44,7 @@ use Symfony\Component\Validator\Constraints\NotBlank;
processor: EntityClassDtoStateProcessor::class,
stateOptions: new Options(entityClass: UserProduct::class),
)]
#[ApiFilter(SearchFilter::class, properties: ['partner' => 'exact', 'product' => 'exact'])]
#[ApiFilter(SearchFilter::class, properties: ['user' => 'exact', 'product' => 'exact'])]
class UserProductApi implements OwnerInterface
{
#[ApiProperty(readable: false, writable: false, identifier: true)]


Loading…
Cancel
Save