api-platform / api-platform/core
Group filter on get item operations not exposed in OpenAPI Documentation in A.P. 3.2
未关闭
- 主要语言
- PHP
- 星标
- 2.6k
- 派生
- 980
- 平均合并
- 2 天 4 小时
- 30 天内合并 PR
- 49
描述
With Api Platform 3.2.2 :
The Group Filter works for Get Collection and also for Get Item Operations.
These groups are only exposed in OpenAPI doc for Get Collection ; not for Get Item Collection.
So they are not available in Swagger UI too.
The only worksaround is to rewrite manualy the groups[] parameter in the openapi attribute of each Get Item operations .This requires, among other things, duplicating the enumeration of available groups.
It would be great to be able to generate this documentation automaticaly for Get Item operations in future release.
贡献指南
评估
这个 Issue 还没有评估数据。