Versions in this module Expand all Collapse all v0 v0.1.0 Sep 29, 2018 Changes in this version + type Header struct + Description string + Ref string + Type string + type Operation struct + Consumes []string + Description string + ExternalDocs *openapi3.ExternalDocs + OperationID string + Parameters Parameters + Produces []string + Responses map[string]*Response + Security *SecurityRequirements + Summary string + Tags []string + type Parameter struct + Description string + Enum []interface{} + ExclusiveMax bool + ExclusiveMin bool + Format string + In string + MaxLength *uint64 + Maximum *float64 + MinLength uint64 + Minimum *float64 + Name string + Pattern string + Ref string + Required bool + Schema *openapi3.SchemaRef + Type string + UniqueItems bool + type Parameters []*Parameter + type PathItem struct + Delete *Operation + Get *Operation + Head *Operation + Options *Operation + Parameters Parameters + Patch *Operation + Post *Operation + Put *Operation + Ref string + func (pathItem *PathItem) GetOperation(method string) *Operation + func (pathItem *PathItem) Operations() map[string]*Operation + func (pathItem *PathItem) SetOperation(method string, operation *Operation) + type Response struct + Description string + Examples map[string]interface{} + Headers map[string]*Header + Ref string + Schema *openapi3.SchemaRef + type SecurityRequirements []map[string][]string + type SecurityScheme struct + AuthorizationURL string + Description string + Flow string + In string + Name string + Ref string + Scopes []string + Tags openapi3.Tags + TokenURL string + Type string + type Swagger struct + BasePath string + Definitions map[string]*openapi3.SchemaRef + ExternalDocs *openapi3.ExternalDocs + Host string + Info openapi3.Info + Parameters map[string]*Parameter + Paths map[string]*PathItem + Responses map[string]*Response + Schemes []string + Security SecurityRequirements + SecurityDefinitions map[string]*SecurityScheme + Tags openapi3.Tags + func (swagger *Swagger) AddOperation(path string, method string, operation *Operation)