feat: adjust fiber route generation
This commit is contained in:
14
pkg/swag/enums.go
Normal file
14
pkg/swag/enums.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user