Versions in this module Expand all Collapse all v0 v0.0.1 Nov 25, 2021 Changes in this version + type Auth struct + OAuth2Scopes []Scope + func (a *Auth) UnmarshalJSON(data []byte) error + type Document struct + Auth Auth + BasePath string + DocumentationLink string + Features []string + ID string + MTLSRootURL string + Methods MethodList + Name string + Resources ResourceList + RootURL string + Schemas map[string]*Schema + ServicePath string + Title string + Version string + func NewDocument(bytes []byte) (*Document, error) + type Kind int + const AnyStructKind + const ArrayKind + const MapKind + const ReferenceKind + const SimpleKind + const StructKind + type MediaUpload struct + Accept []string + MaxSize string + Protocols map[string]Protocol + type Method struct + Description string + HTTPMethod string + ID string + JSONMap map[string]interface{} + MediaUpload *MediaUpload + Name string + ParameterOrder []string + Parameters ParameterList + Path string + Request *Schema + Response *Schema + Scopes []string + SupportsMediaDownload bool + func (m *Method) UnmarshalJSON(data []byte) error + type MethodList []*Method + func (ml *MethodList) UnmarshalJSON(data []byte) error + type Parameter struct + Location string + Name string + Repeated bool + Required bool + type ParameterList []*Parameter + func (pl *ParameterList) UnmarshalJSON(data []byte) error + type Property struct + Name string + Schema *Schema + type PropertyList []*Property + func (pl *PropertyList) UnmarshalJSON(data []byte) error + type Protocol struct + Multipart bool + Path string + type Resource struct + FullName string + Methods MethodList + Name string + Resources ResourceList + type ResourceList []*Resource + func (rl *ResourceList) UnmarshalJSON(data []byte) error + type Schema struct + AdditionalProperties *Schema + Default string + Description string + EnumDescriptions []string + Enums []string + Format string + ID string + ItemSchema *Schema + Kind Kind + Name string + Pattern string + Properties PropertyList + Ref string + RefSchema *Schema + Type string + Variant *Variant + func (s *Schema) ElementSchema() *Schema + func (s *Schema) IsIntAsString() bool + type Scope struct + Description string + ID string + type Variant struct + Discriminant string + Map []*VariantMapItem + type VariantMapItem struct + Ref string + TypeValue string