Versions in this module Expand all Collapse all v1 v1.3.0 Jul 1, 2019 v1.2.0 Mar 17, 2018 Changes in this version + const Version + var CommonMIMETypes = []string + func Asset(name string) ([]byte, error) + func AssetDir(name string) ([]string, error) + func AssetFS() *assetfs.AssetFS + func AssetInfo(name string) (os.FileInfo, error) + func AssetNames() []string + func CreateProperties(obj interface{}) map[string]*Property + func MustAsset(name string) []byte + func ParamType(value interface{}) string + func RestoreAsset(dir, name string) error + func RestoreAssets(dir, name string) error + func SliceInfo(value interface{}) (subtyp string, first interface{}, count int) + type Contact struct + Email string + type Definition struct + Properties map[string]*Property + Type string + Xml *Xml + type Info struct + ApiVersion string + Contact *Contact + Description string + License *License + TermsOfService string + Title string + type Items struct + Default interface{} + Enum interface{} + Ref string + Type string + type License struct + Name string + Url string + type Opera struct + Consumes []string + Description string + OperationId string + Parameters []*Parameter + Produces []string + Responses map[string]*Resp + Security []map[string][]string + Summary string + Tags []string + type Parameter struct + CollectionFormat string + Default interface{} + Description string + Format string + In string + Items *Items + Name string + Required bool + Schema *Schema + Type string + type Property struct + Default interface{} + Description string + Enum []string + Example interface{} + Format string + Type string + type Resp struct + Description string + Schema *Schema + type Schema struct + AdditionalProperties map[string]string + Description string + Items *Items + Ref string + Type string + type Swagger struct + BasePath string + Definitions map[string]*Definition + ExternalDocs map[string]string + Host string + Info *Info + Paths map[string]map[string]*Opera + Schemes []string + SecurityDefinitions map[string]map[string]interface{} + Tags []*Tag + Version string + type Tag struct + Description string + Name string + type Xml struct + Name string + Wrapped bool