瀏覽代碼

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


Loading…
取消
儲存