mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
add sort feature for path of openapi
This commit is contained in:
@ -9,7 +9,7 @@ import (
|
||||
)
|
||||
|
||||
type HelloReq struct {
|
||||
g.Meta `path:"/hello" method:"get"`
|
||||
g.Meta `path:"/hello" method:"get" sort:"1"`
|
||||
Name string `v:"required" dc:"Your name"`
|
||||
}
|
||||
type HelloRes struct {
|
||||
|
||||
Reference in New Issue
Block a user