mirror of
https://gitee.com/johng/gf
synced 2026-06-06 02:25:47 +08:00
add Sort field for Operation of package goai
This commit is contained in:
@ -20,4 +20,5 @@ type Operation struct {
|
||||
Security *SecurityRequirements `json:"security,omitempty"`
|
||||
Servers *Servers `json:"servers,omitempty"`
|
||||
ExternalDocs *ExternalDocs `json:"externalDocs,omitempty"`
|
||||
Sort int `json:"sort"`
|
||||
}
|
||||
|
||||
@ -32,7 +32,6 @@ type Path struct {
|
||||
Trace *Operation `json:"trace,omitempty"`
|
||||
Servers Servers `json:"servers,omitempty"`
|
||||
Parameters Parameters `json:"parameters,omitempty"`
|
||||
Sort int `json:"sort"`
|
||||
}
|
||||
|
||||
// Paths are specified by OpenAPI/Swagger standard version 3.0.
|
||||
|
||||
Reference in New Issue
Block a user