aio-libs / aio-libs/aiohttp-apischema
Fix duplicate operationId
Open
- Dominant language
- Python
- Stars
- 12
- Forks
- 4
- Avg merge
- 4m
- Merged PRs (30d)
- 2
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.