Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SwaggerJson ¶
type SwaggerJson struct { Swagger string `json:"swagger"` Info SwaggerJsonInfo `json:"info"` Schemes []string `json:"schemes"` Consumes []string `json:"consumes"` Produces []string `json:"produces"` Paths map[string]interface{} `json:"paths"` Definitions map[string]interface{} `json:"definitions"` }
swagger.json file struct
func MergeSwaggerJson ¶
func MergeSwaggerJson(path string) (*SwaggerJson, error)
merge swagger.json file to one swagger.json obj
func MergeSwaggerJsonBy ¶
func MergeSwaggerJsonBy(data map[string][]byte) *SwaggerJson
func NewSwaggerJson ¶
func NewSwaggerJson() *SwaggerJson
type SwaggerJsonInfo ¶
Click to show internal directories.
Click to hide internal directories.