Versions in this module Expand all Collapse all v1 v1.0.0 Apr 14, 2020 Changes in this version + const BasicAuthHeaderName + const EMAIL + const URL + const UUID + type ParameterType string + const Body + const FormData + const Header + const Path + const Query + func (p ParameterType) String() string + type SecurityType string + const ApiKey + const Basic + func (s SecurityType) String() string + type Spec struct + Spec *spec.Swagger + func NewOpenApiSpecFromFile(path string) (*Spec, error) + func (oas *Spec) Definitions() spec.Definitions + func (oas *Spec) GlobalConsumes() []string + func (oas *Spec) GlobalProduces() []string + func (oas *Spec) GlobalSecurities() []map[string][]string + func (oas *Spec) Info() *spec.InfoProps + func (oas *Spec) MarshalJSON() ([]byte, error) + func (oas *Spec) Parameters() map[string]spec.Parameter + func (oas *Spec) Paths() map[string]spec.PathItem + func (oas *Spec) SecurityScheme(name string) *spec.SecurityScheme + func (oas *Spec) Validate() error