Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APISpec ¶
type APISpec struct {
Title string
Description string
Version string
Servers []Server
Resources []Resource
SecurityDefs []SecurityDef
}
APISpec is the unified internal model for both OpenAPI 3.x and Swagger 2.0 specs.
type Operation ¶
type Operation struct {
ID string
Summary string
Description string
Method string
Path string
Parameters []Parameter
RequestBody *RequestBody
Security []SecurityRequirement
}
type RequestBody ¶
type SecurityDef ¶
type SecurityRequirement ¶
Click to show internal directories.
Click to hide internal directories.