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
A const is generated differently by generators such as datamodel-codegen. An enum will be generated to its own type and it is harder to use while a const will remain a simple string.
The text was updated successfully, but these errors were encountered:
The field
message_type
is currently defined as an enum inopenapi.yml
.Example from line 807:
Rather a constant is expected such as:
A
const
is generated differently by generators such as datamodel-codegen. Anenum
will be generated to its own type and it is harder to use while aconst
will remain a simple string.The text was updated successfully, but these errors were encountered: