php-api-wrapper icon indicating copy to clipboard operation
php-api-wrapper copied to clipboard

[ApiPlatform] Add filters to OpenAPI Documentation

Open TZK- opened this issue 5 years ago • 0 comments

In API Platform, we can use ApiFilters annotations to filters resources by passing GET parameters. By adding these annotations, it also add interesting documentation into the OpenAPI resource definition.

The php-api-wrapper provides such feature with allowedFilter attribute in the Cristal\ApiWrapper\Bridges\Symfony\Mapping annotation but it does not add extra data to the OpenAPI documentation.

TZK- avatar Apr 08 '20 17:04 TZK-