http-swagger
http-swagger copied to clipboard
Got error "Could not render this component, see the console" when using Enums(A, B, C)
Describe the bug


Reproduce
Using Enums to declare a dropdown selection
// @Param state query string false "Order state" Enums(A, B, C)
In swagger, It looks like

- Select "A"
- Select "--" -> an error Could not render this component, see the console with emoji appear
Expected behavior
- No error when picking "--"
swag version: v1.6.3 I've tested with v1.7.0 but It's not work as well
This issue is related to swag, please open it here https://github.com/swaggo/swag/issues.