aio-libs / aio-libs/aiohttp-apischema

Fix duplicate operationId

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.