Versions in this module Expand all Collapse all v0 v0.0.1 Apr 1, 2021 Changes in this version + var LowerCaseKeys = strings.ToLower + func MatchAll(_ string) bool + func MatchExtension(key string) bool + func MatchNonEmptyKeys(key string) bool + func NOPNormalizer(s string) string + type Callback struct + func NewCallback() Callback + func (s *Callback) ForEach(fn func(string, *PathItem) error) error + func (s *Callback) Get(key string) *PathItem + func (s *Callback) GetOK(key string) (*PathItem, bool) + func (s *Callback) Keys() []string + func (s *Callback) Set(key string, val *PathItem) bool + type Components struct + Callbacks OrderedCallbacks + Examples OrderedExamples + Headers OrderedHeaders + Links OrderedLinks + Parameters OrderedParameters + RequestBodies OrderedRequestBodies + Responses OrderedResponses + Schemas OrderedSchemas + SecuritySchemes OrderedSecuritySchemes + type Contact struct + Email string + Name string + URL string + func (v *Contact) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Contact) UnmarshalJSON(data []byte) error + func (v Contact) MarshalEasyJSON(w *jwriter.Writer) + func (v Contact) MarshalJSON() ([]byte, error) + type Discriminator struct + Mapping OrderedStrings + PropertyName string + type Encoding struct + AllowReserved bool + ContentType string + Explode bool + Headers OrderedHeaders + Style string + type Example struct + Description string + ExternalValue string + Summary string + Value interface{} + type Extensions struct + func (e *Extensions) UnmarshalEasyJSON(l *jlexer.Lexer) + func (e *Extensions) UnmarshalJSON(data []byte) error + func (e Extensions) Add(key string, value interface{}) + func (e Extensions) Get(key string) interface{} + func (e Extensions) GetBool(key string) (bool, bool) + func (e Extensions) GetInt(key string) (int, bool) + func (e Extensions) GetInt32(key string) (int32, bool) + func (e Extensions) GetInt64(key string) (int64, bool) + func (e Extensions) GetOK(key string) (interface{}, bool) + func (e Extensions) GetString(key string) (string, bool) + func (e Extensions) GetStringSlice(key string) ([]string, bool) + func (e Extensions) MarshalEasyJSON(w *jwriter.Writer) + func (e Extensions) MarshalJSON() ([]byte, error) + func (e Extensions) Set(key string, value interface{}) bool + type ExternalDocumentation struct + Description string + URL string + func (v *ExternalDocumentation) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ExternalDocumentation) UnmarshalJSON(data []byte) error + func (v ExternalDocumentation) MarshalEasyJSON(w *jwriter.Writer) + func (v ExternalDocumentation) MarshalJSON() ([]byte, error) + type Filter func(string) bool + type Header struct + type Info struct + Contact *Contact + Description string + License *License + TermsOfService string + Title string + Version string + func (v *Info) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Info) UnmarshalJSON(data []byte) error + func (v Info) MarshalEasyJSON(w *jwriter.Writer) + func (v Info) MarshalJSON() ([]byte, error) + type License struct + Name string + URL string + func (v *License) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *License) UnmarshalJSON(data []byte) error + func (v License) MarshalEasyJSON(w *jwriter.Writer) + func (v License) MarshalJSON() ([]byte, error) + type Link struct + Description string + OperationID string + OperationRef string + Parameters map[string]interface{} + RequestBody interface{} + Server Server + type MapEntry struct + Key string + Value interface{} + type MediaType struct + Encoding OrderedEncodings + Example interface{} + Examples OrderedExamples + Schema Schema + type Normalizer func(string) string + type OAuthFlow struct + AuthorizationURL string + RefreshURL string + Scopes OrderedStrings + TokenURL string + type OAuthFlows struct + AuthorizationCode OAuthFlow + ClientCredentials OAuthFlow + Implicit OAuthFlow + Password OAuthFlow + type OpenAPI struct + Components *Components + ExternalDocs []ExternalDocumentation + Info *Info + OpenAPI string + Paths *PathItem + Security []SecurityRequirement + Servers []Server + Tags []Tag + type Operation struct + Callbacks map[string]Callback + Deprecated bool + Description string + ExternalDocs ExternalDocumentation + OperationID string + Parameters []Parameter + RequestBody RequestBody + Responses OrderedResponses + Security []SecurityRequirement + Servers []Server + Summary string + Tags []string + type OrderedCallbacks struct + func NewOrderedCallbacks() OrderedCallbacks + func (s *OrderedCallbacks) ForEach(fn func(string, *Callback) error) error + func (s *OrderedCallbacks) Get(key string) *Callback + func (s *OrderedCallbacks) GetOK(key string) (*Callback, bool) + func (s *OrderedCallbacks) Keys() []string + func (s *OrderedCallbacks) Set(key string, val *Callback) bool + type OrderedEncodings struct + func NewOrderedEncodings() OrderedEncodings + func (s *OrderedEncodings) ForEach(fn func(string, *Encoding) error) error + func (s *OrderedEncodings) Get(key string) *Encoding + func (s *OrderedEncodings) GetOK(key string) (*Encoding, bool) + func (s *OrderedEncodings) Keys() []string + func (s *OrderedEncodings) Set(key string, val *Encoding) bool + type OrderedExamples struct + func NewOrderedExamples() OrderedExamples + func (s *OrderedExamples) ForEach(fn func(string, *Example) error) error + func (s *OrderedExamples) Get(key string) *Example + func (s *OrderedExamples) GetOK(key string) (*Example, bool) + func (s *OrderedExamples) Keys() []string + func (s *OrderedExamples) Set(key string, val *Example) bool + type OrderedHeaders struct + func NewOrderedHeaders() OrderedHeaders + func (s *OrderedHeaders) ForEach(fn func(string, *Header) error) error + func (s *OrderedHeaders) Get(key string) *Header + func (s *OrderedHeaders) GetOK(key string) (*Header, bool) + func (s *OrderedHeaders) Keys() []string + func (s *OrderedHeaders) Set(key string, val *Header) bool + type OrderedLinks struct + func NewOrderedLinks() OrderedLinks + func (s *OrderedLinks) ForEach(fn func(string, *Link) error) error + func (s *OrderedLinks) Get(key string) *Link + func (s *OrderedLinks) GetOK(key string) (*Link, bool) + func (s *OrderedLinks) Keys() []string + func (s *OrderedLinks) Set(key string, val *Link) bool + type OrderedMap struct + func (s *OrderedMap) Delete(k string) bool + func (s *OrderedMap) Entries() []MapEntry + func (s *OrderedMap) ForEach(fn func(string, interface{}) error) error + func (s *OrderedMap) Get(key string) interface{} + func (s *OrderedMap) GetOK(key string) (interface{}, bool) + func (s *OrderedMap) Keys() []string + func (s *OrderedMap) Len() int + func (s *OrderedMap) Set(key string, value interface{}) bool + func (s *OrderedMap) UnmarshalEasyJSON(l *jlexer.Lexer) + func (s *OrderedMap) UnmarshalJSON(data []byte) error + func (s *OrderedMap) Values() []interface{} + func (s OrderedMap) MarshalEasyJSON(w *jwriter.Writer) + func (s OrderedMap) MarshalJSON() ([]byte, error) + func (s OrderedMap) String() string + type OrderedMediaTypes struct + func NewOrderedMediaTypes() OrderedMediaTypes + func (s *OrderedMediaTypes) ForEach(fn func(string, *MediaType) error) error + func (s *OrderedMediaTypes) Get(key string) *MediaType + func (s *OrderedMediaTypes) GetOK(key string) (*MediaType, bool) + func (s *OrderedMediaTypes) Keys() []string + func (s *OrderedMediaTypes) Set(key string, val *MediaType) bool + type OrderedParameters struct + func NewOrderedParameters() OrderedParameters + func (s *OrderedParameters) ForEach(fn func(string, *Parameter) error) error + func (s *OrderedParameters) Get(key string) *Parameter + func (s *OrderedParameters) GetOK(key string) (*Parameter, bool) + func (s *OrderedParameters) Keys() []string + func (s *OrderedParameters) Set(key string, val *Parameter) bool + type OrderedRequestBodies struct + func NewOrderedRequestBodies() OrderedRequestBodies + func (s *OrderedRequestBodies) ForEach(fn func(string, *RequestBody) error) error + func (s *OrderedRequestBodies) Get(key string) *RequestBody + func (s *OrderedRequestBodies) GetOK(key string) (*RequestBody, bool) + func (s *OrderedRequestBodies) Keys() []string + func (s *OrderedRequestBodies) Set(key string, val *RequestBody) bool + type OrderedResponses struct + func NewOrderedResponses() OrderedResponses + func (s *OrderedResponses) ForEach(fn func(string, *Response) error) error + func (s *OrderedResponses) Get(key string) *Response + func (s *OrderedResponses) GetOK(key string) (*Response, bool) + func (s *OrderedResponses) Keys() []string + func (s *OrderedResponses) Set(key string, val *Response) bool + func (s *OrderedResponses) UnmarshalEasyJSON(l *jlexer.Lexer) + func (s *OrderedResponses) UnmarshalJSON(data []byte) error + func (s OrderedResponses) MarshalEasyJSON(w *jwriter.Writer) + func (s OrderedResponses) MarshalJSON() ([]byte, error) + type OrderedSchemas struct + func NewOrderedSchemas() OrderedSchemas + func (s *OrderedSchemas) ForEach(fn func(string, *Schema) error) error + func (s *OrderedSchemas) Get(key string) *Schema + func (s *OrderedSchemas) GetOK(key string) (*Schema, bool) + func (s *OrderedSchemas) Keys() []string + func (s *OrderedSchemas) Set(key string, val *Schema) bool + type OrderedSecuritySchemes struct + func NewOrderedSecuritySchemes() OrderedSecuritySchemes + func (s *OrderedSecuritySchemes) ForEach(fn func(string, *SecurityScheme) error) error + func (s *OrderedSecuritySchemes) Get(key string) *SecurityScheme + func (s *OrderedSecuritySchemes) GetOK(key string) (*SecurityScheme, bool) + func (s *OrderedSecuritySchemes) Keys() []string + func (s *OrderedSecuritySchemes) Set(key string, val *SecurityScheme) bool + type OrderedStrings struct + func NewOrderedStrings() OrderedStrings + func (s *OrderedStrings) ForEach(fn func(string, *string) error) error + func (s *OrderedStrings) Get(key string) *string + func (s *OrderedStrings) GetOK(key string) (*string, bool) + func (s *OrderedStrings) Keys() []string + func (s *OrderedStrings) Set(key string, val *string) bool + type Parameter struct + AllowEmptyValue bool + AllowReserved bool + Contents OrderedMediaTypes + Deprecated bool + Description string + Example interface{} + Examples OrderedExamples + Explode bool + In string + Name string + Required bool + Schema Schema + Style string + type PathItem struct + Delete Operation + Description string + Get Operation + Head Operation + Options Operation + Parameters []Parameter + Patch Operation + Post Operation + Put Operation + Servers []Server + Summary string + Trace Operation + type Paths struct + func (p *Paths) ForEach(fn func(string, []string) error) error + func (p *Paths) Get(path string) *PathItem + func (p *Paths) GetOK(path string) (*PathItem, bool) + func (p *Paths) Keys() []string + func (p *Paths) Set(path string, item *PathItem) bool + func (p *Paths) UnmarshalEasyJSON(l *jlexer.Lexer) + func (p *Paths) UnmarshalJSON(data []byte) error + func (p Paths) MarshalEasyJSON(w *jwriter.Writer) + func (p Paths) MarshalJSON() ([]byte, error) + type Reference struct + Ref jsonreference.Ref + type RequestBody struct + Content string + Description string + Required string + type Response struct + Content OrderedMediaTypes + Description string + Headers OrderedHeaders + Links OrderedLinks + type Schema struct + type SecurityRequirement struct + func (s *SecurityRequirement) ForEach(fn func(string, []string) error) error + func (s *SecurityRequirement) Get(key string) []string + func (s *SecurityRequirement) GetOK(key string) ([]string, bool) + func (s *SecurityRequirement) Keys() []string + func (s *SecurityRequirement) Set(key string, scopes ...string) bool + func (s *SecurityRequirement) UnmarshalEasyJSON(l *jlexer.Lexer) + func (s *SecurityRequirement) UnmarshalJSON(data []byte) error + func (s SecurityRequirement) MarshalEasyJSON(w *jwriter.Writer) + func (s SecurityRequirement) MarshalJSON() ([]byte, error) + type SecurityScheme struct + BearerFormat string + Description string + Flows OAuthFlow + In string + Name string + OpenIDConnectURL string + Scheme string + Type string + type Server struct + Description string + URL string + Variables ServerVariables + func (v *Server) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Server) UnmarshalJSON(data []byte) error + func (v Server) MarshalEasyJSON(w *jwriter.Writer) + func (v Server) MarshalJSON() ([]byte, error) + type ServerVariable struct + Default string + Description string + Enum []string + func (v *ServerVariable) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ServerVariable) UnmarshalJSON(data []byte) error + func (v ServerVariable) MarshalEasyJSON(w *jwriter.Writer) + func (v ServerVariable) MarshalJSON() ([]byte, error) + type ServerVariables struct + func NewServerVariables() ServerVariables + func (s *ServerVariables) ForEach(fn func(string, *ServerVariable) error) error + func (s *ServerVariables) Get(key string) *ServerVariable + func (s *ServerVariables) GetOK(key string) (*ServerVariable, bool) + func (s *ServerVariables) Keys() []string + func (s *ServerVariables) Set(key string, val *ServerVariable) bool + func (v *ServerVariables) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ServerVariables) UnmarshalJSON(data []byte) error + func (v ServerVariables) MarshalEasyJSON(w *jwriter.Writer) + func (v ServerVariables) MarshalJSON() ([]byte, error) + type Tag struct + Description string + ExternalDocs *ExternalDocumentation + Name string + func (v *Tag) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Tag) UnmarshalJSON(data []byte) error + func (v Tag) MarshalEasyJSON(w *jwriter.Writer) + func (v Tag) MarshalJSON() ([]byte, error) + type VendorExtensible struct + Extensions Extensions + func (v *VendorExtensible) AddExtension(key string, value interface{}) + func (v *VendorExtensible) UnmarshalJSON(data []byte) error + func (v VendorExtensible) MarshalJSON() ([]byte, error) + type XML struct + Attribute bool + Name string + Namespace string + Prefix string + Wrapped bool