Versions in this module Expand all Collapse all v1 v1.2.2 Mar 8, 2018 v1.2.1 Mar 8, 2018 Changes in this version type Parameter + IsArray bool type Response + IsArray bool v1.2.0 Mar 7, 2018 Changes in this version + var APISuite map[string]*APISpecification + var StatusCodes map[int]string + func CamelToKebab(s string) string + func HTTPStatusDescription(status int) string + func JSONMarshalIndent(v interface{}) ([]byte, error) + func LoadSpecifications(specHost string, collapse bool) error + func LoadStatusCodes() + func TitleToKebab(s string) string + type APIGroup struct + Consumes []string + CurrentVersion string + ID string + Info *Info + MethodNavigationByName bool + MethodSortBy []string + Methods []Method + Name string + Produces []string + URL *url.URL + Versions map[string][]Method + type APISet []APIGroup + type APISpecification struct + APIInfo Info + APIVersions map[string]APISet + APIs APISet + DefaultSecurity map[string]Security + ID string + ResourceList map[string]map[string]*Resource + SecurityDefinitions map[string]SecurityScheme + URL string + func (c *APISpecification) GetByID(id string) *APIGroup + func (c *APISpecification) GetByName(name string) *APIGroup + func (c *APISpecification) Load(specLocation string, specHost string) error + type Header struct + CollectionFormat string + CollectionFormatDescription string + Default string + Description string + Enum []string + Name string + Required bool + Type []string + type Info struct + Description string + Title string + type Method struct + APIGroup *APIGroup + BodyParam *Parameter + Consumes []string + DefaultResponse *Response + Description string + FormParams []Parameter + HeaderParams []Parameter + ID string + Method string + Name string + NavigationName string + OperationName string + Path string + PathParams []Parameter + Produces []string + QueryParams []Parameter + Resources []*Resource + Responses map[int]Response + Security map[string]Security + SortKey string + type OAuth2Scheme struct + AuthorizationUrl string + OAuth2Flow string + Scopes map[string]string + TokenUrl string + type Parameter struct + CollectionFormat string + CollectionFormatDescription string + Description string + Enum []string + In string + Name string + Required bool + Resource *Resource + Type []string + type Resource struct + Description string + Enum []string + Example string + ExcludeFromOperations []string + FQNS []string + ID string + Methods map[string]*Method + Properties map[string]*Resource + ReadOnly bool + Required bool + Schema string + Title string + Type []string + type ResourceOrigin int + const MethodResponse + const RequestBody + type Response struct + Description string + Headers []Header + Resource *Resource + StatusDescription string + type Security struct + Scheme *SecurityScheme + Scopes map[string]string + type SecurityScheme struct + Description string + IsApiKey bool + IsBasic bool + IsOAuth2 bool + ParamLocation string + ParamName string + Type string + type SortMethods []Method + func (a SortMethods) Len() int + func (a SortMethods) Less(i, j int) bool + func (a SortMethods) Swap(i, j int) + type Version struct + Methods []Method + Version string