Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contact ¶
type Contact struct {
Name string `json:"name,omitempty"`
Url string `json:"url,omitempty"`
Email string `json:"email,omitempty"`
}
Contact follows the spec from https://swagger.io/specification/#contact-object
type Info ¶
type Info struct {
Title string `json:"title"`
Summary string `json:"summary,omitempty"`
Description string `json:"description,omitempty"`
TermsOfService string `json:"termsOfService,omitempty"`
Contact *Contact `json:"contact,omitempty"`
License *License `json:"license,omitempty"`
Version string `json:"version"`
}
Info follows the spec from https://swagger.io/specification/#info-object
type License ¶
type License struct {
Name string `json:"name"`
Identifier string `json:"identifier,omitempty"`
Url string `json:"url,omitempty"`
}
License follows the spec from https://swagger.io/specification/#license-object
type OpenAPI ¶
type OpenAPI struct {
Openapi string `json:"openapi"`
Info Info `json:"info"`
JsonSchemaDialect string `json:"jsonSchemaDialect,omitempty"`
Servers []Server `json:"servers,omitempty"`
Paths JSON `json:"paths,omitempty"`
Webhooks JSON `json:"webhooks,omitempty"`
Components JSON `json:"components,omitempty"`
Security []JSON `json:"security,omitempty"`
Tags []JSON `json:"tags,omitempty"`
ExternalDocs JSON `json:"externalDocs,omitempty"`
}
OpenAPI follows the spec from https://swagger.io/specification/#openapi-object
Click to show internal directories.
Click to hide internal directories.