mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 12:40:55 +00:00
rename the docsSepc to docs_spec
This commit is contained in:
parent
52083de720
commit
814e4ac031
@ -24,7 +24,7 @@ type ResourceListing struct {
|
||||
SwaggerVersion string `json:"swaggerVersion"` // e.g 1.2
|
||||
// BasePath string `json:"basePath"` obsolete in 1.1
|
||||
APIs []APIRef `json:"apis"`
|
||||
Infos Infomation `json:"info"`
|
||||
Info Information `json:"info"`
|
||||
}
|
||||
|
||||
// APIRef description the api path and description
|
||||
@ -33,8 +33,8 @@ type APIRef struct {
|
||||
Description string `json:"description"`
|
||||
}
|
||||
|
||||
// Infomation show the API Infomation
|
||||
type Infomation struct {
|
||||
// Information show the API Information
|
||||
type Information struct {
|
||||
Title string `json:"title,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
Contact string `json:"contact,omitempty"`
|
Loading…
Reference in New Issue
Block a user