You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: enum naming encountered a non-optimally resolvable collision forfields named "type". The same name has been used for multiple choice setsin multiple components. The collision was resolved with "Type982Enum". add an entry to ENUM_NAME_OVERRIDES to fix the naming.
Warning: enum naming encountered a non-optimally resolvable collision forfields named "type". The same name has been used for multiple choice setsin multiple components. The collision was resolved with "Type566Enum". add an entry to ENUM_NAME_OVERRIDES to fix the naming.
and I see next enums on open-api page
The text was updated successfully, but these errors were encountered:
I realized it last week when I was running tests against django 5. drf-spectacular has updated its postprocessing hook in the latest release and this package ships a customized copy of it. I took a quick look at it but couldn't figure out why this is happening, I'll need to spend more time to figure out what's going on.
In any case, thanks for opening the issue, this way it will be clear there is a known issue with drf-spectacular 0.27.0 and the solution is to use 0.26.5 to avoid the warnings (for now).
Warning: enum naming encountered a non-optimally resolvable collision for fields named "type". The same name has been used for multiple choice sets in multiple components. The collision was resolved with "Type982Enum". add an entry to ENUM_NAME_OVERRIDES to fix the naming.
Warning: enum naming encountered a non-optimally resolvable collision for fields named "type". The same name has been used for multiple choice sets in multiple components. The collision was resolved with "Type21bEnum". add an entry to ENUM_NAME_OVERRIDES to fix the naming.
Warning: enum naming encountered a non-optimally resolvable collision for fields named "type". The same name has been used for multiple choice sets in multiple components. The collision was resolved with "Type566Enum". add an entry to ENUM_NAME_OVERRIDES to fix the naming.
Hello! I use
Django==4.2.8
djangorestframework==3.14.0
drf-spectacular==0.27.0
drf-standardized-errors==0.12.6
settings from here
but command
raises error
and I see next enums on open-api page
The text was updated successfully, but these errors were encountered: