I think enums can be defined only as object literals.
Checkout this example it seems to explain quite well with an example.
https://community.smartbear.com/t5/Swagger-Open-Source-Tools/Enum-of-defined-objects/m-p/198117/highlight/true#M988
I think enums can be defined only as object literals.
Checkout this example it seems to explain quite well with an example.
https://community.smartbear.com/t5/Swagger-Open-Source-Tools/Enum-of-defined-objects/m-p/198117/highlight/true#M988