feat: adjust fiber route generation

This commit is contained in:
Rogee
2024-12-23 15:58:17 +08:00
parent 9d1fcdd88b
commit 319b59ce72
44 changed files with 18105 additions and 70 deletions

14
pkg/swag/enums.go Normal file
View File

@@ -0,0 +1,14 @@
package swag
const (
enumVarNamesExtension = "x-enum-varnames"
enumCommentsExtension = "x-enum-comments"
enumDescriptionsExtension = "x-enum-descriptions"
)
// EnumValue a model to record an enum consts variable
type EnumValue struct {
key string
Value interface{}
Comment string
}