aio-libs / aio-libs/aiohttp-apischema
Fix duplicate operationId
未關閉
- 主要語言
- Python
- 星號
- 12
- 分支
- 4
- 平均合併
- 4 分鐘
- 30 天內合併 PR
- 2
描述
Currently, operationId is set from the name that is decorated. This means that web.View methods all receive the same ID. This results in every endpoint in that class opening/closing in the swagger UI when any one is clicked, due to them all having the same id attribute.
The same issue could happen if a user utilises the same handler function for multiple paths in the router.
貢獻指南
評估
這個 Issue 還沒有評估資料。