ソースを参照

filter

master
Daniel 1年前
コミット
d787c5050e
3個のファイルの変更444行の追加144行の削除
  1. +1
    -1
      export/openapi.json
  2. +442
    -142
      export/openapi.yaml
  3. +1
    -1
      src/ApiResource/UserProductApi.php

+ 1
- 1
export/openapi.json
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 442
- 142
export/openapi.yaml
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 1
- 1
src/ApiResource/UserProductApi.php ファイルの表示

@@ -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)]


読み込み中…
キャンセル
保存