feat: add swag tool

This commit is contained in:
Rogee
2024-12-25 16:18:41 +08:00
parent 2f2feb35c2
commit 77e36d5aaf
16 changed files with 76 additions and 54 deletions

View File

@@ -136,8 +136,7 @@ func ParseFile(file string) []RouteDefinition {
}
if strings.HasPrefix(line, "@Bind") {
//@Bind name query key() table() model()
//@Bind name query
//@Bind name [uri|query|path|body|header|cookie] [key()] [table()] [model()]
bindParams = append(bindParams, parseRouteBind(line))
}
}