Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operation ¶
type Operation struct {
Tags []string `json:"tags,omitempty" yaml:"tags,omitempty"`
Summary string `json:"summary,omitempty" yaml:"summary,omitempty"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
ExternalDocs *json.RawMessage `json:"externalDocs,omitempty" yaml:"externalDocs,omitempty"`
OperationId string `json:"operationId,omitempty" yaml:"operationId,omitempty"`
RequestBody *RequestBody `json:"requestBody,omitempty" yaml:"requestBody,omitempty"`
Responses map[string]Response `json:"responses" yaml:"responses"`
Callbacks *json.RawMessage `json:"callbacks,omitempty" yaml:"callbacks,omitempty"`
Deprecated bool `json:"deprecated,omitempty" yaml:"deprecated,omitempty"`
Security *json.RawMessage `json:"security,omitempty" yaml:"security,omitempty"`
Servers *json.RawMessage `json:"servers,omitempty" yaml:"servers,omitempty"`
Parameters []parameter.Parameter `json:"parameters,omitempty" yaml:"parameters,omitempty"`
}
type PathOperation ¶
type RequestBody ¶
type Response ¶
type Response struct {
Description string `json:"description" yaml:"description"`
Headers map[string]*json.RawMessage `json:"headers,omitempty" yaml:"headers,omitempty"`
Content map[string]parameter.MediaType `json:"content,omitempty" yaml:"content,omitempty"`
Links map[string]*json.RawMessage `json:"links,omitempty" yaml:"links,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.