This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Incorrect generation of openapi.json with duplicated name Enum class #2627
Labels
You can continue the conversation there. Go to discussion →
First check
Example
Here's a self-contained, minimal, reproducible, example with my use case:
main.py
router1.py
router2.py
Description
/redoc
.Error resolving $ref pointer "http://127.0.0.1:8000/openapi.json#/components/schemas/DuplicatedEnum". Token "DuplicatedEnum" does not exist.
openapi.json
, it gives wrong parameter schema:Environment
The text was updated successfully, but these errors were encountered: