-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
Error Description
Enum types failed to generate correctly
Reproduction Steps
- Clone https://github.com/Wuchieh/swaggo-issus-0927
- go mod tidy
- go generate // Generate documentation files
- go run .
Expected Behavior
At localhost:8080/swagger/v2/frontend/index.html, utils.Lang should appear as an enum type, not a string.
Screenshot
Swaggo Version
v1.16.4 (v1.16.6)
Go Version
go1.25.1 linux/amd64
Desktop Environment (Please provide the following details):
- Operating System: Ubuntu 24.04
- Browser: Chrome
- Version: 140.0.7339.208
Translated with DeepL.com (free version)
Metadata
Metadata
Assignees
Labels
No labels