Documentation ¶
Overview ¶
Package openapi_v2 is a generated protocol buffer package.
It is generated from these files:
OpenAPIv2/OpenAPIv2.proto
It has these top-level messages:
AdditionalPropertiesItem Any ApiKeySecurity BasicAuthenticationSecurity BodyParameter Contact Default Definitions Document Examples ExternalDocs FileSchema FormDataParameterSubSchema Header HeaderParameterSubSchema Headers Info ItemsItem JsonReference License NamedAny NamedHeader NamedParameter NamedPathItem NamedResponse NamedResponseValue NamedSchema NamedSecurityDefinitionsItem NamedString NamedStringArray NonBodyParameter Oauth2AccessCodeSecurity Oauth2ApplicationSecurity Oauth2ImplicitSecurity Oauth2PasswordSecurity Oauth2Scopes Operation Parameter ParameterDefinitions ParametersItem PathItem PathParameterSubSchema Paths PrimitivesItems Properties QueryParameterSubSchema Response ResponseDefinitions ResponseValue Responses Schema SchemaItem SecurityDefinitions SecurityDefinitionsItem SecurityRequirement StringArray Tag TypeItem VendorExtension Xml
Index ¶
- func Version() string
- type AdditionalPropertiesItem
- func (*AdditionalPropertiesItem) Descriptor() ([]byte, []int)
- func (m *AdditionalPropertiesItem) GetBoolean() bool
- func (m *AdditionalPropertiesItem) GetOneof() isAdditionalPropertiesItem_Oneof
- func (m *AdditionalPropertiesItem) GetSchema() *Schema
- func (*AdditionalPropertiesItem) ProtoMessage()
- func (m *AdditionalPropertiesItem) Reset()
- func (m *AdditionalPropertiesItem) ResolveReferences(root string) (interface{}, error)
- func (m *AdditionalPropertiesItem) String() string
- func (m *AdditionalPropertiesItem) ToRawInfo() interface{}
- func (*AdditionalPropertiesItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type AdditionalPropertiesItem_Boolean
- type AdditionalPropertiesItem_Schema
- type Any
- func (*Any) Descriptor() ([]byte, []int)
- func (m *Any) GetValue() *google_protobuf.Any
- func (m *Any) GetYaml() string
- func (*Any) ProtoMessage()
- func (m *Any) Reset()
- func (m *Any) ResolveReferences(root string) (interface{}, error)
- func (m *Any) String() string
- func (m *Any) ToRawInfo() interface{}
- type ApiKeySecurity
- func (*ApiKeySecurity) Descriptor() ([]byte, []int)
- func (m *ApiKeySecurity) GetDescription() string
- func (m *ApiKeySecurity) GetIn() string
- func (m *ApiKeySecurity) GetName() string
- func (m *ApiKeySecurity) GetType() string
- func (m *ApiKeySecurity) GetVendorExtension() []*NamedAny
- func (*ApiKeySecurity) ProtoMessage()
- func (m *ApiKeySecurity) Reset()
- func (m *ApiKeySecurity) ResolveReferences(root string) (interface{}, error)
- func (m *ApiKeySecurity) String() string
- func (m *ApiKeySecurity) ToRawInfo() interface{}
- type BasicAuthenticationSecurity
- func (*BasicAuthenticationSecurity) Descriptor() ([]byte, []int)
- func (m *BasicAuthenticationSecurity) GetDescription() string
- func (m *BasicAuthenticationSecurity) GetType() string
- func (m *BasicAuthenticationSecurity) GetVendorExtension() []*NamedAny
- func (*BasicAuthenticationSecurity) ProtoMessage()
- func (m *BasicAuthenticationSecurity) Reset()
- func (m *BasicAuthenticationSecurity) ResolveReferences(root string) (interface{}, error)
- func (m *BasicAuthenticationSecurity) String() string
- func (m *BasicAuthenticationSecurity) ToRawInfo() interface{}
- type BodyParameter
- func (*BodyParameter) Descriptor() ([]byte, []int)
- func (m *BodyParameter) GetDescription() string
- func (m *BodyParameter) GetIn() string
- func (m *BodyParameter) GetName() string
- func (m *BodyParameter) GetRequired() bool
- func (m *BodyParameter) GetSchema() *Schema
- func (m *BodyParameter) GetVendorExtension() []*NamedAny
- func (*BodyParameter) ProtoMessage()
- func (m *BodyParameter) Reset()
- func (m *BodyParameter) ResolveReferences(root string) (interface{}, error)
- func (m *BodyParameter) String() string
- func (m *BodyParameter) ToRawInfo() interface{}
- type Contact
- func (*Contact) Descriptor() ([]byte, []int)
- func (m *Contact) GetEmail() string
- func (m *Contact) GetName() string
- func (m *Contact) GetUrl() string
- func (m *Contact) GetVendorExtension() []*NamedAny
- func (*Contact) ProtoMessage()
- func (m *Contact) Reset()
- func (m *Contact) ResolveReferences(root string) (interface{}, error)
- func (m *Contact) String() string
- func (m *Contact) ToRawInfo() interface{}
- type Default
- func (*Default) Descriptor() ([]byte, []int)
- func (m *Default) GetAdditionalProperties() []*NamedAny
- func (*Default) ProtoMessage()
- func (m *Default) Reset()
- func (m *Default) ResolveReferences(root string) (interface{}, error)
- func (m *Default) String() string
- func (m *Default) ToRawInfo() interface{}
- type Definitions
- func (*Definitions) Descriptor() ([]byte, []int)
- func (m *Definitions) GetAdditionalProperties() []*NamedSchema
- func (*Definitions) ProtoMessage()
- func (m *Definitions) Reset()
- func (m *Definitions) ResolveReferences(root string) (interface{}, error)
- func (m *Definitions) String() string
- func (m *Definitions) ToRawInfo() interface{}
- type Document
- func (*Document) Descriptor() ([]byte, []int)
- func (m *Document) GetBasePath() string
- func (m *Document) GetConsumes() []string
- func (m *Document) GetDefinitions() *Definitions
- func (m *Document) GetExternalDocs() *ExternalDocs
- func (m *Document) GetHost() string
- func (m *Document) GetInfo() *Info
- func (m *Document) GetParameters() *ParameterDefinitions
- func (m *Document) GetPaths() *Paths
- func (m *Document) GetProduces() []string
- func (m *Document) GetResponses() *ResponseDefinitions
- func (m *Document) GetSchemes() []string
- func (m *Document) GetSecurity() []*SecurityRequirement
- func (m *Document) GetSecurityDefinitions() *SecurityDefinitions
- func (m *Document) GetSwagger() string
- func (m *Document) GetTags() []*Tag
- func (m *Document) GetVendorExtension() []*NamedAny
- func (*Document) ProtoMessage()
- func (m *Document) Reset()
- func (m *Document) ResolveReferences(root string) (interface{}, error)
- func (m *Document) String() string
- func (m *Document) ToRawInfo() interface{}
- type Examples
- func (*Examples) Descriptor() ([]byte, []int)
- func (m *Examples) GetAdditionalProperties() []*NamedAny
- func (*Examples) ProtoMessage()
- func (m *Examples) Reset()
- func (m *Examples) ResolveReferences(root string) (interface{}, error)
- func (m *Examples) String() string
- func (m *Examples) ToRawInfo() interface{}
- type ExternalDocs
- func (*ExternalDocs) Descriptor() ([]byte, []int)
- func (m *ExternalDocs) GetDescription() string
- func (m *ExternalDocs) GetUrl() string
- func (m *ExternalDocs) GetVendorExtension() []*NamedAny
- func (*ExternalDocs) ProtoMessage()
- func (m *ExternalDocs) Reset()
- func (m *ExternalDocs) ResolveReferences(root string) (interface{}, error)
- func (m *ExternalDocs) String() string
- func (m *ExternalDocs) ToRawInfo() interface{}
- type FileSchema
- func (*FileSchema) Descriptor() ([]byte, []int)
- func (m *FileSchema) GetDefault() *Any
- func (m *FileSchema) GetDescription() string
- func (m *FileSchema) GetExample() *Any
- func (m *FileSchema) GetExternalDocs() *ExternalDocs
- func (m *FileSchema) GetFormat() string
- func (m *FileSchema) GetReadOnly() bool
- func (m *FileSchema) GetRequired() []string
- func (m *FileSchema) GetTitle() string
- func (m *FileSchema) GetType() string
- func (m *FileSchema) GetVendorExtension() []*NamedAny
- func (*FileSchema) ProtoMessage()
- func (m *FileSchema) Reset()
- func (m *FileSchema) ResolveReferences(root string) (interface{}, error)
- func (m *FileSchema) String() string
- func (m *FileSchema) ToRawInfo() interface{}
- type FormDataParameterSubSchema
- func (*FormDataParameterSubSchema) Descriptor() ([]byte, []int)
- func (m *FormDataParameterSubSchema) GetAllowEmptyValue() bool
- func (m *FormDataParameterSubSchema) GetCollectionFormat() string
- func (m *FormDataParameterSubSchema) GetDefault() *Any
- func (m *FormDataParameterSubSchema) GetDescription() string
- func (m *FormDataParameterSubSchema) GetEnum() []*Any
- func (m *FormDataParameterSubSchema) GetExclusiveMaximum() bool
- func (m *FormDataParameterSubSchema) GetExclusiveMinimum() bool
- func (m *FormDataParameterSubSchema) GetFormat() string
- func (m *FormDataParameterSubSchema) GetIn() string
- func (m *FormDataParameterSubSchema) GetItems() *PrimitivesItems
- func (m *FormDataParameterSubSchema) GetMaxItems() int64
- func (m *FormDataParameterSubSchema) GetMaxLength() int64
- func (m *FormDataParameterSubSchema) GetMaximum() float64
- func (m *FormDataParameterSubSchema) GetMinItems() int64
- func (m *FormDataParameterSubSchema) GetMinLength() int64
- func (m *FormDataParameterSubSchema) GetMinimum() float64
- func (m *FormDataParameterSubSchema) GetMultipleOf() float64
- func (m *FormDataParameterSubSchema) GetName() string
- func (m *FormDataParameterSubSchema) GetPattern() string
- func (m *FormDataParameterSubSchema) GetRequired() bool
- func (m *FormDataParameterSubSchema) GetType() string
- func (m *FormDataParameterSubSchema) GetUniqueItems() bool
- func (m *FormDataParameterSubSchema) GetVendorExtension() []*NamedAny
- func (*FormDataParameterSubSchema) ProtoMessage()
- func (m *FormDataParameterSubSchema) Reset()
- func (m *FormDataParameterSubSchema) ResolveReferences(root string) (interface{}, error)
- func (m *FormDataParameterSubSchema) String() string
- func (m *FormDataParameterSubSchema) ToRawInfo() interface{}
- type Header
- func (*Header) Descriptor() ([]byte, []int)
- func (m *Header) GetCollectionFormat() string
- func (m *Header) GetDefault() *Any
- func (m *Header) GetDescription() string
- func (m *Header) GetEnum() []*Any
- func (m *Header) GetExclusiveMaximum() bool
- func (m *Header) GetExclusiveMinimum() bool
- func (m *Header) GetFormat() string
- func (m *Header) GetItems() *PrimitivesItems
- func (m *Header) GetMaxItems() int64
- func (m *Header) GetMaxLength() int64
- func (m *Header) GetMaximum() float64
- func (m *Header) GetMinItems() int64
- func (m *Header) GetMinLength() int64
- func (m *Header) GetMinimum() float64
- func (m *Header) GetMultipleOf() float64
- func (m *Header) GetPattern() string
- func (m *Header) GetType() string
- func (m *Header) GetUniqueItems() bool
- func (m *Header) GetVendorExtension() []*NamedAny
- func (*Header) ProtoMessage()
- func (m *Header) Reset()
- func (m *Header) ResolveReferences(root string) (interface{}, error)
- func (m *Header) String() string
- func (m *Header) ToRawInfo() interface{}
- type HeaderParameterSubSchema
- func (*HeaderParameterSubSchema) Descriptor() ([]byte, []int)
- func (m *HeaderParameterSubSchema) GetCollectionFormat() string
- func (m *HeaderParameterSubSchema) GetDefault() *Any
- func (m *HeaderParameterSubSchema) GetDescription() string
- func (m *HeaderParameterSubSchema) GetEnum() []*Any
- func (m *HeaderParameterSubSchema) GetExclusiveMaximum() bool
- func (m *HeaderParameterSubSchema) GetExclusiveMinimum() bool
- func (m *HeaderParameterSubSchema) GetFormat() string
- func (m *HeaderParameterSubSchema) GetIn() string
- func (m *HeaderParameterSubSchema) GetItems() *PrimitivesItems
- func (m *HeaderParameterSubSchema) GetMaxItems() int64
- func (m *HeaderParameterSubSchema) GetMaxLength() int64
- func (m *HeaderParameterSubSchema) GetMaximum() float64
- func (m *HeaderParameterSubSchema) GetMinItems() int64
- func (m *HeaderParameterSubSchema) GetMinLength() int64
- func (m *HeaderParameterSubSchema) GetMinimum() float64
- func (m *HeaderParameterSubSchema) GetMultipleOf() float64
- func (m *HeaderParameterSubSchema) GetName() string
- func (m *HeaderParameterSubSchema) GetPattern() string
- func (m *HeaderParameterSubSchema) GetRequired() bool
- func (m *HeaderParameterSubSchema) GetType() string
- func (m *HeaderParameterSubSchema) GetUniqueItems() bool
- func (m *HeaderParameterSubSchema) GetVendorExtension() []*NamedAny
- func (*HeaderParameterSubSchema) ProtoMessage()
- func (m *HeaderParameterSubSchema) Reset()
- func (m *HeaderParameterSubSchema) ResolveReferences(root string) (interface{}, error)
- func (m *HeaderParameterSubSchema) String() string
- func (m *HeaderParameterSubSchema) ToRawInfo() interface{}
- type Headers
- func (*Headers) Descriptor() ([]byte, []int)
- func (m *Headers) GetAdditionalProperties() []*NamedHeader
- func (*Headers) ProtoMessage()
- func (m *Headers) Reset()
- func (m *Headers) ResolveReferences(root string) (interface{}, error)
- func (m *Headers) String() string
- func (m *Headers) ToRawInfo() interface{}
- type Info
- func (*Info) Descriptor() ([]byte, []int)
- func (m *Info) GetContact() *Contact
- func (m *Info) GetDescription() string
- func (m *Info) GetLicense() *License
- func (m *Info) GetTermsOfService() string
- func (m *Info) GetTitle() string
- func (m *Info) GetVendorExtension() []*NamedAny
- func (m *Info) GetVersion() string
- func (*Info) ProtoMessage()
- func (m *Info) Reset()
- func (m *Info) ResolveReferences(root string) (interface{}, error)
- func (m *Info) String() string
- func (m *Info) ToRawInfo() interface{}
- type ItemsItem
- func (*ItemsItem) Descriptor() ([]byte, []int)
- func (m *ItemsItem) GetSchema() []*Schema
- func (*ItemsItem) ProtoMessage()
- func (m *ItemsItem) Reset()
- func (m *ItemsItem) ResolveReferences(root string) (interface{}, error)
- func (m *ItemsItem) String() string
- func (m *ItemsItem) ToRawInfo() interface{}
- type JsonReference
- func (*JsonReference) Descriptor() ([]byte, []int)
- func (m *JsonReference) GetDescription() string
- func (m *JsonReference) GetXRef() string
- func (*JsonReference) ProtoMessage()
- func (m *JsonReference) Reset()
- func (m *JsonReference) ResolveReferences(root string) (interface{}, error)
- func (m *JsonReference) String() string
- func (m *JsonReference) ToRawInfo() interface{}
- type License
- func (*License) Descriptor() ([]byte, []int)
- func (m *License) GetName() string
- func (m *License) GetUrl() string
- func (m *License) GetVendorExtension() []*NamedAny
- func (*License) ProtoMessage()
- func (m *License) Reset()
- func (m *License) ResolveReferences(root string) (interface{}, error)
- func (m *License) String() string
- func (m *License) ToRawInfo() interface{}
- type NamedAny
- func (*NamedAny) Descriptor() ([]byte, []int)
- func (m *NamedAny) GetName() string
- func (m *NamedAny) GetValue() *Any
- func (*NamedAny) ProtoMessage()
- func (m *NamedAny) Reset()
- func (m *NamedAny) ResolveReferences(root string) (interface{}, error)
- func (m *NamedAny) String() string
- func (m *NamedAny) ToRawInfo() interface{}
- type NamedHeader
- func (*NamedHeader) Descriptor() ([]byte, []int)
- func (m *NamedHeader) GetName() string
- func (m *NamedHeader) GetValue() *Header
- func (*NamedHeader) ProtoMessage()
- func (m *NamedHeader) Reset()
- func (m *NamedHeader) ResolveReferences(root string) (interface{}, error)
- func (m *NamedHeader) String() string
- func (m *NamedHeader) ToRawInfo() interface{}
- type NamedParameter
- func (*NamedParameter) Descriptor() ([]byte, []int)
- func (m *NamedParameter) GetName() string
- func (m *NamedParameter) GetValue() *Parameter
- func (*NamedParameter) ProtoMessage()
- func (m *NamedParameter) Reset()
- func (m *NamedParameter) ResolveReferences(root string) (interface{}, error)
- func (m *NamedParameter) String() string
- func (m *NamedParameter) ToRawInfo() interface{}
- type NamedPathItem
- func (*NamedPathItem) Descriptor() ([]byte, []int)
- func (m *NamedPathItem) GetName() string
- func (m *NamedPathItem) GetValue() *PathItem
- func (*NamedPathItem) ProtoMessage()
- func (m *NamedPathItem) Reset()
- func (m *NamedPathItem) ResolveReferences(root string) (interface{}, error)
- func (m *NamedPathItem) String() string
- func (m *NamedPathItem) ToRawInfo() interface{}
- type NamedResponse
- func (*NamedResponse) Descriptor() ([]byte, []int)
- func (m *NamedResponse) GetName() string
- func (m *NamedResponse) GetValue() *Response
- func (*NamedResponse) ProtoMessage()
- func (m *NamedResponse) Reset()
- func (m *NamedResponse) ResolveReferences(root string) (interface{}, error)
- func (m *NamedResponse) String() string
- func (m *NamedResponse) ToRawInfo() interface{}
- type NamedResponseValue
- func (*NamedResponseValue) Descriptor() ([]byte, []int)
- func (m *NamedResponseValue) GetName() string
- func (m *NamedResponseValue) GetValue() *ResponseValue
- func (*NamedResponseValue) ProtoMessage()
- func (m *NamedResponseValue) Reset()
- func (m *NamedResponseValue) ResolveReferences(root string) (interface{}, error)
- func (m *NamedResponseValue) String() string
- func (m *NamedResponseValue) ToRawInfo() interface{}
- type NamedSchema
- func (*NamedSchema) Descriptor() ([]byte, []int)
- func (m *NamedSchema) GetName() string
- func (m *NamedSchema) GetValue() *Schema
- func (*NamedSchema) ProtoMessage()
- func (m *NamedSchema) Reset()
- func (m *NamedSchema) ResolveReferences(root string) (interface{}, error)
- func (m *NamedSchema) String() string
- func (m *NamedSchema) ToRawInfo() interface{}
- type NamedSecurityDefinitionsItem
- func (*NamedSecurityDefinitionsItem) Descriptor() ([]byte, []int)
- func (m *NamedSecurityDefinitionsItem) GetName() string
- func (m *NamedSecurityDefinitionsItem) GetValue() *SecurityDefinitionsItem
- func (*NamedSecurityDefinitionsItem) ProtoMessage()
- func (m *NamedSecurityDefinitionsItem) Reset()
- func (m *NamedSecurityDefinitionsItem) ResolveReferences(root string) (interface{}, error)
- func (m *NamedSecurityDefinitionsItem) String() string
- func (m *NamedSecurityDefinitionsItem) ToRawInfo() interface{}
- type NamedString
- func (*NamedString) Descriptor() ([]byte, []int)
- func (m *NamedString) GetName() string
- func (m *NamedString) GetValue() string
- func (*NamedString) ProtoMessage()
- func (m *NamedString) Reset()
- func (m *NamedString) ResolveReferences(root string) (interface{}, error)
- func (m *NamedString) String() string
- func (m *NamedString) ToRawInfo() interface{}
- type NamedStringArray
- func (*NamedStringArray) Descriptor() ([]byte, []int)
- func (m *NamedStringArray) GetName() string
- func (m *NamedStringArray) GetValue() *StringArray
- func (*NamedStringArray) ProtoMessage()
- func (m *NamedStringArray) Reset()
- func (m *NamedStringArray) ResolveReferences(root string) (interface{}, error)
- func (m *NamedStringArray) String() string
- func (m *NamedStringArray) ToRawInfo() interface{}
- type NonBodyParameter
- func (*NonBodyParameter) Descriptor() ([]byte, []int)
- func (m *NonBodyParameter) GetFormDataParameterSubSchema() *FormDataParameterSubSchema
- func (m *NonBodyParameter) GetHeaderParameterSubSchema() *HeaderParameterSubSchema
- func (m *NonBodyParameter) GetOneof() isNonBodyParameter_Oneof
- func (m *NonBodyParameter) GetPathParameterSubSchema() *PathParameterSubSchema
- func (m *NonBodyParameter) GetQueryParameterSubSchema() *QueryParameterSubSchema
- func (*NonBodyParameter) ProtoMessage()
- func (m *NonBodyParameter) Reset()
- func (m *NonBodyParameter) ResolveReferences(root string) (interface{}, error)
- func (m *NonBodyParameter) String() string
- func (m *NonBodyParameter) ToRawInfo() interface{}
- func (*NonBodyParameter) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type NonBodyParameter_FormDataParameterSubSchema
- type NonBodyParameter_HeaderParameterSubSchema
- type NonBodyParameter_PathParameterSubSchema
- type NonBodyParameter_QueryParameterSubSchema
- type Oauth2AccessCodeSecurity
- func (*Oauth2AccessCodeSecurity) Descriptor() ([]byte, []int)
- func (m *Oauth2AccessCodeSecurity) GetAuthorizationUrl() string
- func (m *Oauth2AccessCodeSecurity) GetDescription() string
- func (m *Oauth2AccessCodeSecurity) GetFlow() string
- func (m *Oauth2AccessCodeSecurity) GetScopes() *Oauth2Scopes
- func (m *Oauth2AccessCodeSecurity) GetTokenUrl() string
- func (m *Oauth2AccessCodeSecurity) GetType() string
- func (m *Oauth2AccessCodeSecurity) GetVendorExtension() []*NamedAny
- func (*Oauth2AccessCodeSecurity) ProtoMessage()
- func (m *Oauth2AccessCodeSecurity) Reset()
- func (m *Oauth2AccessCodeSecurity) ResolveReferences(root string) (interface{}, error)
- func (m *Oauth2AccessCodeSecurity) String() string
- func (m *Oauth2AccessCodeSecurity) ToRawInfo() interface{}
- type Oauth2ApplicationSecurity
- func (*Oauth2ApplicationSecurity) Descriptor() ([]byte, []int)
- func (m *Oauth2ApplicationSecurity) GetDescription() string
- func (m *Oauth2ApplicationSecurity) GetFlow() string
- func (m *Oauth2ApplicationSecurity) GetScopes() *Oauth2Scopes
- func (m *Oauth2ApplicationSecurity) GetTokenUrl() string
- func (m *Oauth2ApplicationSecurity) GetType() string
- func (m *Oauth2ApplicationSecurity) GetVendorExtension() []*NamedAny
- func (*Oauth2ApplicationSecurity) ProtoMessage()
- func (m *Oauth2ApplicationSecurity) Reset()
- func (m *Oauth2ApplicationSecurity) ResolveReferences(root string) (interface{}, error)
- func (m *Oauth2ApplicationSecurity) String() string
- func (m *Oauth2ApplicationSecurity) ToRawInfo() interface{}
- type Oauth2ImplicitSecurity
- func (*Oauth2ImplicitSecurity) Descriptor() ([]byte, []int)
- func (m *Oauth2ImplicitSecurity) GetAuthorizationUrl() string
- func (m *Oauth2ImplicitSecurity) GetDescription() string
- func (m *Oauth2ImplicitSecurity) GetFlow() string
- func (m *Oauth2ImplicitSecurity) GetScopes() *Oauth2Scopes
- func (m *Oauth2ImplicitSecurity) GetType() string
- func (m *Oauth2ImplicitSecurity) GetVendorExtension() []*NamedAny
- func (*Oauth2ImplicitSecurity) ProtoMessage()
- func (m *Oauth2ImplicitSecurity) Reset()
- func (m *Oauth2ImplicitSecurity) ResolveReferences(root string) (interface{}, error)
- func (m *Oauth2ImplicitSecurity) String() string
- func (m *Oauth2ImplicitSecurity) ToRawInfo() interface{}
- type Oauth2PasswordSecurity
- func (*Oauth2PasswordSecurity) Descriptor() ([]byte, []int)
- func (m *Oauth2PasswordSecurity) GetDescription() string
- func (m *Oauth2PasswordSecurity) GetFlow() string
- func (m *Oauth2PasswordSecurity) GetScopes() *Oauth2Scopes
- func (m *Oauth2PasswordSecurity) GetTokenUrl() string
- func (m *Oauth2PasswordSecurity) GetType() string
- func (m *Oauth2PasswordSecurity) GetVendorExtension() []*NamedAny
- func (*Oauth2PasswordSecurity) ProtoMessage()
- func (m *Oauth2PasswordSecurity) Reset()
- func (m *Oauth2PasswordSecurity) ResolveReferences(root string) (interface{}, error)
- func (m *Oauth2PasswordSecurity) String() string
- func (m *Oauth2PasswordSecurity) ToRawInfo() interface{}
- type Oauth2Scopes
- func (*Oauth2Scopes) Descriptor() ([]byte, []int)
- func (m *Oauth2Scopes) GetAdditionalProperties() []*NamedString
- func (*Oauth2Scopes) ProtoMessage()
- func (m *Oauth2Scopes) Reset()
- func (m *Oauth2Scopes) ResolveReferences(root string) (interface{}, error)
- func (m *Oauth2Scopes) String() string
- func (m *Oauth2Scopes) ToRawInfo() interface{}
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)
- func (m *Operation) GetConsumes() []string
- func (m *Operation) GetDeprecated() bool
- func (m *Operation) GetDescription() string
- func (m *Operation) GetExternalDocs() *ExternalDocs
- func (m *Operation) GetOperationId() string
- func (m *Operation) GetParameters() []*ParametersItem
- func (m *Operation) GetProduces() []string
- func (m *Operation) GetResponses() *Responses
- func (m *Operation) GetSchemes() []string
- func (m *Operation) GetSecurity() []*SecurityRequirement
- func (m *Operation) GetSummary() string
- func (m *Operation) GetTags() []string
- func (m *Operation) GetVendorExtension() []*NamedAny
- func (*Operation) ProtoMessage()
- func (m *Operation) Reset()
- func (m *Operation) ResolveReferences(root string) (interface{}, error)
- func (m *Operation) String() string
- func (m *Operation) ToRawInfo() interface{}
- type Parameter
- func (*Parameter) Descriptor() ([]byte, []int)
- func (m *Parameter) GetBodyParameter() *BodyParameter
- func (m *Parameter) GetNonBodyParameter() *NonBodyParameter
- func (m *Parameter) GetOneof() isParameter_Oneof
- func (*Parameter) ProtoMessage()
- func (m *Parameter) Reset()
- func (m *Parameter) ResolveReferences(root string) (interface{}, error)
- func (m *Parameter) String() string
- func (m *Parameter) ToRawInfo() interface{}
- func (*Parameter) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type ParameterDefinitions
- func (*ParameterDefinitions) Descriptor() ([]byte, []int)
- func (m *ParameterDefinitions) GetAdditionalProperties() []*NamedParameter
- func (*ParameterDefinitions) ProtoMessage()
- func (m *ParameterDefinitions) Reset()
- func (m *ParameterDefinitions) ResolveReferences(root string) (interface{}, error)
- func (m *ParameterDefinitions) String() string
- func (m *ParameterDefinitions) ToRawInfo() interface{}
- type Parameter_BodyParameter
- type Parameter_NonBodyParameter
- type ParametersItem
- func (*ParametersItem) Descriptor() ([]byte, []int)
- func (m *ParametersItem) GetJsonReference() *JsonReference
- func (m *ParametersItem) GetOneof() isParametersItem_Oneof
- func (m *ParametersItem) GetParameter() *Parameter
- func (*ParametersItem) ProtoMessage()
- func (m *ParametersItem) Reset()
- func (m *ParametersItem) ResolveReferences(root string) (interface{}, error)
- func (m *ParametersItem) String() string
- func (m *ParametersItem) ToRawInfo() interface{}
- func (*ParametersItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type ParametersItem_JsonReference
- type ParametersItem_Parameter
- type PathItem
- func (*PathItem) Descriptor() ([]byte, []int)
- func (m *PathItem) GetDelete() *Operation
- func (m *PathItem) GetGet() *Operation
- func (m *PathItem) GetHead() *Operation
- func (m *PathItem) GetOptions() *Operation
- func (m *PathItem) GetParameters() []*ParametersItem
- func (m *PathItem) GetPatch() *Operation
- func (m *PathItem) GetPost() *Operation
- func (m *PathItem) GetPut() *Operation
- func (m *PathItem) GetVendorExtension() []*NamedAny
- func (m *PathItem) GetXRef() string
- func (*PathItem) ProtoMessage()
- func (m *PathItem) Reset()
- func (m *PathItem) ResolveReferences(root string) (interface{}, error)
- func (m *PathItem) String() string
- func (m *PathItem) ToRawInfo() interface{}
- type PathParameterSubSchema
- func (*PathParameterSubSchema) Descriptor() ([]byte, []int)
- func (m *PathParameterSubSchema) GetCollectionFormat() string
- func (m *PathParameterSubSchema) GetDefault() *Any
- func (m *PathParameterSubSchema) GetDescription() string
- func (m *PathParameterSubSchema) GetEnum() []*Any
- func (m *PathParameterSubSchema) GetExclusiveMaximum() bool
- func (m *PathParameterSubSchema) GetExclusiveMinimum() bool
- func (m *PathParameterSubSchema) GetFormat() string
- func (m *PathParameterSubSchema) GetIn() string
- func (m *PathParameterSubSchema) GetItems() *PrimitivesItems
- func (m *PathParameterSubSchema) GetMaxItems() int64
- func (m *PathParameterSubSchema) GetMaxLength() int64
- func (m *PathParameterSubSchema) GetMaximum() float64
- func (m *PathParameterSubSchema) GetMinItems() int64
- func (m *PathParameterSubSchema) GetMinLength() int64
- func (m *PathParameterSubSchema) GetMinimum() float64
- func (m *PathParameterSubSchema) GetMultipleOf() float64
- func (m *PathParameterSubSchema) GetName() string
- func (m *PathParameterSubSchema) GetPattern() string
- func (m *PathParameterSubSchema) GetRequired() bool
- func (m *PathParameterSubSchema) GetType() string
- func (m *PathParameterSubSchema) GetUniqueItems() bool
- func (m *PathParameterSubSchema) GetVendorExtension() []*NamedAny
- func (*PathParameterSubSchema) ProtoMessage()
- func (m *PathParameterSubSchema) Reset()
- func (m *PathParameterSubSchema) ResolveReferences(root string) (interface{}, error)
- func (m *PathParameterSubSchema) String() string
- func (m *PathParameterSubSchema) ToRawInfo() interface{}
- type Paths
- func (*Paths) Descriptor() ([]byte, []int)
- func (m *Paths) GetPath() []*NamedPathItem
- func (m *Paths) GetVendorExtension() []*NamedAny
- func (*Paths) ProtoMessage()
- func (m *Paths) Reset()
- func (m *Paths) ResolveReferences(root string) (interface{}, error)
- func (m *Paths) String() string
- func (m *Paths) ToRawInfo() interface{}
- type PrimitivesItems
- func (*PrimitivesItems) Descriptor() ([]byte, []int)
- func (m *PrimitivesItems) GetCollectionFormat() string
- func (m *PrimitivesItems) GetDefault() *Any
- func (m *PrimitivesItems) GetEnum() []*Any
- func (m *PrimitivesItems) GetExclusiveMaximum() bool
- func (m *PrimitivesItems) GetExclusiveMinimum() bool
- func (m *PrimitivesItems) GetFormat() string
- func (m *PrimitivesItems) GetItems() *PrimitivesItems
- func (m *PrimitivesItems) GetMaxItems() int64
- func (m *PrimitivesItems) GetMaxLength() int64
- func (m *PrimitivesItems) GetMaximum() float64
- func (m *PrimitivesItems) GetMinItems() int64
- func (m *PrimitivesItems) GetMinLength() int64
- func (m *PrimitivesItems) GetMinimum() float64
- func (m *PrimitivesItems) GetMultipleOf() float64
- func (m *PrimitivesItems) GetPattern() string
- func (m *PrimitivesItems) GetType() string
- func (m *PrimitivesItems) GetUniqueItems() bool
- func (m *PrimitivesItems) GetVendorExtension() []*NamedAny
- func (*PrimitivesItems) ProtoMessage()
- func (m *PrimitivesItems) Reset()
- func (m *PrimitivesItems) ResolveReferences(root string) (interface{}, error)
- func (m *PrimitivesItems) String() string
- func (m *PrimitivesItems) ToRawInfo() interface{}
- type Properties
- func (*Properties) Descriptor() ([]byte, []int)
- func (m *Properties) GetAdditionalProperties() []*NamedSchema
- func (*Properties) ProtoMessage()
- func (m *Properties) Reset()
- func (m *Properties) ResolveReferences(root string) (interface{}, error)
- func (m *Properties) String() string
- func (m *Properties) ToRawInfo() interface{}
- type QueryParameterSubSchema
- func (*QueryParameterSubSchema) Descriptor() ([]byte, []int)
- func (m *QueryParameterSubSchema) GetAllowEmptyValue() bool
- func (m *QueryParameterSubSchema) GetCollectionFormat() string
- func (m *QueryParameterSubSchema) GetDefault() *Any
- func (m *QueryParameterSubSchema) GetDescription() string
- func (m *QueryParameterSubSchema) GetEnum() []*Any
- func (m *QueryParameterSubSchema) GetExclusiveMaximum() bool
- func (m *QueryParameterSubSchema) GetExclusiveMinimum() bool
- func (m *QueryParameterSubSchema) GetFormat() string
- func (m *QueryParameterSubSchema) GetIn() string
- func (m *QueryParameterSubSchema) GetItems() *PrimitivesItems
- func (m *QueryParameterSubSchema) GetMaxItems() int64
- func (m *QueryParameterSubSchema) GetMaxLength() int64
- func (m *QueryParameterSubSchema) GetMaximum() float64
- func (m *QueryParameterSubSchema) GetMinItems() int64
- func (m *QueryParameterSubSchema) GetMinLength() int64
- func (m *QueryParameterSubSchema) GetMinimum() float64
- func (m *QueryParameterSubSchema) GetMultipleOf() float64
- func (m *QueryParameterSubSchema) GetName() string
- func (m *QueryParameterSubSchema) GetPattern() string
- func (m *QueryParameterSubSchema) GetRequired() bool
- func (m *QueryParameterSubSchema) GetType() string
- func (m *QueryParameterSubSchema) GetUniqueItems() bool
- func (m *QueryParameterSubSchema) GetVendorExtension() []*NamedAny
- func (*QueryParameterSubSchema) ProtoMessage()
- func (m *QueryParameterSubSchema) Reset()
- func (m *QueryParameterSubSchema) ResolveReferences(root string) (interface{}, error)
- func (m *QueryParameterSubSchema) String() string
- func (m *QueryParameterSubSchema) ToRawInfo() interface{}
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetDescription() string
- func (m *Response) GetExamples() *Examples
- func (m *Response) GetHeaders() *Headers
- func (m *Response) GetSchema() *SchemaItem
- func (m *Response) GetVendorExtension() []*NamedAny
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) ResolveReferences(root string) (interface{}, error)
- func (m *Response) String() string
- func (m *Response) ToRawInfo() interface{}
- type ResponseDefinitions
- func (*ResponseDefinitions) Descriptor() ([]byte, []int)
- func (m *ResponseDefinitions) GetAdditionalProperties() []*NamedResponse
- func (*ResponseDefinitions) ProtoMessage()
- func (m *ResponseDefinitions) Reset()
- func (m *ResponseDefinitions) ResolveReferences(root string) (interface{}, error)
- func (m *ResponseDefinitions) String() string
- func (m *ResponseDefinitions) ToRawInfo() interface{}
- type ResponseValue
- func (*ResponseValue) Descriptor() ([]byte, []int)
- func (m *ResponseValue) GetJsonReference() *JsonReference
- func (m *ResponseValue) GetOneof() isResponseValue_Oneof
- func (m *ResponseValue) GetResponse() *Response
- func (*ResponseValue) ProtoMessage()
- func (m *ResponseValue) Reset()
- func (m *ResponseValue) ResolveReferences(root string) (interface{}, error)
- func (m *ResponseValue) String() string
- func (m *ResponseValue) ToRawInfo() interface{}
- func (*ResponseValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type ResponseValue_JsonReference
- type ResponseValue_Response
- type Responses
- func (*Responses) Descriptor() ([]byte, []int)
- func (m *Responses) GetResponseCode() []*NamedResponseValue
- func (m *Responses) GetVendorExtension() []*NamedAny
- func (*Responses) ProtoMessage()
- func (m *Responses) Reset()
- func (m *Responses) ResolveReferences(root string) (interface{}, error)
- func (m *Responses) String() string
- func (m *Responses) ToRawInfo() interface{}
- type Schema
- func (*Schema) Descriptor() ([]byte, []int)
- func (m *Schema) GetAdditionalProperties() *AdditionalPropertiesItem
- func (m *Schema) GetAllOf() []*Schema
- func (m *Schema) GetDefault() *Any
- func (m *Schema) GetDescription() string
- func (m *Schema) GetDiscriminator() string
- func (m *Schema) GetEnum() []*Any
- func (m *Schema) GetExample() *Any
- func (m *Schema) GetExclusiveMaximum() bool
- func (m *Schema) GetExclusiveMinimum() bool
- func (m *Schema) GetExternalDocs() *ExternalDocs
- func (m *Schema) GetFormat() string
- func (m *Schema) GetItems() *ItemsItem
- func (m *Schema) GetMaxItems() int64
- func (m *Schema) GetMaxLength() int64
- func (m *Schema) GetMaxProperties() int64
- func (m *Schema) GetMaximum() float64
- func (m *Schema) GetMinItems() int64
- func (m *Schema) GetMinLength() int64
- func (m *Schema) GetMinProperties() int64
- func (m *Schema) GetMinimum() float64
- func (m *Schema) GetMultipleOf() float64
- func (m *Schema) GetPattern() string
- func (m *Schema) GetProperties() *Properties
- func (m *Schema) GetReadOnly() bool
- func (m *Schema) GetRequired() []string
- func (m *Schema) GetTitle() string
- func (m *Schema) GetType() *TypeItem
- func (m *Schema) GetUniqueItems() bool
- func (m *Schema) GetVendorExtension() []*NamedAny
- func (m *Schema) GetXRef() string
- func (m *Schema) GetXml() *Xml
- func (*Schema) ProtoMessage()
- func (m *Schema) Reset()
- func (m *Schema) ResolveReferences(root string) (interface{}, error)
- func (m *Schema) String() string
- func (m *Schema) ToRawInfo() interface{}
- type SchemaItem
- func (*SchemaItem) Descriptor() ([]byte, []int)
- func (m *SchemaItem) GetFileSchema() *FileSchema
- func (m *SchemaItem) GetOneof() isSchemaItem_Oneof
- func (m *SchemaItem) GetSchema() *Schema
- func (*SchemaItem) ProtoMessage()
- func (m *SchemaItem) Reset()
- func (m *SchemaItem) ResolveReferences(root string) (interface{}, error)
- func (m *SchemaItem) String() string
- func (m *SchemaItem) ToRawInfo() interface{}
- func (*SchemaItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type SchemaItem_FileSchema
- type SchemaItem_Schema
- type SecurityDefinitions
- func (*SecurityDefinitions) Descriptor() ([]byte, []int)
- func (m *SecurityDefinitions) GetAdditionalProperties() []*NamedSecurityDefinitionsItem
- func (*SecurityDefinitions) ProtoMessage()
- func (m *SecurityDefinitions) Reset()
- func (m *SecurityDefinitions) ResolveReferences(root string) (interface{}, error)
- func (m *SecurityDefinitions) String() string
- func (m *SecurityDefinitions) ToRawInfo() interface{}
- type SecurityDefinitionsItem
- func (*SecurityDefinitionsItem) Descriptor() ([]byte, []int)
- func (m *SecurityDefinitionsItem) GetApiKeySecurity() *ApiKeySecurity
- func (m *SecurityDefinitionsItem) GetBasicAuthenticationSecurity() *BasicAuthenticationSecurity
- func (m *SecurityDefinitionsItem) GetOauth2AccessCodeSecurity() *Oauth2AccessCodeSecurity
- func (m *SecurityDefinitionsItem) GetOauth2ApplicationSecurity() *Oauth2ApplicationSecurity
- func (m *SecurityDefinitionsItem) GetOauth2ImplicitSecurity() *Oauth2ImplicitSecurity
- func (m *SecurityDefinitionsItem) GetOauth2PasswordSecurity() *Oauth2PasswordSecurity
- func (m *SecurityDefinitionsItem) GetOneof() isSecurityDefinitionsItem_Oneof
- func (*SecurityDefinitionsItem) ProtoMessage()
- func (m *SecurityDefinitionsItem) Reset()
- func (m *SecurityDefinitionsItem) ResolveReferences(root string) (interface{}, error)
- func (m *SecurityDefinitionsItem) String() string
- func (m *SecurityDefinitionsItem) ToRawInfo() interface{}
- func (*SecurityDefinitionsItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type SecurityDefinitionsItem_ApiKeySecurity
- type SecurityDefinitionsItem_BasicAuthenticationSecurity
- type SecurityDefinitionsItem_Oauth2AccessCodeSecurity
- type SecurityDefinitionsItem_Oauth2ApplicationSecurity
- type SecurityDefinitionsItem_Oauth2ImplicitSecurity
- type SecurityDefinitionsItem_Oauth2PasswordSecurity
- type SecurityRequirement
- func (*SecurityRequirement) Descriptor() ([]byte, []int)
- func (m *SecurityRequirement) GetAdditionalProperties() []*NamedStringArray
- func (*SecurityRequirement) ProtoMessage()
- func (m *SecurityRequirement) Reset()
- func (m *SecurityRequirement) ResolveReferences(root string) (interface{}, error)
- func (m *SecurityRequirement) String() string
- func (m *SecurityRequirement) ToRawInfo() interface{}
- type StringArray
- func (*StringArray) Descriptor() ([]byte, []int)
- func (m *StringArray) GetValue() []string
- func (*StringArray) ProtoMessage()
- func (m *StringArray) Reset()
- func (m *StringArray) ResolveReferences(root string) (interface{}, error)
- func (m *StringArray) String() string
- func (m *StringArray) ToRawInfo() interface{}
- type Tag
- func (*Tag) Descriptor() ([]byte, []int)
- func (m *Tag) GetDescription() string
- func (m *Tag) GetExternalDocs() *ExternalDocs
- func (m *Tag) GetName() string
- func (m *Tag) GetVendorExtension() []*NamedAny
- func (*Tag) ProtoMessage()
- func (m *Tag) Reset()
- func (m *Tag) ResolveReferences(root string) (interface{}, error)
- func (m *Tag) String() string
- func (m *Tag) ToRawInfo() interface{}
- type TypeItem
- type VendorExtension
- func (*VendorExtension) Descriptor() ([]byte, []int)
- func (m *VendorExtension) GetAdditionalProperties() []*NamedAny
- func (*VendorExtension) ProtoMessage()
- func (m *VendorExtension) Reset()
- func (m *VendorExtension) ResolveReferences(root string) (interface{}, error)
- func (m *VendorExtension) String() string
- func (m *VendorExtension) ToRawInfo() interface{}
- type Xml
- func (*Xml) Descriptor() ([]byte, []int)
- func (m *Xml) GetAttribute() bool
- func (m *Xml) GetName() string
- func (m *Xml) GetNamespace() string
- func (m *Xml) GetPrefix() string
- func (m *Xml) GetVendorExtension() []*NamedAny
- func (m *Xml) GetWrapped() bool
- func (*Xml) ProtoMessage()
- func (m *Xml) Reset()
- func (m *Xml) ResolveReferences(root string) (interface{}, error)
- func (m *Xml) String() string
- func (m *Xml) ToRawInfo() interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AdditionalPropertiesItem ¶
type AdditionalPropertiesItem struct { // Types that are valid to be assigned to Oneof: // *AdditionalPropertiesItem_Schema // *AdditionalPropertiesItem_Boolean Oneof isAdditionalPropertiesItem_Oneof `protobuf_oneof:"oneof"` }
func NewAdditionalPropertiesItem ¶
func NewAdditionalPropertiesItem(in interface{}, context *compiler.Context) (*AdditionalPropertiesItem, error)
NewAdditionalPropertiesItem creates an object of type AdditionalPropertiesItem if possible, returning an error if not.
func (*AdditionalPropertiesItem) Descriptor ¶
func (*AdditionalPropertiesItem) Descriptor() ([]byte, []int)
func (*AdditionalPropertiesItem) GetBoolean ¶
func (m *AdditionalPropertiesItem) GetBoolean() bool
func (*AdditionalPropertiesItem) GetOneof ¶
func (m *AdditionalPropertiesItem) GetOneof() isAdditionalPropertiesItem_Oneof
func (*AdditionalPropertiesItem) GetSchema ¶
func (m *AdditionalPropertiesItem) GetSchema() *Schema
func (*AdditionalPropertiesItem) ProtoMessage ¶
func (*AdditionalPropertiesItem) ProtoMessage()
func (*AdditionalPropertiesItem) Reset ¶
func (m *AdditionalPropertiesItem) Reset()
func (*AdditionalPropertiesItem) ResolveReferences ¶
func (m *AdditionalPropertiesItem) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside AdditionalPropertiesItem objects.
func (*AdditionalPropertiesItem) String ¶
func (m *AdditionalPropertiesItem) String() string
func (*AdditionalPropertiesItem) ToRawInfo ¶
func (m *AdditionalPropertiesItem) ToRawInfo() interface{}
ToRawInfo returns a description of AdditionalPropertiesItem suitable for JSON or YAML export.
func (*AdditionalPropertiesItem) XXX_OneofFuncs ¶
func (*AdditionalPropertiesItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type AdditionalPropertiesItem_Boolean ¶
type AdditionalPropertiesItem_Boolean struct {
Boolean bool `protobuf:"varint,2,opt,name=boolean,oneof"`
}
type AdditionalPropertiesItem_Schema ¶
type AdditionalPropertiesItem_Schema struct {
Schema *Schema `protobuf:"bytes,1,opt,name=schema,oneof"`
}
type Any ¶
type Any struct { Value *google_protobuf.Any `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"` Yaml string `protobuf:"bytes,2,opt,name=yaml" json:"yaml,omitempty"` }
func NewAny ¶
NewAny creates an object of type Any if possible, returning an error if not.
func (*Any) GetValue ¶
func (m *Any) GetValue() *google_protobuf.Any
func (*Any) ResolveReferences ¶
ResolveReferences resolves references found inside Any objects.
type ApiKeySecurity ¶
type ApiKeySecurity struct { Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` In string `protobuf:"bytes,3,opt,name=in" json:"in,omitempty"` Description string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,5,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
func NewApiKeySecurity ¶
func NewApiKeySecurity(in interface{}, context *compiler.Context) (*ApiKeySecurity, error)
NewApiKeySecurity creates an object of type ApiKeySecurity if possible, returning an error if not.
func (*ApiKeySecurity) Descriptor ¶
func (*ApiKeySecurity) Descriptor() ([]byte, []int)
func (*ApiKeySecurity) GetDescription ¶
func (m *ApiKeySecurity) GetDescription() string
func (*ApiKeySecurity) GetIn ¶
func (m *ApiKeySecurity) GetIn() string
func (*ApiKeySecurity) GetName ¶
func (m *ApiKeySecurity) GetName() string
func (*ApiKeySecurity) GetType ¶
func (m *ApiKeySecurity) GetType() string
func (*ApiKeySecurity) GetVendorExtension ¶
func (m *ApiKeySecurity) GetVendorExtension() []*NamedAny
func (*ApiKeySecurity) ProtoMessage ¶
func (*ApiKeySecurity) ProtoMessage()
func (*ApiKeySecurity) Reset ¶
func (m *ApiKeySecurity) Reset()
func (*ApiKeySecurity) ResolveReferences ¶
func (m *ApiKeySecurity) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside ApiKeySecurity objects.
func (*ApiKeySecurity) String ¶
func (m *ApiKeySecurity) String() string
func (*ApiKeySecurity) ToRawInfo ¶
func (m *ApiKeySecurity) ToRawInfo() interface{}
ToRawInfo returns a description of ApiKeySecurity suitable for JSON or YAML export.
type BasicAuthenticationSecurity ¶
type BasicAuthenticationSecurity struct { Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,3,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
func NewBasicAuthenticationSecurity ¶
func NewBasicAuthenticationSecurity(in interface{}, context *compiler.Context) (*BasicAuthenticationSecurity, error)
NewBasicAuthenticationSecurity creates an object of type BasicAuthenticationSecurity if possible, returning an error if not.
func (*BasicAuthenticationSecurity) Descriptor ¶
func (*BasicAuthenticationSecurity) Descriptor() ([]byte, []int)
func (*BasicAuthenticationSecurity) GetDescription ¶
func (m *BasicAuthenticationSecurity) GetDescription() string
func (*BasicAuthenticationSecurity) GetType ¶
func (m *BasicAuthenticationSecurity) GetType() string
func (*BasicAuthenticationSecurity) GetVendorExtension ¶
func (m *BasicAuthenticationSecurity) GetVendorExtension() []*NamedAny
func (*BasicAuthenticationSecurity) ProtoMessage ¶
func (*BasicAuthenticationSecurity) ProtoMessage()
func (*BasicAuthenticationSecurity) Reset ¶
func (m *BasicAuthenticationSecurity) Reset()
func (*BasicAuthenticationSecurity) ResolveReferences ¶
func (m *BasicAuthenticationSecurity) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside BasicAuthenticationSecurity objects.
func (*BasicAuthenticationSecurity) String ¶
func (m *BasicAuthenticationSecurity) String() string
func (*BasicAuthenticationSecurity) ToRawInfo ¶
func (m *BasicAuthenticationSecurity) ToRawInfo() interface{}
ToRawInfo returns a description of BasicAuthenticationSecurity suitable for JSON or YAML export.
type BodyParameter ¶
type BodyParameter struct { // A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed. Description string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"` // The name of the parameter. Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` // Determines the location of the parameter. In string `protobuf:"bytes,3,opt,name=in" json:"in,omitempty"` // Determines whether or not this parameter is required or optional. Required bool `protobuf:"varint,4,opt,name=required" json:"required,omitempty"` Schema *Schema `protobuf:"bytes,5,opt,name=schema" json:"schema,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,6,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
func NewBodyParameter ¶
func NewBodyParameter(in interface{}, context *compiler.Context) (*BodyParameter, error)
NewBodyParameter creates an object of type BodyParameter if possible, returning an error if not.
func (*BodyParameter) Descriptor ¶
func (*BodyParameter) Descriptor() ([]byte, []int)
func (*BodyParameter) GetDescription ¶
func (m *BodyParameter) GetDescription() string
func (*BodyParameter) GetIn ¶
func (m *BodyParameter) GetIn() string
func (*BodyParameter) GetName ¶
func (m *BodyParameter) GetName() string
func (*BodyParameter) GetRequired ¶
func (m *BodyParameter) GetRequired() bool
func (*BodyParameter) GetSchema ¶
func (m *BodyParameter) GetSchema() *Schema
func (*BodyParameter) GetVendorExtension ¶
func (m *BodyParameter) GetVendorExtension() []*NamedAny
func (*BodyParameter) ProtoMessage ¶
func (*BodyParameter) ProtoMessage()
func (*BodyParameter) Reset ¶
func (m *BodyParameter) Reset()
func (*BodyParameter) ResolveReferences ¶
func (m *BodyParameter) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside BodyParameter objects.
func (*BodyParameter) String ¶
func (m *BodyParameter) String() string
func (*BodyParameter) ToRawInfo ¶
func (m *BodyParameter) ToRawInfo() interface{}
ToRawInfo returns a description of BodyParameter suitable for JSON or YAML export.
type Contact ¶
type Contact struct { // The identifying name of the contact person/organization. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // The URL pointing to the contact information. Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` // The email address of the contact person/organization. Email string `protobuf:"bytes,3,opt,name=email" json:"email,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,4,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
Contact information for the owners of the API.
func NewContact ¶
NewContact creates an object of type Contact if possible, returning an error if not.
func (*Contact) ResolveReferences ¶
ResolveReferences resolves references found inside Contact objects.
type Default ¶
type Default struct {
AdditionalProperties []*NamedAny `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"`
}
func NewDefault ¶
NewDefault creates an object of type Default if possible, returning an error if not.
func (*Default) ResolveReferences ¶
ResolveReferences resolves references found inside Default objects.
type Definitions ¶
type Definitions struct {
AdditionalProperties []*NamedSchema `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"`
}
One or more JSON objects describing the schemas being consumed and produced by the API.
func NewDefinitions ¶
func NewDefinitions(in interface{}, context *compiler.Context) (*Definitions, error)
NewDefinitions creates an object of type Definitions if possible, returning an error if not.
func (*Definitions) Descriptor ¶
func (*Definitions) Descriptor() ([]byte, []int)
func (*Definitions) GetAdditionalProperties ¶
func (m *Definitions) GetAdditionalProperties() []*NamedSchema
func (*Definitions) ProtoMessage ¶
func (*Definitions) ProtoMessage()
func (*Definitions) Reset ¶
func (m *Definitions) Reset()
func (*Definitions) ResolveReferences ¶
func (m *Definitions) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside Definitions objects.
func (*Definitions) String ¶
func (m *Definitions) String() string
func (*Definitions) ToRawInfo ¶
func (m *Definitions) ToRawInfo() interface{}
ToRawInfo returns a description of Definitions suitable for JSON or YAML export.
type Document ¶
type Document struct { // The Swagger version of this document. Swagger string `protobuf:"bytes,1,opt,name=swagger" json:"swagger,omitempty"` Info *Info `protobuf:"bytes,2,opt,name=info" json:"info,omitempty"` // The host (name or ip) of the API. Example: 'swagger.io' Host string `protobuf:"bytes,3,opt,name=host" json:"host,omitempty"` // The base path to the API. Example: '/api'. BasePath string `protobuf:"bytes,4,opt,name=base_path,json=basePath" json:"base_path,omitempty"` // The transfer protocol of the API. Schemes []string `protobuf:"bytes,5,rep,name=schemes" json:"schemes,omitempty"` // A list of MIME types accepted by the API. Consumes []string `protobuf:"bytes,6,rep,name=consumes" json:"consumes,omitempty"` // A list of MIME types the API can produce. Produces []string `protobuf:"bytes,7,rep,name=produces" json:"produces,omitempty"` Paths *Paths `protobuf:"bytes,8,opt,name=paths" json:"paths,omitempty"` Definitions *Definitions `protobuf:"bytes,9,opt,name=definitions" json:"definitions,omitempty"` Parameters *ParameterDefinitions `protobuf:"bytes,10,opt,name=parameters" json:"parameters,omitempty"` Responses *ResponseDefinitions `protobuf:"bytes,11,opt,name=responses" json:"responses,omitempty"` Security []*SecurityRequirement `protobuf:"bytes,12,rep,name=security" json:"security,omitempty"` SecurityDefinitions *SecurityDefinitions `protobuf:"bytes,13,opt,name=security_definitions,json=securityDefinitions" json:"security_definitions,omitempty"` Tags []*Tag `protobuf:"bytes,14,rep,name=tags" json:"tags,omitempty"` ExternalDocs *ExternalDocs `protobuf:"bytes,15,opt,name=external_docs,json=externalDocs" json:"external_docs,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,16,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
func NewDocument ¶
NewDocument creates an object of type Document if possible, returning an error if not.
func (*Document) GetDefinitions ¶
func (m *Document) GetDefinitions() *Definitions
func (*Document) GetExternalDocs ¶
func (m *Document) GetExternalDocs() *ExternalDocs
func (*Document) GetParameters ¶
func (m *Document) GetParameters() *ParameterDefinitions
func (*Document) GetResponses ¶
func (m *Document) GetResponses() *ResponseDefinitions
func (*Document) GetSecurity ¶
func (m *Document) GetSecurity() []*SecurityRequirement
func (*Document) GetSecurityDefinitions ¶
func (m *Document) GetSecurityDefinitions() *SecurityDefinitions
func (*Document) ResolveReferences ¶
ResolveReferences resolves references found inside Document objects.
type Examples ¶
type Examples struct {
AdditionalProperties []*NamedAny `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"`
}
func NewExamples ¶
NewExamples creates an object of type Examples if possible, returning an error if not.
func (*Examples) ResolveReferences ¶
ResolveReferences resolves references found inside Examples objects.
type ExternalDocs ¶
type ExternalDocs struct { Description string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"` Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,3,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
information about external documentation
func NewExternalDocs ¶
func NewExternalDocs(in interface{}, context *compiler.Context) (*ExternalDocs, error)
NewExternalDocs creates an object of type ExternalDocs if possible, returning an error if not.
func (*ExternalDocs) Descriptor ¶
func (*ExternalDocs) Descriptor() ([]byte, []int)
func (*ExternalDocs) GetDescription ¶
func (m *ExternalDocs) GetDescription() string
func (*ExternalDocs) GetUrl ¶
func (m *ExternalDocs) GetUrl() string
func (*ExternalDocs) GetVendorExtension ¶
func (m *ExternalDocs) GetVendorExtension() []*NamedAny
func (*ExternalDocs) ProtoMessage ¶
func (*ExternalDocs) ProtoMessage()
func (*ExternalDocs) Reset ¶
func (m *ExternalDocs) Reset()
func (*ExternalDocs) ResolveReferences ¶
func (m *ExternalDocs) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside ExternalDocs objects.
func (*ExternalDocs) String ¶
func (m *ExternalDocs) String() string
func (*ExternalDocs) ToRawInfo ¶
func (m *ExternalDocs) ToRawInfo() interface{}
ToRawInfo returns a description of ExternalDocs suitable for JSON or YAML export.
type FileSchema ¶
type FileSchema struct { Format string `protobuf:"bytes,1,opt,name=format" json:"format,omitempty"` Title string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"` Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` Default *Any `protobuf:"bytes,4,opt,name=default" json:"default,omitempty"` Required []string `protobuf:"bytes,5,rep,name=required" json:"required,omitempty"` Type string `protobuf:"bytes,6,opt,name=type" json:"type,omitempty"` ReadOnly bool `protobuf:"varint,7,opt,name=read_only,json=readOnly" json:"read_only,omitempty"` ExternalDocs *ExternalDocs `protobuf:"bytes,8,opt,name=external_docs,json=externalDocs" json:"external_docs,omitempty"` Example *Any `protobuf:"bytes,9,opt,name=example" json:"example,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,10,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
A deterministic version of a JSON Schema object.
func NewFileSchema ¶
func NewFileSchema(in interface{}, context *compiler.Context) (*FileSchema, error)
NewFileSchema creates an object of type FileSchema if possible, returning an error if not.
func (*FileSchema) Descriptor ¶
func (*FileSchema) Descriptor() ([]byte, []int)
func (*FileSchema) GetDefault ¶
func (m *FileSchema) GetDefault() *Any
func (*FileSchema) GetDescription ¶
func (m *FileSchema) GetDescription() string
func (*FileSchema) GetExample ¶
func (m *FileSchema) GetExample() *Any
func (*FileSchema) GetExternalDocs ¶
func (m *FileSchema) GetExternalDocs() *ExternalDocs
func (*FileSchema) GetFormat ¶
func (m *FileSchema) GetFormat() string
func (*FileSchema) GetReadOnly ¶
func (m *FileSchema) GetReadOnly() bool
func (*FileSchema) GetRequired ¶
func (m *FileSchema) GetRequired() []string
func (*FileSchema) GetTitle ¶
func (m *FileSchema) GetTitle() string
func (*FileSchema) GetType ¶
func (m *FileSchema) GetType() string
func (*FileSchema) GetVendorExtension ¶
func (m *FileSchema) GetVendorExtension() []*NamedAny
func (*FileSchema) ProtoMessage ¶
func (*FileSchema) ProtoMessage()
func (*FileSchema) Reset ¶
func (m *FileSchema) Reset()
func (*FileSchema) ResolveReferences ¶
func (m *FileSchema) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside FileSchema objects.
func (*FileSchema) String ¶
func (m *FileSchema) String() string
func (*FileSchema) ToRawInfo ¶
func (m *FileSchema) ToRawInfo() interface{}
ToRawInfo returns a description of FileSchema suitable for JSON or YAML export.
type FormDataParameterSubSchema ¶
type FormDataParameterSubSchema struct { // Determines whether or not this parameter is required or optional. Required bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"` // Determines the location of the parameter. In string `protobuf:"bytes,2,opt,name=in" json:"in,omitempty"` // A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed. Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` // The name of the parameter. Name string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"` // allows sending a parameter by name only or with an empty value. AllowEmptyValue bool `protobuf:"varint,5,opt,name=allow_empty_value,json=allowEmptyValue" json:"allow_empty_value,omitempty"` Type string `protobuf:"bytes,6,opt,name=type" json:"type,omitempty"` Format string `protobuf:"bytes,7,opt,name=format" json:"format,omitempty"` Items *PrimitivesItems `protobuf:"bytes,8,opt,name=items" json:"items,omitempty"` CollectionFormat string `protobuf:"bytes,9,opt,name=collection_format,json=collectionFormat" json:"collection_format,omitempty"` Default *Any `protobuf:"bytes,10,opt,name=default" json:"default,omitempty"` Maximum float64 `protobuf:"fixed64,11,opt,name=maximum" json:"maximum,omitempty"` ExclusiveMaximum bool `protobuf:"varint,12,opt,name=exclusive_maximum,json=exclusiveMaximum" json:"exclusive_maximum,omitempty"` Minimum float64 `protobuf:"fixed64,13,opt,name=minimum" json:"minimum,omitempty"` ExclusiveMinimum bool `protobuf:"varint,14,opt,name=exclusive_minimum,json=exclusiveMinimum" json:"exclusive_minimum,omitempty"` MaxLength int64 `protobuf:"varint,15,opt,name=max_length,json=maxLength" json:"max_length,omitempty"` MinLength int64 `protobuf:"varint,16,opt,name=min_length,json=minLength" json:"min_length,omitempty"` Pattern string `protobuf:"bytes,17,opt,name=pattern" json:"pattern,omitempty"` MaxItems int64 `protobuf:"varint,18,opt,name=max_items,json=maxItems" json:"max_items,omitempty"` MinItems int64 `protobuf:"varint,19,opt,name=min_items,json=minItems" json:"min_items,omitempty"` UniqueItems bool `protobuf:"varint,20,opt,name=unique_items,json=uniqueItems" json:"unique_items,omitempty"` Enum []*Any `protobuf:"bytes,21,rep,name=enum" json:"enum,omitempty"` MultipleOf float64 `protobuf:"fixed64,22,opt,name=multiple_of,json=multipleOf" json:"multiple_of,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,23,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
func NewFormDataParameterSubSchema ¶
func NewFormDataParameterSubSchema(in interface{}, context *compiler.Context) (*FormDataParameterSubSchema, error)
NewFormDataParameterSubSchema creates an object of type FormDataParameterSubSchema if possible, returning an error if not.
func (*FormDataParameterSubSchema) Descriptor ¶
func (*FormDataParameterSubSchema) Descriptor() ([]byte, []int)
func (*FormDataParameterSubSchema) GetAllowEmptyValue ¶
func (m *FormDataParameterSubSchema) GetAllowEmptyValue() bool
func (*FormDataParameterSubSchema) GetCollectionFormat ¶
func (m *FormDataParameterSubSchema) GetCollectionFormat() string
func (*FormDataParameterSubSchema) GetDefault ¶
func (m *FormDataParameterSubSchema) GetDefault() *Any
func (*FormDataParameterSubSchema) GetDescription ¶
func (m *FormDataParameterSubSchema) GetDescription() string
func (*FormDataParameterSubSchema) GetEnum ¶
func (m *FormDataParameterSubSchema) GetEnum() []*Any
func (*FormDataParameterSubSchema) GetExclusiveMaximum ¶
func (m *FormDataParameterSubSchema) GetExclusiveMaximum() bool
func (*FormDataParameterSubSchema) GetExclusiveMinimum ¶
func (m *FormDataParameterSubSchema) GetExclusiveMinimum() bool
func (*FormDataParameterSubSchema) GetFormat ¶
func (m *FormDataParameterSubSchema) GetFormat() string
func (*FormDataParameterSubSchema) GetIn ¶
func (m *FormDataParameterSubSchema) GetIn() string
func (*FormDataParameterSubSchema) GetItems ¶
func (m *FormDataParameterSubSchema) GetItems() *PrimitivesItems
func (*FormDataParameterSubSchema) GetMaxItems ¶
func (m *FormDataParameterSubSchema) GetMaxItems() int64
func (*FormDataParameterSubSchema) GetMaxLength ¶
func (m *FormDataParameterSubSchema) GetMaxLength() int64
func (*FormDataParameterSubSchema) GetMaximum ¶
func (m *FormDataParameterSubSchema) GetMaximum() float64
func (*FormDataParameterSubSchema) GetMinItems ¶
func (m *FormDataParameterSubSchema) GetMinItems() int64
func (*FormDataParameterSubSchema) GetMinLength ¶
func (m *FormDataParameterSubSchema) GetMinLength() int64
func (*FormDataParameterSubSchema) GetMinimum ¶
func (m *FormDataParameterSubSchema) GetMinimum() float64
func (*FormDataParameterSubSchema) GetMultipleOf ¶
func (m *FormDataParameterSubSchema) GetMultipleOf() float64
func (*FormDataParameterSubSchema) GetName ¶
func (m *FormDataParameterSubSchema) GetName() string
func (*FormDataParameterSubSchema) GetPattern ¶
func (m *FormDataParameterSubSchema) GetPattern() string
func (*FormDataParameterSubSchema) GetRequired ¶
func (m *FormDataParameterSubSchema) GetRequired() bool
func (*FormDataParameterSubSchema) GetType ¶
func (m *FormDataParameterSubSchema) GetType() string
func (*FormDataParameterSubSchema) GetUniqueItems ¶
func (m *FormDataParameterSubSchema) GetUniqueItems() bool
func (*FormDataParameterSubSchema) GetVendorExtension ¶
func (m *FormDataParameterSubSchema) GetVendorExtension() []*NamedAny
func (*FormDataParameterSubSchema) ProtoMessage ¶
func (*FormDataParameterSubSchema) ProtoMessage()
func (*FormDataParameterSubSchema) Reset ¶
func (m *FormDataParameterSubSchema) Reset()
func (*FormDataParameterSubSchema) ResolveReferences ¶
func (m *FormDataParameterSubSchema) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside FormDataParameterSubSchema objects.
func (*FormDataParameterSubSchema) String ¶
func (m *FormDataParameterSubSchema) String() string
func (*FormDataParameterSubSchema) ToRawInfo ¶
func (m *FormDataParameterSubSchema) ToRawInfo() interface{}
ToRawInfo returns a description of FormDataParameterSubSchema suitable for JSON or YAML export.
type Header ¶
type Header struct { Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Format string `protobuf:"bytes,2,opt,name=format" json:"format,omitempty"` Items *PrimitivesItems `protobuf:"bytes,3,opt,name=items" json:"items,omitempty"` CollectionFormat string `protobuf:"bytes,4,opt,name=collection_format,json=collectionFormat" json:"collection_format,omitempty"` Default *Any `protobuf:"bytes,5,opt,name=default" json:"default,omitempty"` Maximum float64 `protobuf:"fixed64,6,opt,name=maximum" json:"maximum,omitempty"` ExclusiveMaximum bool `protobuf:"varint,7,opt,name=exclusive_maximum,json=exclusiveMaximum" json:"exclusive_maximum,omitempty"` Minimum float64 `protobuf:"fixed64,8,opt,name=minimum" json:"minimum,omitempty"` ExclusiveMinimum bool `protobuf:"varint,9,opt,name=exclusive_minimum,json=exclusiveMinimum" json:"exclusive_minimum,omitempty"` MaxLength int64 `protobuf:"varint,10,opt,name=max_length,json=maxLength" json:"max_length,omitempty"` MinLength int64 `protobuf:"varint,11,opt,name=min_length,json=minLength" json:"min_length,omitempty"` Pattern string `protobuf:"bytes,12,opt,name=pattern" json:"pattern,omitempty"` MaxItems int64 `protobuf:"varint,13,opt,name=max_items,json=maxItems" json:"max_items,omitempty"` MinItems int64 `protobuf:"varint,14,opt,name=min_items,json=minItems" json:"min_items,omitempty"` UniqueItems bool `protobuf:"varint,15,opt,name=unique_items,json=uniqueItems" json:"unique_items,omitempty"` Enum []*Any `protobuf:"bytes,16,rep,name=enum" json:"enum,omitempty"` MultipleOf float64 `protobuf:"fixed64,17,opt,name=multiple_of,json=multipleOf" json:"multiple_of,omitempty"` Description string `protobuf:"bytes,18,opt,name=description" json:"description,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,19,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
func NewHeader ¶
NewHeader creates an object of type Header if possible, returning an error if not.
func (*Header) GetItems ¶
func (m *Header) GetItems() *PrimitivesItems
func (*Header) ResolveReferences ¶
ResolveReferences resolves references found inside Header objects.
type HeaderParameterSubSchema ¶
type HeaderParameterSubSchema struct { // Determines whether or not this parameter is required or optional. Required bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"` // Determines the location of the parameter. In string `protobuf:"bytes,2,opt,name=in" json:"in,omitempty"` // A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed. Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` // The name of the parameter. Name string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"` Type string `protobuf:"bytes,5,opt,name=type" json:"type,omitempty"` Format string `protobuf:"bytes,6,opt,name=format" json:"format,omitempty"` Items *PrimitivesItems `protobuf:"bytes,7,opt,name=items" json:"items,omitempty"` CollectionFormat string `protobuf:"bytes,8,opt,name=collection_format,json=collectionFormat" json:"collection_format,omitempty"` Default *Any `protobuf:"bytes,9,opt,name=default" json:"default,omitempty"` Maximum float64 `protobuf:"fixed64,10,opt,name=maximum" json:"maximum,omitempty"` ExclusiveMaximum bool `protobuf:"varint,11,opt,name=exclusive_maximum,json=exclusiveMaximum" json:"exclusive_maximum,omitempty"` Minimum float64 `protobuf:"fixed64,12,opt,name=minimum" json:"minimum,omitempty"` ExclusiveMinimum bool `protobuf:"varint,13,opt,name=exclusive_minimum,json=exclusiveMinimum" json:"exclusive_minimum,omitempty"` MaxLength int64 `protobuf:"varint,14,opt,name=max_length,json=maxLength" json:"max_length,omitempty"` MinLength int64 `protobuf:"varint,15,opt,name=min_length,json=minLength" json:"min_length,omitempty"` Pattern string `protobuf:"bytes,16,opt,name=pattern" json:"pattern,omitempty"` MaxItems int64 `protobuf:"varint,17,opt,name=max_items,json=maxItems" json:"max_items,omitempty"` MinItems int64 `protobuf:"varint,18,opt,name=min_items,json=minItems" json:"min_items,omitempty"` UniqueItems bool `protobuf:"varint,19,opt,name=unique_items,json=uniqueItems" json:"unique_items,omitempty"` Enum []*Any `protobuf:"bytes,20,rep,name=enum" json:"enum,omitempty"` MultipleOf float64 `protobuf:"fixed64,21,opt,name=multiple_of,json=multipleOf" json:"multiple_of,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,22,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
func NewHeaderParameterSubSchema ¶
func NewHeaderParameterSubSchema(in interface{}, context *compiler.Context) (*HeaderParameterSubSchema, error)
NewHeaderParameterSubSchema creates an object of type HeaderParameterSubSchema if possible, returning an error if not.
func (*HeaderParameterSubSchema) Descriptor ¶
func (*HeaderParameterSubSchema) Descriptor() ([]byte, []int)
func (*HeaderParameterSubSchema) GetCollectionFormat ¶
func (m *HeaderParameterSubSchema) GetCollectionFormat() string
func (*HeaderParameterSubSchema) GetDefault ¶
func (m *HeaderParameterSubSchema) GetDefault() *Any
func (*HeaderParameterSubSchema) GetDescription ¶
func (m *HeaderParameterSubSchema) GetDescription() string
func (*HeaderParameterSubSchema) GetEnum ¶
func (m *HeaderParameterSubSchema) GetEnum() []*Any
func (*HeaderParameterSubSchema) GetExclusiveMaximum ¶
func (m *HeaderParameterSubSchema) GetExclusiveMaximum() bool
func (*HeaderParameterSubSchema) GetExclusiveMinimum ¶
func (m *HeaderParameterSubSchema) GetExclusiveMinimum() bool
func (*HeaderParameterSubSchema) GetFormat ¶
func (m *HeaderParameterSubSchema) GetFormat() string
func (*HeaderParameterSubSchema) GetIn ¶
func (m *HeaderParameterSubSchema) GetIn() string
func (*HeaderParameterSubSchema) GetItems ¶
func (m *HeaderParameterSubSchema) GetItems() *PrimitivesItems
func (*HeaderParameterSubSchema) GetMaxItems ¶
func (m *HeaderParameterSubSchema) GetMaxItems() int64
func (*HeaderParameterSubSchema) GetMaxLength ¶
func (m *HeaderParameterSubSchema) GetMaxLength() int64
func (*HeaderParameterSubSchema) GetMaximum ¶
func (m *HeaderParameterSubSchema) GetMaximum() float64
func (*HeaderParameterSubSchema) GetMinItems ¶
func (m *HeaderParameterSubSchema) GetMinItems() int64
func (*HeaderParameterSubSchema) GetMinLength ¶
func (m *HeaderParameterSubSchema) GetMinLength() int64
func (*HeaderParameterSubSchema) GetMinimum ¶
func (m *HeaderParameterSubSchema) GetMinimum() float64
func (*HeaderParameterSubSchema) GetMultipleOf ¶
func (m *HeaderParameterSubSchema) GetMultipleOf() float64
func (*HeaderParameterSubSchema) GetName ¶
func (m *HeaderParameterSubSchema) GetName() string
func (*HeaderParameterSubSchema) GetPattern ¶
func (m *HeaderParameterSubSchema) GetPattern() string
func (*HeaderParameterSubSchema) GetRequired ¶
func (m *HeaderParameterSubSchema) GetRequired() bool
func (*HeaderParameterSubSchema) GetType ¶
func (m *HeaderParameterSubSchema) GetType() string
func (*HeaderParameterSubSchema) GetUniqueItems ¶
func (m *HeaderParameterSubSchema) GetUniqueItems() bool
func (*HeaderParameterSubSchema) GetVendorExtension ¶
func (m *HeaderParameterSubSchema) GetVendorExtension() []*NamedAny
func (*HeaderParameterSubSchema) ProtoMessage ¶
func (*HeaderParameterSubSchema) ProtoMessage()
func (*HeaderParameterSubSchema) Reset ¶
func (m *HeaderParameterSubSchema) Reset()
func (*HeaderParameterSubSchema) ResolveReferences ¶
func (m *HeaderParameterSubSchema) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside HeaderParameterSubSchema objects.
func (*HeaderParameterSubSchema) String ¶
func (m *HeaderParameterSubSchema) String() string
func (*HeaderParameterSubSchema) ToRawInfo ¶
func (m *HeaderParameterSubSchema) ToRawInfo() interface{}
ToRawInfo returns a description of HeaderParameterSubSchema suitable for JSON or YAML export.
type Headers ¶
type Headers struct {
AdditionalProperties []*NamedHeader `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"`
}
func NewHeaders ¶
NewHeaders creates an object of type Headers if possible, returning an error if not.
func (*Headers) GetAdditionalProperties ¶
func (m *Headers) GetAdditionalProperties() []*NamedHeader
func (*Headers) ResolveReferences ¶
ResolveReferences resolves references found inside Headers objects.
type Info ¶
type Info struct { // A unique and precise title of the API. Title string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` // A semantic version number of the API. Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` // A longer description of the API. Should be different from the title. GitHub Flavored Markdown is allowed. Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` // The terms of service for the API. TermsOfService string `protobuf:"bytes,4,opt,name=terms_of_service,json=termsOfService" json:"terms_of_service,omitempty"` Contact *Contact `protobuf:"bytes,5,opt,name=contact" json:"contact,omitempty"` License *License `protobuf:"bytes,6,opt,name=license" json:"license,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,7,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
General information about the API.
func NewInfo ¶
NewInfo creates an object of type Info if possible, returning an error if not.
func (*Info) ResolveReferences ¶
ResolveReferences resolves references found inside Info objects.
type ItemsItem ¶
type ItemsItem struct {
Schema []*Schema `protobuf:"bytes,1,rep,name=schema" json:"schema,omitempty"`
}
func NewItemsItem ¶
NewItemsItem creates an object of type ItemsItem if possible, returning an error if not.
func (*ItemsItem) ResolveReferences ¶
ResolveReferences resolves references found inside ItemsItem objects.
type JsonReference ¶
type JsonReference struct { XRef string `protobuf:"bytes,1,opt,name=_ref,json=Ref" json:"_ref,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` }
func NewJsonReference ¶
func NewJsonReference(in interface{}, context *compiler.Context) (*JsonReference, error)
NewJsonReference creates an object of type JsonReference if possible, returning an error if not.
func (*JsonReference) Descriptor ¶
func (*JsonReference) Descriptor() ([]byte, []int)
func (*JsonReference) GetDescription ¶
func (m *JsonReference) GetDescription() string
func (*JsonReference) GetXRef ¶
func (m *JsonReference) GetXRef() string
func (*JsonReference) ProtoMessage ¶
func (*JsonReference) ProtoMessage()
func (*JsonReference) Reset ¶
func (m *JsonReference) Reset()
func (*JsonReference) ResolveReferences ¶
func (m *JsonReference) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside JsonReference objects.
func (*JsonReference) String ¶
func (m *JsonReference) String() string
func (*JsonReference) ToRawInfo ¶
func (m *JsonReference) ToRawInfo() interface{}
ToRawInfo returns a description of JsonReference suitable for JSON or YAML export.
type License ¶
type License struct { // The name of the license type. It's encouraged to use an OSI compatible license. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // The URL pointing to the license. Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,3,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
func NewLicense ¶
NewLicense creates an object of type License if possible, returning an error if not.
func (*License) ResolveReferences ¶
ResolveReferences resolves references found inside License objects.
type NamedAny ¶
type NamedAny struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *Any `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of Any as ordered (name,value) pairs.
func NewNamedAny ¶
NewNamedAny creates an object of type NamedAny if possible, returning an error if not.
func (*NamedAny) ResolveReferences ¶
ResolveReferences resolves references found inside NamedAny objects.
type NamedHeader ¶
type NamedHeader struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *Header `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of Header as ordered (name,value) pairs.
func NewNamedHeader ¶
func NewNamedHeader(in interface{}, context *compiler.Context) (*NamedHeader, error)
NewNamedHeader creates an object of type NamedHeader if possible, returning an error if not.
func (*NamedHeader) Descriptor ¶
func (*NamedHeader) Descriptor() ([]byte, []int)
func (*NamedHeader) GetName ¶
func (m *NamedHeader) GetName() string
func (*NamedHeader) GetValue ¶
func (m *NamedHeader) GetValue() *Header
func (*NamedHeader) ProtoMessage ¶
func (*NamedHeader) ProtoMessage()
func (*NamedHeader) Reset ¶
func (m *NamedHeader) Reset()
func (*NamedHeader) ResolveReferences ¶
func (m *NamedHeader) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedHeader objects.
func (*NamedHeader) String ¶
func (m *NamedHeader) String() string
func (*NamedHeader) ToRawInfo ¶
func (m *NamedHeader) ToRawInfo() interface{}
ToRawInfo returns a description of NamedHeader suitable for JSON or YAML export.
type NamedParameter ¶
type NamedParameter struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *Parameter `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of Parameter as ordered (name,value) pairs.
func NewNamedParameter ¶
func NewNamedParameter(in interface{}, context *compiler.Context) (*NamedParameter, error)
NewNamedParameter creates an object of type NamedParameter if possible, returning an error if not.
func (*NamedParameter) Descriptor ¶
func (*NamedParameter) Descriptor() ([]byte, []int)
func (*NamedParameter) GetName ¶
func (m *NamedParameter) GetName() string
func (*NamedParameter) GetValue ¶
func (m *NamedParameter) GetValue() *Parameter
func (*NamedParameter) ProtoMessage ¶
func (*NamedParameter) ProtoMessage()
func (*NamedParameter) Reset ¶
func (m *NamedParameter) Reset()
func (*NamedParameter) ResolveReferences ¶
func (m *NamedParameter) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedParameter objects.
func (*NamedParameter) String ¶
func (m *NamedParameter) String() string
func (*NamedParameter) ToRawInfo ¶
func (m *NamedParameter) ToRawInfo() interface{}
ToRawInfo returns a description of NamedParameter suitable for JSON or YAML export.
type NamedPathItem ¶
type NamedPathItem struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *PathItem `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of PathItem as ordered (name,value) pairs.
func NewNamedPathItem ¶
func NewNamedPathItem(in interface{}, context *compiler.Context) (*NamedPathItem, error)
NewNamedPathItem creates an object of type NamedPathItem if possible, returning an error if not.
func (*NamedPathItem) Descriptor ¶
func (*NamedPathItem) Descriptor() ([]byte, []int)
func (*NamedPathItem) GetName ¶
func (m *NamedPathItem) GetName() string
func (*NamedPathItem) GetValue ¶
func (m *NamedPathItem) GetValue() *PathItem
func (*NamedPathItem) ProtoMessage ¶
func (*NamedPathItem) ProtoMessage()
func (*NamedPathItem) Reset ¶
func (m *NamedPathItem) Reset()
func (*NamedPathItem) ResolveReferences ¶
func (m *NamedPathItem) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedPathItem objects.
func (*NamedPathItem) String ¶
func (m *NamedPathItem) String() string
func (*NamedPathItem) ToRawInfo ¶
func (m *NamedPathItem) ToRawInfo() interface{}
ToRawInfo returns a description of NamedPathItem suitable for JSON or YAML export.
type NamedResponse ¶
type NamedResponse struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *Response `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of Response as ordered (name,value) pairs.
func NewNamedResponse ¶
func NewNamedResponse(in interface{}, context *compiler.Context) (*NamedResponse, error)
NewNamedResponse creates an object of type NamedResponse if possible, returning an error if not.
func (*NamedResponse) Descriptor ¶
func (*NamedResponse) Descriptor() ([]byte, []int)
func (*NamedResponse) GetName ¶
func (m *NamedResponse) GetName() string
func (*NamedResponse) GetValue ¶
func (m *NamedResponse) GetValue() *Response
func (*NamedResponse) ProtoMessage ¶
func (*NamedResponse) ProtoMessage()
func (*NamedResponse) Reset ¶
func (m *NamedResponse) Reset()
func (*NamedResponse) ResolveReferences ¶
func (m *NamedResponse) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedResponse objects.
func (*NamedResponse) String ¶
func (m *NamedResponse) String() string
func (*NamedResponse) ToRawInfo ¶
func (m *NamedResponse) ToRawInfo() interface{}
ToRawInfo returns a description of NamedResponse suitable for JSON or YAML export.
type NamedResponseValue ¶
type NamedResponseValue struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *ResponseValue `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of ResponseValue as ordered (name,value) pairs.
func NewNamedResponseValue ¶
func NewNamedResponseValue(in interface{}, context *compiler.Context) (*NamedResponseValue, error)
NewNamedResponseValue creates an object of type NamedResponseValue if possible, returning an error if not.
func (*NamedResponseValue) Descriptor ¶
func (*NamedResponseValue) Descriptor() ([]byte, []int)
func (*NamedResponseValue) GetName ¶
func (m *NamedResponseValue) GetName() string
func (*NamedResponseValue) GetValue ¶
func (m *NamedResponseValue) GetValue() *ResponseValue
func (*NamedResponseValue) ProtoMessage ¶
func (*NamedResponseValue) ProtoMessage()
func (*NamedResponseValue) Reset ¶
func (m *NamedResponseValue) Reset()
func (*NamedResponseValue) ResolveReferences ¶
func (m *NamedResponseValue) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedResponseValue objects.
func (*NamedResponseValue) String ¶
func (m *NamedResponseValue) String() string
func (*NamedResponseValue) ToRawInfo ¶
func (m *NamedResponseValue) ToRawInfo() interface{}
ToRawInfo returns a description of NamedResponseValue suitable for JSON or YAML export.
type NamedSchema ¶
type NamedSchema struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *Schema `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of Schema as ordered (name,value) pairs.
func NewNamedSchema ¶
func NewNamedSchema(in interface{}, context *compiler.Context) (*NamedSchema, error)
NewNamedSchema creates an object of type NamedSchema if possible, returning an error if not.
func (*NamedSchema) Descriptor ¶
func (*NamedSchema) Descriptor() ([]byte, []int)
func (*NamedSchema) GetName ¶
func (m *NamedSchema) GetName() string
func (*NamedSchema) GetValue ¶
func (m *NamedSchema) GetValue() *Schema
func (*NamedSchema) ProtoMessage ¶
func (*NamedSchema) ProtoMessage()
func (*NamedSchema) Reset ¶
func (m *NamedSchema) Reset()
func (*NamedSchema) ResolveReferences ¶
func (m *NamedSchema) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedSchema objects.
func (*NamedSchema) String ¶
func (m *NamedSchema) String() string
func (*NamedSchema) ToRawInfo ¶
func (m *NamedSchema) ToRawInfo() interface{}
ToRawInfo returns a description of NamedSchema suitable for JSON or YAML export.
type NamedSecurityDefinitionsItem ¶
type NamedSecurityDefinitionsItem struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *SecurityDefinitionsItem `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of SecurityDefinitionsItem as ordered (name,value) pairs.
func NewNamedSecurityDefinitionsItem ¶
func NewNamedSecurityDefinitionsItem(in interface{}, context *compiler.Context) (*NamedSecurityDefinitionsItem, error)
NewNamedSecurityDefinitionsItem creates an object of type NamedSecurityDefinitionsItem if possible, returning an error if not.
func (*NamedSecurityDefinitionsItem) Descriptor ¶
func (*NamedSecurityDefinitionsItem) Descriptor() ([]byte, []int)
func (*NamedSecurityDefinitionsItem) GetName ¶
func (m *NamedSecurityDefinitionsItem) GetName() string
func (*NamedSecurityDefinitionsItem) GetValue ¶
func (m *NamedSecurityDefinitionsItem) GetValue() *SecurityDefinitionsItem
func (*NamedSecurityDefinitionsItem) ProtoMessage ¶
func (*NamedSecurityDefinitionsItem) ProtoMessage()
func (*NamedSecurityDefinitionsItem) Reset ¶
func (m *NamedSecurityDefinitionsItem) Reset()
func (*NamedSecurityDefinitionsItem) ResolveReferences ¶
func (m *NamedSecurityDefinitionsItem) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedSecurityDefinitionsItem objects.
func (*NamedSecurityDefinitionsItem) String ¶
func (m *NamedSecurityDefinitionsItem) String() string
func (*NamedSecurityDefinitionsItem) ToRawInfo ¶
func (m *NamedSecurityDefinitionsItem) ToRawInfo() interface{}
ToRawInfo returns a description of NamedSecurityDefinitionsItem suitable for JSON or YAML export.
type NamedString ¶
type NamedString struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of string as ordered (name,value) pairs.
func NewNamedString ¶
func NewNamedString(in interface{}, context *compiler.Context) (*NamedString, error)
NewNamedString creates an object of type NamedString if possible, returning an error if not.
func (*NamedString) Descriptor ¶
func (*NamedString) Descriptor() ([]byte, []int)
func (*NamedString) GetName ¶
func (m *NamedString) GetName() string
func (*NamedString) GetValue ¶
func (m *NamedString) GetValue() string
func (*NamedString) ProtoMessage ¶
func (*NamedString) ProtoMessage()
func (*NamedString) Reset ¶
func (m *NamedString) Reset()
func (*NamedString) ResolveReferences ¶
func (m *NamedString) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedString objects.
func (*NamedString) String ¶
func (m *NamedString) String() string
func (*NamedString) ToRawInfo ¶
func (m *NamedString) ToRawInfo() interface{}
ToRawInfo returns a description of NamedString suitable for JSON or YAML export.
type NamedStringArray ¶
type NamedStringArray struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *StringArray `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of StringArray as ordered (name,value) pairs.
func NewNamedStringArray ¶
func NewNamedStringArray(in interface{}, context *compiler.Context) (*NamedStringArray, error)
NewNamedStringArray creates an object of type NamedStringArray if possible, returning an error if not.
func (*NamedStringArray) Descriptor ¶
func (*NamedStringArray) Descriptor() ([]byte, []int)
func (*NamedStringArray) GetName ¶
func (m *NamedStringArray) GetName() string
func (*NamedStringArray) GetValue ¶
func (m *NamedStringArray) GetValue() *StringArray
func (*NamedStringArray) ProtoMessage ¶
func (*NamedStringArray) ProtoMessage()
func (*NamedStringArray) Reset ¶
func (m *NamedStringArray) Reset()
func (*NamedStringArray) ResolveReferences ¶
func (m *NamedStringArray) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedStringArray objects.
func (*NamedStringArray) String ¶
func (m *NamedStringArray) String() string
func (*NamedStringArray) ToRawInfo ¶
func (m *NamedStringArray) ToRawInfo() interface{}
ToRawInfo returns a description of NamedStringArray suitable for JSON or YAML export.
type NonBodyParameter ¶
type NonBodyParameter struct { // Types that are valid to be assigned to Oneof: // *NonBodyParameter_HeaderParameterSubSchema // *NonBodyParameter_FormDataParameterSubSchema // *NonBodyParameter_QueryParameterSubSchema // *NonBodyParameter_PathParameterSubSchema Oneof isNonBodyParameter_Oneof `protobuf_oneof:"oneof"` }
func NewNonBodyParameter ¶
func NewNonBodyParameter(in interface{}, context *compiler.Context) (*NonBodyParameter, error)
NewNonBodyParameter creates an object of type NonBodyParameter if possible, returning an error if not.
func (*NonBodyParameter) Descriptor ¶
func (*NonBodyParameter) Descriptor() ([]byte, []int)
func (*NonBodyParameter) GetFormDataParameterSubSchema ¶
func (m *NonBodyParameter) GetFormDataParameterSubSchema() *FormDataParameterSubSchema
func (*NonBodyParameter) GetHeaderParameterSubSchema ¶
func (m *NonBodyParameter) GetHeaderParameterSubSchema() *HeaderParameterSubSchema
func (*NonBodyParameter) GetOneof ¶
func (m *NonBodyParameter) GetOneof() isNonBodyParameter_Oneof
func (*NonBodyParameter) GetPathParameterSubSchema ¶
func (m *NonBodyParameter) GetPathParameterSubSchema() *PathParameterSubSchema
func (*NonBodyParameter) GetQueryParameterSubSchema ¶
func (m *NonBodyParameter) GetQueryParameterSubSchema() *QueryParameterSubSchema
func (*NonBodyParameter) ProtoMessage ¶
func (*NonBodyParameter) ProtoMessage()
func (*NonBodyParameter) Reset ¶
func (m *NonBodyParameter) Reset()
func (*NonBodyParameter) ResolveReferences ¶
func (m *NonBodyParameter) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NonBodyParameter objects.
func (*NonBodyParameter) String ¶
func (m *NonBodyParameter) String() string
func (*NonBodyParameter) ToRawInfo ¶
func (m *NonBodyParameter) ToRawInfo() interface{}
ToRawInfo returns a description of NonBodyParameter suitable for JSON or YAML export.
func (*NonBodyParameter) XXX_OneofFuncs ¶
func (*NonBodyParameter) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type NonBodyParameter_FormDataParameterSubSchema ¶
type NonBodyParameter_FormDataParameterSubSchema struct {
FormDataParameterSubSchema *FormDataParameterSubSchema `protobuf:"bytes,2,opt,name=form_data_parameter_sub_schema,json=formDataParameterSubSchema,oneof"`
}
type NonBodyParameter_HeaderParameterSubSchema ¶
type NonBodyParameter_HeaderParameterSubSchema struct {
HeaderParameterSubSchema *HeaderParameterSubSchema `protobuf:"bytes,1,opt,name=header_parameter_sub_schema,json=headerParameterSubSchema,oneof"`
}
type NonBodyParameter_PathParameterSubSchema ¶
type NonBodyParameter_PathParameterSubSchema struct {
PathParameterSubSchema *PathParameterSubSchema `protobuf:"bytes,4,opt,name=path_parameter_sub_schema,json=pathParameterSubSchema,oneof"`
}
type NonBodyParameter_QueryParameterSubSchema ¶
type NonBodyParameter_QueryParameterSubSchema struct {
QueryParameterSubSchema *QueryParameterSubSchema `protobuf:"bytes,3,opt,name=query_parameter_sub_schema,json=queryParameterSubSchema,oneof"`
}
type Oauth2AccessCodeSecurity ¶
type Oauth2AccessCodeSecurity struct { Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Flow string `protobuf:"bytes,2,opt,name=flow" json:"flow,omitempty"` Scopes *Oauth2Scopes `protobuf:"bytes,3,opt,name=scopes" json:"scopes,omitempty"` AuthorizationUrl string `protobuf:"bytes,4,opt,name=authorization_url,json=authorizationUrl" json:"authorization_url,omitempty"` TokenUrl string `protobuf:"bytes,5,opt,name=token_url,json=tokenUrl" json:"token_url,omitempty"` Description string `protobuf:"bytes,6,opt,name=description" json:"description,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,7,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
func NewOauth2AccessCodeSecurity ¶
func NewOauth2AccessCodeSecurity(in interface{}, context *compiler.Context) (*Oauth2AccessCodeSecurity, error)
NewOauth2AccessCodeSecurity creates an object of type Oauth2AccessCodeSecurity if possible, returning an error if not.
func (*Oauth2AccessCodeSecurity) Descriptor ¶
func (*Oauth2AccessCodeSecurity) Descriptor() ([]byte, []int)
func (*Oauth2AccessCodeSecurity) GetAuthorizationUrl ¶
func (m *Oauth2AccessCodeSecurity) GetAuthorizationUrl() string
func (*Oauth2AccessCodeSecurity) GetDescription ¶
func (m *Oauth2AccessCodeSecurity) GetDescription() string
func (*Oauth2AccessCodeSecurity) GetFlow ¶
func (m *Oauth2AccessCodeSecurity) GetFlow() string
func (*Oauth2AccessCodeSecurity) GetScopes ¶
func (m *Oauth2AccessCodeSecurity) GetScopes() *Oauth2Scopes
func (*Oauth2AccessCodeSecurity) GetTokenUrl ¶
func (m *Oauth2AccessCodeSecurity) GetTokenUrl() string
func (*Oauth2AccessCodeSecurity) GetType ¶
func (m *Oauth2AccessCodeSecurity) GetType() string
func (*Oauth2AccessCodeSecurity) GetVendorExtension ¶
func (m *Oauth2AccessCodeSecurity) GetVendorExtension() []*NamedAny
func (*Oauth2AccessCodeSecurity) ProtoMessage ¶
func (*Oauth2AccessCodeSecurity) ProtoMessage()
func (*Oauth2AccessCodeSecurity) Reset ¶
func (m *Oauth2AccessCodeSecurity) Reset()
func (*Oauth2AccessCodeSecurity) ResolveReferences ¶
func (m *Oauth2AccessCodeSecurity) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside Oauth2AccessCodeSecurity objects.
func (*Oauth2AccessCodeSecurity) String ¶
func (m *Oauth2AccessCodeSecurity) String() string
func (*Oauth2AccessCodeSecurity) ToRawInfo ¶
func (m *Oauth2AccessCodeSecurity) ToRawInfo() interface{}
ToRawInfo returns a description of Oauth2AccessCodeSecurity suitable for JSON or YAML export.
type Oauth2ApplicationSecurity ¶
type Oauth2ApplicationSecurity struct { Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Flow string `protobuf:"bytes,2,opt,name=flow" json:"flow,omitempty"` Scopes *Oauth2Scopes `protobuf:"bytes,3,opt,name=scopes" json:"scopes,omitempty"` TokenUrl string `protobuf:"bytes,4,opt,name=token_url,json=tokenUrl" json:"token_url,omitempty"` Description string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,6,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
func NewOauth2ApplicationSecurity ¶
func NewOauth2ApplicationSecurity(in interface{}, context *compiler.Context) (*Oauth2ApplicationSecurity, error)
NewOauth2ApplicationSecurity creates an object of type Oauth2ApplicationSecurity if possible, returning an error if not.
func (*Oauth2ApplicationSecurity) Descriptor ¶
func (*Oauth2ApplicationSecurity) Descriptor() ([]byte, []int)
func (*Oauth2ApplicationSecurity) GetDescription ¶
func (m *Oauth2ApplicationSecurity) GetDescription() string
func (*Oauth2ApplicationSecurity) GetFlow ¶
func (m *Oauth2ApplicationSecurity) GetFlow() string
func (*Oauth2ApplicationSecurity) GetScopes ¶
func (m *Oauth2ApplicationSecurity) GetScopes() *Oauth2Scopes
func (*Oauth2ApplicationSecurity) GetTokenUrl ¶
func (m *Oauth2ApplicationSecurity) GetTokenUrl() string
func (*Oauth2ApplicationSecurity) GetType ¶
func (m *Oauth2ApplicationSecurity) GetType() string
func (*Oauth2ApplicationSecurity) GetVendorExtension ¶
func (m *Oauth2ApplicationSecurity) GetVendorExtension() []*NamedAny
func (*Oauth2ApplicationSecurity) ProtoMessage ¶
func (*Oauth2ApplicationSecurity) ProtoMessage()
func (*Oauth2ApplicationSecurity) Reset ¶
func (m *Oauth2ApplicationSecurity) Reset()
func (*Oauth2ApplicationSecurity) ResolveReferences ¶
func (m *Oauth2ApplicationSecurity) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside Oauth2ApplicationSecurity objects.
func (*Oauth2ApplicationSecurity) String ¶
func (m *Oauth2ApplicationSecurity) String() string
func (*Oauth2ApplicationSecurity) ToRawInfo ¶
func (m *Oauth2ApplicationSecurity) ToRawInfo() interface{}
ToRawInfo returns a description of Oauth2ApplicationSecurity suitable for JSON or YAML export.
type Oauth2ImplicitSecurity ¶
type Oauth2ImplicitSecurity struct { Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Flow string `protobuf:"bytes,2,opt,name=flow" json:"flow,omitempty"` Scopes *Oauth2Scopes `protobuf:"bytes,3,opt,name=scopes" json:"scopes,omitempty"` AuthorizationUrl string `protobuf:"bytes,4,opt,name=authorization_url,json=authorizationUrl" json:"authorization_url,omitempty"` Description string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,6,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
func NewOauth2ImplicitSecurity ¶
func NewOauth2ImplicitSecurity(in interface{}, context *compiler.Context) (*Oauth2ImplicitSecurity, error)
NewOauth2ImplicitSecurity creates an object of type Oauth2ImplicitSecurity if possible, returning an error if not.
func (*Oauth2ImplicitSecurity) Descriptor ¶
func (*Oauth2ImplicitSecurity) Descriptor() ([]byte, []int)
func (*Oauth2ImplicitSecurity) GetAuthorizationUrl ¶
func (m *Oauth2ImplicitSecurity) GetAuthorizationUrl() string
func (*Oauth2ImplicitSecurity) GetDescription ¶
func (m *Oauth2ImplicitSecurity) GetDescription() string
func (*Oauth2ImplicitSecurity) GetFlow ¶
func (m *Oauth2ImplicitSecurity) GetFlow() string
func (*Oauth2ImplicitSecurity) GetScopes ¶
func (m *Oauth2ImplicitSecurity) GetScopes() *Oauth2Scopes
func (*Oauth2ImplicitSecurity) GetType ¶
func (m *Oauth2ImplicitSecurity) GetType() string
func (*Oauth2ImplicitSecurity) GetVendorExtension ¶
func (m *Oauth2ImplicitSecurity) GetVendorExtension() []*NamedAny
func (*Oauth2ImplicitSecurity) ProtoMessage ¶
func (*Oauth2ImplicitSecurity) ProtoMessage()
func (*Oauth2ImplicitSecurity) Reset ¶
func (m *Oauth2ImplicitSecurity) Reset()
func (*Oauth2ImplicitSecurity) ResolveReferences ¶
func (m *Oauth2ImplicitSecurity) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside Oauth2ImplicitSecurity objects.
func (*Oauth2ImplicitSecurity) String ¶
func (m *Oauth2ImplicitSecurity) String() string
func (*Oauth2ImplicitSecurity) ToRawInfo ¶
func (m *Oauth2ImplicitSecurity) ToRawInfo() interface{}
ToRawInfo returns a description of Oauth2ImplicitSecurity suitable for JSON or YAML export.
type Oauth2PasswordSecurity ¶
type Oauth2PasswordSecurity struct { Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Flow string `protobuf:"bytes,2,opt,name=flow" json:"flow,omitempty"` Scopes *Oauth2Scopes `protobuf:"bytes,3,opt,name=scopes" json:"scopes,omitempty"` TokenUrl string `protobuf:"bytes,4,opt,name=token_url,json=tokenUrl" json:"token_url,omitempty"` Description string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,6,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
func NewOauth2PasswordSecurity ¶
func NewOauth2PasswordSecurity(in interface{}, context *compiler.Context) (*Oauth2PasswordSecurity, error)
NewOauth2PasswordSecurity creates an object of type Oauth2PasswordSecurity if possible, returning an error if not.
func (*Oauth2PasswordSecurity) Descriptor ¶
func (*Oauth2PasswordSecurity) Descriptor() ([]byte, []int)
func (*Oauth2PasswordSecurity) GetDescription ¶
func (m *Oauth2PasswordSecurity) GetDescription() string
func (*Oauth2PasswordSecurity) GetFlow ¶
func (m *Oauth2PasswordSecurity) GetFlow() string
func (*Oauth2PasswordSecurity) GetScopes ¶
func (m *Oauth2PasswordSecurity) GetScopes() *Oauth2Scopes
func (*Oauth2PasswordSecurity) GetTokenUrl ¶
func (m *Oauth2PasswordSecurity) GetTokenUrl() string
func (*Oauth2PasswordSecurity) GetType ¶
func (m *Oauth2PasswordSecurity) GetType() string
func (*Oauth2PasswordSecurity) GetVendorExtension ¶
func (m *Oauth2PasswordSecurity) GetVendorExtension() []*NamedAny
func (*Oauth2PasswordSecurity) ProtoMessage ¶
func (*Oauth2PasswordSecurity) ProtoMessage()
func (*Oauth2PasswordSecurity) Reset ¶
func (m *Oauth2PasswordSecurity) Reset()
func (*Oauth2PasswordSecurity) ResolveReferences ¶
func (m *Oauth2PasswordSecurity) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside Oauth2PasswordSecurity objects.
func (*Oauth2PasswordSecurity) String ¶
func (m *Oauth2PasswordSecurity) String() string
func (*Oauth2PasswordSecurity) ToRawInfo ¶
func (m *Oauth2PasswordSecurity) ToRawInfo() interface{}
ToRawInfo returns a description of Oauth2PasswordSecurity suitable for JSON or YAML export.
type Oauth2Scopes ¶
type Oauth2Scopes struct {
AdditionalProperties []*NamedString `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"`
}
func NewOauth2Scopes ¶
func NewOauth2Scopes(in interface{}, context *compiler.Context) (*Oauth2Scopes, error)
NewOauth2Scopes creates an object of type Oauth2Scopes if possible, returning an error if not.
func (*Oauth2Scopes) Descriptor ¶
func (*Oauth2Scopes) Descriptor() ([]byte, []int)
func (*Oauth2Scopes) GetAdditionalProperties ¶
func (m *Oauth2Scopes) GetAdditionalProperties() []*NamedString
func (*Oauth2Scopes) ProtoMessage ¶
func (*Oauth2Scopes) ProtoMessage()
func (*Oauth2Scopes) Reset ¶
func (m *Oauth2Scopes) Reset()
func (*Oauth2Scopes) ResolveReferences ¶
func (m *Oauth2Scopes) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside Oauth2Scopes objects.
func (*Oauth2Scopes) String ¶
func (m *Oauth2Scopes) String() string
func (*Oauth2Scopes) ToRawInfo ¶
func (m *Oauth2Scopes) ToRawInfo() interface{}
ToRawInfo returns a description of Oauth2Scopes suitable for JSON or YAML export.
type Operation ¶
type Operation struct { Tags []string `protobuf:"bytes,1,rep,name=tags" json:"tags,omitempty"` // A brief summary of the operation. Summary string `protobuf:"bytes,2,opt,name=summary" json:"summary,omitempty"` // A longer description of the operation, GitHub Flavored Markdown is allowed. Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` ExternalDocs *ExternalDocs `protobuf:"bytes,4,opt,name=external_docs,json=externalDocs" json:"external_docs,omitempty"` // A unique identifier of the operation. OperationId string `protobuf:"bytes,5,opt,name=operation_id,json=operationId" json:"operation_id,omitempty"` // A list of MIME types the API can produce. Produces []string `protobuf:"bytes,6,rep,name=produces" json:"produces,omitempty"` // A list of MIME types the API can consume. Consumes []string `protobuf:"bytes,7,rep,name=consumes" json:"consumes,omitempty"` // The parameters needed to send a valid API call. Parameters []*ParametersItem `protobuf:"bytes,8,rep,name=parameters" json:"parameters,omitempty"` Responses *Responses `protobuf:"bytes,9,opt,name=responses" json:"responses,omitempty"` // The transfer protocol of the API. Schemes []string `protobuf:"bytes,10,rep,name=schemes" json:"schemes,omitempty"` Deprecated bool `protobuf:"varint,11,opt,name=deprecated" json:"deprecated,omitempty"` Security []*SecurityRequirement `protobuf:"bytes,12,rep,name=security" json:"security,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,13,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
func NewOperation ¶
NewOperation creates an object of type Operation if possible, returning an error if not.
func (*Operation) GetExternalDocs ¶
func (m *Operation) GetExternalDocs() *ExternalDocs
func (*Operation) GetParameters ¶
func (m *Operation) GetParameters() []*ParametersItem
func (*Operation) GetSecurity ¶
func (m *Operation) GetSecurity() []*SecurityRequirement
func (*Operation) ResolveReferences ¶
ResolveReferences resolves references found inside Operation objects.
type Parameter ¶
type Parameter struct { // Types that are valid to be assigned to Oneof: // *Parameter_BodyParameter // *Parameter_NonBodyParameter Oneof isParameter_Oneof `protobuf_oneof:"oneof"` }
func NewParameter ¶
NewParameter creates an object of type Parameter if possible, returning an error if not.
func (*Parameter) GetBodyParameter ¶
func (m *Parameter) GetBodyParameter() *BodyParameter
func (*Parameter) GetNonBodyParameter ¶
func (m *Parameter) GetNonBodyParameter() *NonBodyParameter
func (*Parameter) ResolveReferences ¶
ResolveReferences resolves references found inside Parameter objects.
type ParameterDefinitions ¶
type ParameterDefinitions struct {
AdditionalProperties []*NamedParameter `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"`
}
One or more JSON representations for parameters
func NewParameterDefinitions ¶
func NewParameterDefinitions(in interface{}, context *compiler.Context) (*ParameterDefinitions, error)
NewParameterDefinitions creates an object of type ParameterDefinitions if possible, returning an error if not.
func (*ParameterDefinitions) Descriptor ¶
func (*ParameterDefinitions) Descriptor() ([]byte, []int)
func (*ParameterDefinitions) GetAdditionalProperties ¶
func (m *ParameterDefinitions) GetAdditionalProperties() []*NamedParameter
func (*ParameterDefinitions) ProtoMessage ¶
func (*ParameterDefinitions) ProtoMessage()
func (*ParameterDefinitions) Reset ¶
func (m *ParameterDefinitions) Reset()
func (*ParameterDefinitions) ResolveReferences ¶
func (m *ParameterDefinitions) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside ParameterDefinitions objects.
func (*ParameterDefinitions) String ¶
func (m *ParameterDefinitions) String() string
func (*ParameterDefinitions) ToRawInfo ¶
func (m *ParameterDefinitions) ToRawInfo() interface{}
ToRawInfo returns a description of ParameterDefinitions suitable for JSON or YAML export.
type Parameter_BodyParameter ¶
type Parameter_BodyParameter struct {
BodyParameter *BodyParameter `protobuf:"bytes,1,opt,name=body_parameter,json=bodyParameter,oneof"`
}
type Parameter_NonBodyParameter ¶
type Parameter_NonBodyParameter struct {
NonBodyParameter *NonBodyParameter `protobuf:"bytes,2,opt,name=non_body_parameter,json=nonBodyParameter,oneof"`
}
type ParametersItem ¶
type ParametersItem struct { // Types that are valid to be assigned to Oneof: // *ParametersItem_Parameter // *ParametersItem_JsonReference Oneof isParametersItem_Oneof `protobuf_oneof:"oneof"` }
func NewParametersItem ¶
func NewParametersItem(in interface{}, context *compiler.Context) (*ParametersItem, error)
NewParametersItem creates an object of type ParametersItem if possible, returning an error if not.
func (*ParametersItem) Descriptor ¶
func (*ParametersItem) Descriptor() ([]byte, []int)
func (*ParametersItem) GetJsonReference ¶
func (m *ParametersItem) GetJsonReference() *JsonReference
func (*ParametersItem) GetOneof ¶
func (m *ParametersItem) GetOneof() isParametersItem_Oneof
func (*ParametersItem) GetParameter ¶
func (m *ParametersItem) GetParameter() *Parameter
func (*ParametersItem) ProtoMessage ¶
func (*ParametersItem) ProtoMessage()
func (*ParametersItem) Reset ¶
func (m *ParametersItem) Reset()
func (*ParametersItem) ResolveReferences ¶
func (m *ParametersItem) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside ParametersItem objects.
func (*ParametersItem) String ¶
func (m *ParametersItem) String() string
func (*ParametersItem) ToRawInfo ¶
func (m *ParametersItem) ToRawInfo() interface{}
ToRawInfo returns a description of ParametersItem suitable for JSON or YAML export.
func (*ParametersItem) XXX_OneofFuncs ¶
func (*ParametersItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type ParametersItem_JsonReference ¶
type ParametersItem_JsonReference struct {
JsonReference *JsonReference `protobuf:"bytes,2,opt,name=json_reference,json=jsonReference,oneof"`
}
type ParametersItem_Parameter ¶
type ParametersItem_Parameter struct {
Parameter *Parameter `protobuf:"bytes,1,opt,name=parameter,oneof"`
}
type PathItem ¶
type PathItem struct { XRef string `protobuf:"bytes,1,opt,name=_ref,json=Ref" json:"_ref,omitempty"` Get *Operation `protobuf:"bytes,2,opt,name=get" json:"get,omitempty"` Put *Operation `protobuf:"bytes,3,opt,name=put" json:"put,omitempty"` Post *Operation `protobuf:"bytes,4,opt,name=post" json:"post,omitempty"` Delete *Operation `protobuf:"bytes,5,opt,name=delete" json:"delete,omitempty"` Options *Operation `protobuf:"bytes,6,opt,name=options" json:"options,omitempty"` Head *Operation `protobuf:"bytes,7,opt,name=head" json:"head,omitempty"` Patch *Operation `protobuf:"bytes,8,opt,name=patch" json:"patch,omitempty"` // The parameters needed to send a valid API call. Parameters []*ParametersItem `protobuf:"bytes,9,rep,name=parameters" json:"parameters,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,10,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
func NewPathItem ¶
NewPathItem creates an object of type PathItem if possible, returning an error if not.
func (*PathItem) GetParameters ¶
func (m *PathItem) GetParameters() []*ParametersItem
func (*PathItem) ResolveReferences ¶
ResolveReferences resolves references found inside PathItem objects.
type PathParameterSubSchema ¶
type PathParameterSubSchema struct { // Determines whether or not this parameter is required or optional. Required bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"` // Determines the location of the parameter. In string `protobuf:"bytes,2,opt,name=in" json:"in,omitempty"` // A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed. Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` // The name of the parameter. Name string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"` Type string `protobuf:"bytes,5,opt,name=type" json:"type,omitempty"` Format string `protobuf:"bytes,6,opt,name=format" json:"format,omitempty"` Items *PrimitivesItems `protobuf:"bytes,7,opt,name=items" json:"items,omitempty"` CollectionFormat string `protobuf:"bytes,8,opt,name=collection_format,json=collectionFormat" json:"collection_format,omitempty"` Default *Any `protobuf:"bytes,9,opt,name=default" json:"default,omitempty"` Maximum float64 `protobuf:"fixed64,10,opt,name=maximum" json:"maximum,omitempty"` ExclusiveMaximum bool `protobuf:"varint,11,opt,name=exclusive_maximum,json=exclusiveMaximum" json:"exclusive_maximum,omitempty"` Minimum float64 `protobuf:"fixed64,12,opt,name=minimum" json:"minimum,omitempty"` ExclusiveMinimum bool `protobuf:"varint,13,opt,name=exclusive_minimum,json=exclusiveMinimum" json:"exclusive_minimum,omitempty"` MaxLength int64 `protobuf:"varint,14,opt,name=max_length,json=maxLength" json:"max_length,omitempty"` MinLength int64 `protobuf:"varint,15,opt,name=min_length,json=minLength" json:"min_length,omitempty"` Pattern string `protobuf:"bytes,16,opt,name=pattern" json:"pattern,omitempty"` MaxItems int64 `protobuf:"varint,17,opt,name=max_items,json=maxItems" json:"max_items,omitempty"` MinItems int64 `protobuf:"varint,18,opt,name=min_items,json=minItems" json:"min_items,omitempty"` UniqueItems bool `protobuf:"varint,19,opt,name=unique_items,json=uniqueItems" json:"unique_items,omitempty"` Enum []*Any `protobuf:"bytes,20,rep,name=enum" json:"enum,omitempty"` MultipleOf float64 `protobuf:"fixed64,21,opt,name=multiple_of,json=multipleOf" json:"multiple_of,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,22,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
func NewPathParameterSubSchema ¶
func NewPathParameterSubSchema(in interface{}, context *compiler.Context) (*PathParameterSubSchema, error)
NewPathParameterSubSchema creates an object of type PathParameterSubSchema if possible, returning an error if not.
func (*PathParameterSubSchema) Descriptor ¶
func (*PathParameterSubSchema) Descriptor() ([]byte, []int)
func (*PathParameterSubSchema) GetCollectionFormat ¶
func (m *PathParameterSubSchema) GetCollectionFormat() string
func (*PathParameterSubSchema) GetDefault ¶
func (m *PathParameterSubSchema) GetDefault() *Any
func (*PathParameterSubSchema) GetDescription ¶
func (m *PathParameterSubSchema) GetDescription() string
func (*PathParameterSubSchema) GetEnum ¶
func (m *PathParameterSubSchema) GetEnum() []*Any
func (*PathParameterSubSchema) GetExclusiveMaximum ¶
func (m *PathParameterSubSchema) GetExclusiveMaximum() bool
func (*PathParameterSubSchema) GetExclusiveMinimum ¶
func (m *PathParameterSubSchema) GetExclusiveMinimum() bool
func (*PathParameterSubSchema) GetFormat ¶
func (m *PathParameterSubSchema) GetFormat() string
func (*PathParameterSubSchema) GetIn ¶
func (m *PathParameterSubSchema) GetIn() string
func (*PathParameterSubSchema) GetItems ¶
func (m *PathParameterSubSchema) GetItems() *PrimitivesItems
func (*PathParameterSubSchema) GetMaxItems ¶
func (m *PathParameterSubSchema) GetMaxItems() int64
func (*PathParameterSubSchema) GetMaxLength ¶
func (m *PathParameterSubSchema) GetMaxLength() int64
func (*PathParameterSubSchema) GetMaximum ¶
func (m *PathParameterSubSchema) GetMaximum() float64
func (*PathParameterSubSchema) GetMinItems ¶
func (m *PathParameterSubSchema) GetMinItems() int64
func (*PathParameterSubSchema) GetMinLength ¶
func (m *PathParameterSubSchema) GetMinLength() int64
func (*PathParameterSubSchema) GetMinimum ¶
func (m *PathParameterSubSchema) GetMinimum() float64
func (*PathParameterSubSchema) GetMultipleOf ¶
func (m *PathParameterSubSchema) GetMultipleOf() float64
func (*PathParameterSubSchema) GetName ¶
func (m *PathParameterSubSchema) GetName() string
func (*PathParameterSubSchema) GetPattern ¶
func (m *PathParameterSubSchema) GetPattern() string
func (*PathParameterSubSchema) GetRequired ¶
func (m *PathParameterSubSchema) GetRequired() bool
func (*PathParameterSubSchema) GetType ¶
func (m *PathParameterSubSchema) GetType() string
func (*PathParameterSubSchema) GetUniqueItems ¶
func (m *PathParameterSubSchema) GetUniqueItems() bool
func (*PathParameterSubSchema) GetVendorExtension ¶
func (m *PathParameterSubSchema) GetVendorExtension() []*NamedAny
func (*PathParameterSubSchema) ProtoMessage ¶
func (*PathParameterSubSchema) ProtoMessage()
func (*PathParameterSubSchema) Reset ¶
func (m *PathParameterSubSchema) Reset()
func (*PathParameterSubSchema) ResolveReferences ¶
func (m *PathParameterSubSchema) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside PathParameterSubSchema objects.
func (*PathParameterSubSchema) String ¶
func (m *PathParameterSubSchema) String() string
func (*PathParameterSubSchema) ToRawInfo ¶
func (m *PathParameterSubSchema) ToRawInfo() interface{}
ToRawInfo returns a description of PathParameterSubSchema suitable for JSON or YAML export.
type Paths ¶
type Paths struct { VendorExtension []*NamedAny `protobuf:"bytes,1,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` Path []*NamedPathItem `protobuf:"bytes,2,rep,name=path" json:"path,omitempty"` }
Relative paths to the individual endpoints. They must be relative to the 'basePath'.
func NewPaths ¶
NewPaths creates an object of type Paths if possible, returning an error if not.
func (*Paths) GetPath ¶
func (m *Paths) GetPath() []*NamedPathItem
func (*Paths) ResolveReferences ¶
ResolveReferences resolves references found inside Paths objects.
type PrimitivesItems ¶
type PrimitivesItems struct { Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Format string `protobuf:"bytes,2,opt,name=format" json:"format,omitempty"` Items *PrimitivesItems `protobuf:"bytes,3,opt,name=items" json:"items,omitempty"` CollectionFormat string `protobuf:"bytes,4,opt,name=collection_format,json=collectionFormat" json:"collection_format,omitempty"` Default *Any `protobuf:"bytes,5,opt,name=default" json:"default,omitempty"` Maximum float64 `protobuf:"fixed64,6,opt,name=maximum" json:"maximum,omitempty"` ExclusiveMaximum bool `protobuf:"varint,7,opt,name=exclusive_maximum,json=exclusiveMaximum" json:"exclusive_maximum,omitempty"` Minimum float64 `protobuf:"fixed64,8,opt,name=minimum" json:"minimum,omitempty"` ExclusiveMinimum bool `protobuf:"varint,9,opt,name=exclusive_minimum,json=exclusiveMinimum" json:"exclusive_minimum,omitempty"` MaxLength int64 `protobuf:"varint,10,opt,name=max_length,json=maxLength" json:"max_length,omitempty"` MinLength int64 `protobuf:"varint,11,opt,name=min_length,json=minLength" json:"min_length,omitempty"` Pattern string `protobuf:"bytes,12,opt,name=pattern" json:"pattern,omitempty"` MaxItems int64 `protobuf:"varint,13,opt,name=max_items,json=maxItems" json:"max_items,omitempty"` MinItems int64 `protobuf:"varint,14,opt,name=min_items,json=minItems" json:"min_items,omitempty"` UniqueItems bool `protobuf:"varint,15,opt,name=unique_items,json=uniqueItems" json:"unique_items,omitempty"` Enum []*Any `protobuf:"bytes,16,rep,name=enum" json:"enum,omitempty"` MultipleOf float64 `protobuf:"fixed64,17,opt,name=multiple_of,json=multipleOf" json:"multiple_of,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,18,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
func NewPrimitivesItems ¶
func NewPrimitivesItems(in interface{}, context *compiler.Context) (*PrimitivesItems, error)
NewPrimitivesItems creates an object of type PrimitivesItems if possible, returning an error if not.
func (*PrimitivesItems) Descriptor ¶
func (*PrimitivesItems) Descriptor() ([]byte, []int)
func (*PrimitivesItems) GetCollectionFormat ¶
func (m *PrimitivesItems) GetCollectionFormat() string
func (*PrimitivesItems) GetDefault ¶
func (m *PrimitivesItems) GetDefault() *Any
func (*PrimitivesItems) GetEnum ¶
func (m *PrimitivesItems) GetEnum() []*Any
func (*PrimitivesItems) GetExclusiveMaximum ¶
func (m *PrimitivesItems) GetExclusiveMaximum() bool
func (*PrimitivesItems) GetExclusiveMinimum ¶
func (m *PrimitivesItems) GetExclusiveMinimum() bool
func (*PrimitivesItems) GetFormat ¶
func (m *PrimitivesItems) GetFormat() string
func (*PrimitivesItems) GetItems ¶
func (m *PrimitivesItems) GetItems() *PrimitivesItems
func (*PrimitivesItems) GetMaxItems ¶
func (m *PrimitivesItems) GetMaxItems() int64
func (*PrimitivesItems) GetMaxLength ¶
func (m *PrimitivesItems) GetMaxLength() int64
func (*PrimitivesItems) GetMaximum ¶
func (m *PrimitivesItems) GetMaximum() float64
func (*PrimitivesItems) GetMinItems ¶
func (m *PrimitivesItems) GetMinItems() int64
func (*PrimitivesItems) GetMinLength ¶
func (m *PrimitivesItems) GetMinLength() int64
func (*PrimitivesItems) GetMinimum ¶
func (m *PrimitivesItems) GetMinimum() float64
func (*PrimitivesItems) GetMultipleOf ¶
func (m *PrimitivesItems) GetMultipleOf() float64
func (*PrimitivesItems) GetPattern ¶
func (m *PrimitivesItems) GetPattern() string
func (*PrimitivesItems) GetType ¶
func (m *PrimitivesItems) GetType() string
func (*PrimitivesItems) GetUniqueItems ¶
func (m *PrimitivesItems) GetUniqueItems() bool
func (*PrimitivesItems) GetVendorExtension ¶
func (m *PrimitivesItems) GetVendorExtension() []*NamedAny
func (*PrimitivesItems) ProtoMessage ¶
func (*PrimitivesItems) ProtoMessage()
func (*PrimitivesItems) Reset ¶
func (m *PrimitivesItems) Reset()
func (*PrimitivesItems) ResolveReferences ¶
func (m *PrimitivesItems) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside PrimitivesItems objects.
func (*PrimitivesItems) String ¶
func (m *PrimitivesItems) String() string
func (*PrimitivesItems) ToRawInfo ¶
func (m *PrimitivesItems) ToRawInfo() interface{}
ToRawInfo returns a description of PrimitivesItems suitable for JSON or YAML export.
type Properties ¶
type Properties struct {
AdditionalProperties []*NamedSchema `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"`
}
func NewProperties ¶
func NewProperties(in interface{}, context *compiler.Context) (*Properties, error)
NewProperties creates an object of type Properties if possible, returning an error if not.
func (*Properties) Descriptor ¶
func (*Properties) Descriptor() ([]byte, []int)
func (*Properties) GetAdditionalProperties ¶
func (m *Properties) GetAdditionalProperties() []*NamedSchema
func (*Properties) ProtoMessage ¶
func (*Properties) ProtoMessage()
func (*Properties) Reset ¶
func (m *Properties) Reset()
func (*Properties) ResolveReferences ¶
func (m *Properties) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside Properties objects.
func (*Properties) String ¶
func (m *Properties) String() string
func (*Properties) ToRawInfo ¶
func (m *Properties) ToRawInfo() interface{}
ToRawInfo returns a description of Properties suitable for JSON or YAML export.
type QueryParameterSubSchema ¶
type QueryParameterSubSchema struct { // Determines whether or not this parameter is required or optional. Required bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"` // Determines the location of the parameter. In string `protobuf:"bytes,2,opt,name=in" json:"in,omitempty"` // A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed. Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` // The name of the parameter. Name string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"` // allows sending a parameter by name only or with an empty value. AllowEmptyValue bool `protobuf:"varint,5,opt,name=allow_empty_value,json=allowEmptyValue" json:"allow_empty_value,omitempty"` Type string `protobuf:"bytes,6,opt,name=type" json:"type,omitempty"` Format string `protobuf:"bytes,7,opt,name=format" json:"format,omitempty"` Items *PrimitivesItems `protobuf:"bytes,8,opt,name=items" json:"items,omitempty"` CollectionFormat string `protobuf:"bytes,9,opt,name=collection_format,json=collectionFormat" json:"collection_format,omitempty"` Default *Any `protobuf:"bytes,10,opt,name=default" json:"default,omitempty"` Maximum float64 `protobuf:"fixed64,11,opt,name=maximum" json:"maximum,omitempty"` ExclusiveMaximum bool `protobuf:"varint,12,opt,name=exclusive_maximum,json=exclusiveMaximum" json:"exclusive_maximum,omitempty"` Minimum float64 `protobuf:"fixed64,13,opt,name=minimum" json:"minimum,omitempty"` ExclusiveMinimum bool `protobuf:"varint,14,opt,name=exclusive_minimum,json=exclusiveMinimum" json:"exclusive_minimum,omitempty"` MaxLength int64 `protobuf:"varint,15,opt,name=max_length,json=maxLength" json:"max_length,omitempty"` MinLength int64 `protobuf:"varint,16,opt,name=min_length,json=minLength" json:"min_length,omitempty"` Pattern string `protobuf:"bytes,17,opt,name=pattern" json:"pattern,omitempty"` MaxItems int64 `protobuf:"varint,18,opt,name=max_items,json=maxItems" json:"max_items,omitempty"` MinItems int64 `protobuf:"varint,19,opt,name=min_items,json=minItems" json:"min_items,omitempty"` UniqueItems bool `protobuf:"varint,20,opt,name=unique_items,json=uniqueItems" json:"unique_items,omitempty"` Enum []*Any `protobuf:"bytes,21,rep,name=enum" json:"enum,omitempty"` MultipleOf float64 `protobuf:"fixed64,22,opt,name=multiple_of,json=multipleOf" json:"multiple_of,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,23,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
func NewQueryParameterSubSchema ¶
func NewQueryParameterSubSchema(in interface{}, context *compiler.Context) (*QueryParameterSubSchema, error)
NewQueryParameterSubSchema creates an object of type QueryParameterSubSchema if possible, returning an error if not.
func (*QueryParameterSubSchema) Descriptor ¶
func (*QueryParameterSubSchema) Descriptor() ([]byte, []int)
func (*QueryParameterSubSchema) GetAllowEmptyValue ¶
func (m *QueryParameterSubSchema) GetAllowEmptyValue() bool
func (*QueryParameterSubSchema) GetCollectionFormat ¶
func (m *QueryParameterSubSchema) GetCollectionFormat() string
func (*QueryParameterSubSchema) GetDefault ¶
func (m *QueryParameterSubSchema) GetDefault() *Any
func (*QueryParameterSubSchema) GetDescription ¶
func (m *QueryParameterSubSchema) GetDescription() string
func (*QueryParameterSubSchema) GetEnum ¶
func (m *QueryParameterSubSchema) GetEnum() []*Any
func (*QueryParameterSubSchema) GetExclusiveMaximum ¶
func (m *QueryParameterSubSchema) GetExclusiveMaximum() bool
func (*QueryParameterSubSchema) GetExclusiveMinimum ¶
func (m *QueryParameterSubSchema) GetExclusiveMinimum() bool
func (*QueryParameterSubSchema) GetFormat ¶
func (m *QueryParameterSubSchema) GetFormat() string
func (*QueryParameterSubSchema) GetIn ¶
func (m *QueryParameterSubSchema) GetIn() string
func (*QueryParameterSubSchema) GetItems ¶
func (m *QueryParameterSubSchema) GetItems() *PrimitivesItems
func (*QueryParameterSubSchema) GetMaxItems ¶
func (m *QueryParameterSubSchema) GetMaxItems() int64
func (*QueryParameterSubSchema) GetMaxLength ¶
func (m *QueryParameterSubSchema) GetMaxLength() int64
func (*QueryParameterSubSchema) GetMaximum ¶
func (m *QueryParameterSubSchema) GetMaximum() float64
func (*QueryParameterSubSchema) GetMinItems ¶
func (m *QueryParameterSubSchema) GetMinItems() int64
func (*QueryParameterSubSchema) GetMinLength ¶
func (m *QueryParameterSubSchema) GetMinLength() int64
func (*QueryParameterSubSchema) GetMinimum ¶
func (m *QueryParameterSubSchema) GetMinimum() float64
func (*QueryParameterSubSchema) GetMultipleOf ¶
func (m *QueryParameterSubSchema) GetMultipleOf() float64
func (*QueryParameterSubSchema) GetName ¶
func (m *QueryParameterSubSchema) GetName() string
func (*QueryParameterSubSchema) GetPattern ¶
func (m *QueryParameterSubSchema) GetPattern() string
func (*QueryParameterSubSchema) GetRequired ¶
func (m *QueryParameterSubSchema) GetRequired() bool
func (*QueryParameterSubSchema) GetType ¶
func (m *QueryParameterSubSchema) GetType() string
func (*QueryParameterSubSchema) GetUniqueItems ¶
func (m *QueryParameterSubSchema) GetUniqueItems() bool
func (*QueryParameterSubSchema) GetVendorExtension ¶
func (m *QueryParameterSubSchema) GetVendorExtension() []*NamedAny
func (*QueryParameterSubSchema) ProtoMessage ¶
func (*QueryParameterSubSchema) ProtoMessage()
func (*QueryParameterSubSchema) Reset ¶
func (m *QueryParameterSubSchema) Reset()
func (*QueryParameterSubSchema) ResolveReferences ¶
func (m *QueryParameterSubSchema) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside QueryParameterSubSchema objects.
func (*QueryParameterSubSchema) String ¶
func (m *QueryParameterSubSchema) String() string
func (*QueryParameterSubSchema) ToRawInfo ¶
func (m *QueryParameterSubSchema) ToRawInfo() interface{}
ToRawInfo returns a description of QueryParameterSubSchema suitable for JSON or YAML export.
type Response ¶
type Response struct { Description string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"` Schema *SchemaItem `protobuf:"bytes,2,opt,name=schema" json:"schema,omitempty"` Headers *Headers `protobuf:"bytes,3,opt,name=headers" json:"headers,omitempty"` Examples *Examples `protobuf:"bytes,4,opt,name=examples" json:"examples,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,5,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
func NewResponse ¶
NewResponse creates an object of type Response if possible, returning an error if not.
func (*Response) GetSchema ¶
func (m *Response) GetSchema() *SchemaItem
func (*Response) ResolveReferences ¶
ResolveReferences resolves references found inside Response objects.
type ResponseDefinitions ¶
type ResponseDefinitions struct {
AdditionalProperties []*NamedResponse `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"`
}
One or more JSON representations for parameters
func NewResponseDefinitions ¶
func NewResponseDefinitions(in interface{}, context *compiler.Context) (*ResponseDefinitions, error)
NewResponseDefinitions creates an object of type ResponseDefinitions if possible, returning an error if not.
func (*ResponseDefinitions) Descriptor ¶
func (*ResponseDefinitions) Descriptor() ([]byte, []int)
func (*ResponseDefinitions) GetAdditionalProperties ¶
func (m *ResponseDefinitions) GetAdditionalProperties() []*NamedResponse
func (*ResponseDefinitions) ProtoMessage ¶
func (*ResponseDefinitions) ProtoMessage()
func (*ResponseDefinitions) Reset ¶
func (m *ResponseDefinitions) Reset()
func (*ResponseDefinitions) ResolveReferences ¶
func (m *ResponseDefinitions) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside ResponseDefinitions objects.
func (*ResponseDefinitions) String ¶
func (m *ResponseDefinitions) String() string
func (*ResponseDefinitions) ToRawInfo ¶
func (m *ResponseDefinitions) ToRawInfo() interface{}
ToRawInfo returns a description of ResponseDefinitions suitable for JSON or YAML export.
type ResponseValue ¶
type ResponseValue struct { // Types that are valid to be assigned to Oneof: // *ResponseValue_Response // *ResponseValue_JsonReference Oneof isResponseValue_Oneof `protobuf_oneof:"oneof"` }
func NewResponseValue ¶
func NewResponseValue(in interface{}, context *compiler.Context) (*ResponseValue, error)
NewResponseValue creates an object of type ResponseValue if possible, returning an error if not.
func (*ResponseValue) Descriptor ¶
func (*ResponseValue) Descriptor() ([]byte, []int)
func (*ResponseValue) GetJsonReference ¶
func (m *ResponseValue) GetJsonReference() *JsonReference
func (*ResponseValue) GetOneof ¶
func (m *ResponseValue) GetOneof() isResponseValue_Oneof
func (*ResponseValue) GetResponse ¶
func (m *ResponseValue) GetResponse() *Response
func (*ResponseValue) ProtoMessage ¶
func (*ResponseValue) ProtoMessage()
func (*ResponseValue) Reset ¶
func (m *ResponseValue) Reset()
func (*ResponseValue) ResolveReferences ¶
func (m *ResponseValue) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside ResponseValue objects.
func (*ResponseValue) String ¶
func (m *ResponseValue) String() string
func (*ResponseValue) ToRawInfo ¶
func (m *ResponseValue) ToRawInfo() interface{}
ToRawInfo returns a description of ResponseValue suitable for JSON or YAML export.
func (*ResponseValue) XXX_OneofFuncs ¶
func (*ResponseValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type ResponseValue_JsonReference ¶
type ResponseValue_JsonReference struct {
JsonReference *JsonReference `protobuf:"bytes,2,opt,name=json_reference,json=jsonReference,oneof"`
}
type ResponseValue_Response ¶
type ResponseValue_Response struct {
Response *Response `protobuf:"bytes,1,opt,name=response,oneof"`
}
type Responses ¶
type Responses struct { ResponseCode []*NamedResponseValue `protobuf:"bytes,1,rep,name=response_code,json=responseCode" json:"response_code,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,2,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
Response objects names can either be any valid HTTP status code or 'default'.
func NewResponses ¶
NewResponses creates an object of type Responses if possible, returning an error if not.
func (*Responses) GetResponseCode ¶
func (m *Responses) GetResponseCode() []*NamedResponseValue
func (*Responses) ResolveReferences ¶
ResolveReferences resolves references found inside Responses objects.
type Schema ¶
type Schema struct { XRef string `protobuf:"bytes,1,opt,name=_ref,json=Ref" json:"_ref,omitempty"` Format string `protobuf:"bytes,2,opt,name=format" json:"format,omitempty"` Title string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"` Description string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"` Default *Any `protobuf:"bytes,5,opt,name=default" json:"default,omitempty"` MultipleOf float64 `protobuf:"fixed64,6,opt,name=multiple_of,json=multipleOf" json:"multiple_of,omitempty"` Maximum float64 `protobuf:"fixed64,7,opt,name=maximum" json:"maximum,omitempty"` ExclusiveMaximum bool `protobuf:"varint,8,opt,name=exclusive_maximum,json=exclusiveMaximum" json:"exclusive_maximum,omitempty"` Minimum float64 `protobuf:"fixed64,9,opt,name=minimum" json:"minimum,omitempty"` ExclusiveMinimum bool `protobuf:"varint,10,opt,name=exclusive_minimum,json=exclusiveMinimum" json:"exclusive_minimum,omitempty"` MaxLength int64 `protobuf:"varint,11,opt,name=max_length,json=maxLength" json:"max_length,omitempty"` MinLength int64 `protobuf:"varint,12,opt,name=min_length,json=minLength" json:"min_length,omitempty"` Pattern string `protobuf:"bytes,13,opt,name=pattern" json:"pattern,omitempty"` MaxItems int64 `protobuf:"varint,14,opt,name=max_items,json=maxItems" json:"max_items,omitempty"` MinItems int64 `protobuf:"varint,15,opt,name=min_items,json=minItems" json:"min_items,omitempty"` UniqueItems bool `protobuf:"varint,16,opt,name=unique_items,json=uniqueItems" json:"unique_items,omitempty"` MaxProperties int64 `protobuf:"varint,17,opt,name=max_properties,json=maxProperties" json:"max_properties,omitempty"` MinProperties int64 `protobuf:"varint,18,opt,name=min_properties,json=minProperties" json:"min_properties,omitempty"` Required []string `protobuf:"bytes,19,rep,name=required" json:"required,omitempty"` Enum []*Any `protobuf:"bytes,20,rep,name=enum" json:"enum,omitempty"` AdditionalProperties *AdditionalPropertiesItem `protobuf:"bytes,21,opt,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"` Type *TypeItem `protobuf:"bytes,22,opt,name=type" json:"type,omitempty"` Items *ItemsItem `protobuf:"bytes,23,opt,name=items" json:"items,omitempty"` AllOf []*Schema `protobuf:"bytes,24,rep,name=all_of,json=allOf" json:"all_of,omitempty"` Properties *Properties `protobuf:"bytes,25,opt,name=properties" json:"properties,omitempty"` Discriminator string `protobuf:"bytes,26,opt,name=discriminator" json:"discriminator,omitempty"` ReadOnly bool `protobuf:"varint,27,opt,name=read_only,json=readOnly" json:"read_only,omitempty"` Xml *Xml `protobuf:"bytes,28,opt,name=xml" json:"xml,omitempty"` ExternalDocs *ExternalDocs `protobuf:"bytes,29,opt,name=external_docs,json=externalDocs" json:"external_docs,omitempty"` Example *Any `protobuf:"bytes,30,opt,name=example" json:"example,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,31,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
A deterministic version of a JSON Schema object.
func NewSchema ¶
NewSchema creates an object of type Schema if possible, returning an error if not.
func (*Schema) GetAdditionalProperties ¶
func (m *Schema) GetAdditionalProperties() *AdditionalPropertiesItem
func (*Schema) GetExternalDocs ¶
func (m *Schema) GetExternalDocs() *ExternalDocs
func (*Schema) GetProperties ¶
func (m *Schema) GetProperties() *Properties
func (*Schema) ResolveReferences ¶
ResolveReferences resolves references found inside Schema objects.
type SchemaItem ¶
type SchemaItem struct { // Types that are valid to be assigned to Oneof: // *SchemaItem_Schema // *SchemaItem_FileSchema Oneof isSchemaItem_Oneof `protobuf_oneof:"oneof"` }
func NewSchemaItem ¶
func NewSchemaItem(in interface{}, context *compiler.Context) (*SchemaItem, error)
NewSchemaItem creates an object of type SchemaItem if possible, returning an error if not.
func (*SchemaItem) Descriptor ¶
func (*SchemaItem) Descriptor() ([]byte, []int)
func (*SchemaItem) GetFileSchema ¶
func (m *SchemaItem) GetFileSchema() *FileSchema
func (*SchemaItem) GetOneof ¶
func (m *SchemaItem) GetOneof() isSchemaItem_Oneof
func (*SchemaItem) GetSchema ¶
func (m *SchemaItem) GetSchema() *Schema
func (*SchemaItem) ProtoMessage ¶
func (*SchemaItem) ProtoMessage()
func (*SchemaItem) Reset ¶
func (m *SchemaItem) Reset()
func (*SchemaItem) ResolveReferences ¶
func (m *SchemaItem) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside SchemaItem objects.
func (*SchemaItem) String ¶
func (m *SchemaItem) String() string
func (*SchemaItem) ToRawInfo ¶
func (m *SchemaItem) ToRawInfo() interface{}
ToRawInfo returns a description of SchemaItem suitable for JSON or YAML export.
func (*SchemaItem) XXX_OneofFuncs ¶
func (*SchemaItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type SchemaItem_FileSchema ¶
type SchemaItem_FileSchema struct {
FileSchema *FileSchema `protobuf:"bytes,2,opt,name=file_schema,json=fileSchema,oneof"`
}
type SchemaItem_Schema ¶
type SchemaItem_Schema struct {
Schema *Schema `protobuf:"bytes,1,opt,name=schema,oneof"`
}
type SecurityDefinitions ¶
type SecurityDefinitions struct {
AdditionalProperties []*NamedSecurityDefinitionsItem `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"`
}
func NewSecurityDefinitions ¶
func NewSecurityDefinitions(in interface{}, context *compiler.Context) (*SecurityDefinitions, error)
NewSecurityDefinitions creates an object of type SecurityDefinitions if possible, returning an error if not.
func (*SecurityDefinitions) Descriptor ¶
func (*SecurityDefinitions) Descriptor() ([]byte, []int)
func (*SecurityDefinitions) GetAdditionalProperties ¶
func (m *SecurityDefinitions) GetAdditionalProperties() []*NamedSecurityDefinitionsItem
func (*SecurityDefinitions) ProtoMessage ¶
func (*SecurityDefinitions) ProtoMessage()
func (*SecurityDefinitions) Reset ¶
func (m *SecurityDefinitions) Reset()
func (*SecurityDefinitions) ResolveReferences ¶
func (m *SecurityDefinitions) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside SecurityDefinitions objects.
func (*SecurityDefinitions) String ¶
func (m *SecurityDefinitions) String() string
func (*SecurityDefinitions) ToRawInfo ¶
func (m *SecurityDefinitions) ToRawInfo() interface{}
ToRawInfo returns a description of SecurityDefinitions suitable for JSON or YAML export.
type SecurityDefinitionsItem ¶
type SecurityDefinitionsItem struct { // Types that are valid to be assigned to Oneof: // *SecurityDefinitionsItem_BasicAuthenticationSecurity // *SecurityDefinitionsItem_ApiKeySecurity // *SecurityDefinitionsItem_Oauth2ImplicitSecurity // *SecurityDefinitionsItem_Oauth2PasswordSecurity // *SecurityDefinitionsItem_Oauth2ApplicationSecurity // *SecurityDefinitionsItem_Oauth2AccessCodeSecurity Oneof isSecurityDefinitionsItem_Oneof `protobuf_oneof:"oneof"` }
func NewSecurityDefinitionsItem ¶
func NewSecurityDefinitionsItem(in interface{}, context *compiler.Context) (*SecurityDefinitionsItem, error)
NewSecurityDefinitionsItem creates an object of type SecurityDefinitionsItem if possible, returning an error if not.
func (*SecurityDefinitionsItem) Descriptor ¶
func (*SecurityDefinitionsItem) Descriptor() ([]byte, []int)
func (*SecurityDefinitionsItem) GetApiKeySecurity ¶
func (m *SecurityDefinitionsItem) GetApiKeySecurity() *ApiKeySecurity
func (*SecurityDefinitionsItem) GetBasicAuthenticationSecurity ¶
func (m *SecurityDefinitionsItem) GetBasicAuthenticationSecurity() *BasicAuthenticationSecurity
func (*SecurityDefinitionsItem) GetOauth2AccessCodeSecurity ¶
func (m *SecurityDefinitionsItem) GetOauth2AccessCodeSecurity() *Oauth2AccessCodeSecurity
func (*SecurityDefinitionsItem) GetOauth2ApplicationSecurity ¶
func (m *SecurityDefinitionsItem) GetOauth2ApplicationSecurity() *Oauth2ApplicationSecurity
func (*SecurityDefinitionsItem) GetOauth2ImplicitSecurity ¶
func (m *SecurityDefinitionsItem) GetOauth2ImplicitSecurity() *Oauth2ImplicitSecurity
func (*SecurityDefinitionsItem) GetOauth2PasswordSecurity ¶
func (m *SecurityDefinitionsItem) GetOauth2PasswordSecurity() *Oauth2PasswordSecurity
func (*SecurityDefinitionsItem) GetOneof ¶
func (m *SecurityDefinitionsItem) GetOneof() isSecurityDefinitionsItem_Oneof
func (*SecurityDefinitionsItem) ProtoMessage ¶
func (*SecurityDefinitionsItem) ProtoMessage()
func (*SecurityDefinitionsItem) Reset ¶
func (m *SecurityDefinitionsItem) Reset()
func (*SecurityDefinitionsItem) ResolveReferences ¶
func (m *SecurityDefinitionsItem) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside SecurityDefinitionsItem objects.
func (*SecurityDefinitionsItem) String ¶
func (m *SecurityDefinitionsItem) String() string
func (*SecurityDefinitionsItem) ToRawInfo ¶
func (m *SecurityDefinitionsItem) ToRawInfo() interface{}
ToRawInfo returns a description of SecurityDefinitionsItem suitable for JSON or YAML export.
func (*SecurityDefinitionsItem) XXX_OneofFuncs ¶
func (*SecurityDefinitionsItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type SecurityDefinitionsItem_ApiKeySecurity ¶
type SecurityDefinitionsItem_ApiKeySecurity struct {
ApiKeySecurity *ApiKeySecurity `protobuf:"bytes,2,opt,name=api_key_security,json=apiKeySecurity,oneof"`
}
type SecurityDefinitionsItem_BasicAuthenticationSecurity ¶
type SecurityDefinitionsItem_BasicAuthenticationSecurity struct {
BasicAuthenticationSecurity *BasicAuthenticationSecurity `protobuf:"bytes,1,opt,name=basic_authentication_security,json=basicAuthenticationSecurity,oneof"`
}
type SecurityDefinitionsItem_Oauth2AccessCodeSecurity ¶
type SecurityDefinitionsItem_Oauth2AccessCodeSecurity struct {
Oauth2AccessCodeSecurity *Oauth2AccessCodeSecurity `protobuf:"bytes,6,opt,name=oauth2_access_code_security,json=oauth2AccessCodeSecurity,oneof"`
}
type SecurityDefinitionsItem_Oauth2ApplicationSecurity ¶
type SecurityDefinitionsItem_Oauth2ApplicationSecurity struct {
Oauth2ApplicationSecurity *Oauth2ApplicationSecurity `protobuf:"bytes,5,opt,name=oauth2_application_security,json=oauth2ApplicationSecurity,oneof"`
}
type SecurityDefinitionsItem_Oauth2ImplicitSecurity ¶
type SecurityDefinitionsItem_Oauth2ImplicitSecurity struct {
Oauth2ImplicitSecurity *Oauth2ImplicitSecurity `protobuf:"bytes,3,opt,name=oauth2_implicit_security,json=oauth2ImplicitSecurity,oneof"`
}
type SecurityDefinitionsItem_Oauth2PasswordSecurity ¶
type SecurityDefinitionsItem_Oauth2PasswordSecurity struct {
Oauth2PasswordSecurity *Oauth2PasswordSecurity `protobuf:"bytes,4,opt,name=oauth2_password_security,json=oauth2PasswordSecurity,oneof"`
}
type SecurityRequirement ¶
type SecurityRequirement struct {
AdditionalProperties []*NamedStringArray `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"`
}
func NewSecurityRequirement ¶
func NewSecurityRequirement(in interface{}, context *compiler.Context) (*SecurityRequirement, error)
NewSecurityRequirement creates an object of type SecurityRequirement if possible, returning an error if not.
func (*SecurityRequirement) Descriptor ¶
func (*SecurityRequirement) Descriptor() ([]byte, []int)
func (*SecurityRequirement) GetAdditionalProperties ¶
func (m *SecurityRequirement) GetAdditionalProperties() []*NamedStringArray
func (*SecurityRequirement) ProtoMessage ¶
func (*SecurityRequirement) ProtoMessage()
func (*SecurityRequirement) Reset ¶
func (m *SecurityRequirement) Reset()
func (*SecurityRequirement) ResolveReferences ¶
func (m *SecurityRequirement) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside SecurityRequirement objects.
func (*SecurityRequirement) String ¶
func (m *SecurityRequirement) String() string
func (*SecurityRequirement) ToRawInfo ¶
func (m *SecurityRequirement) ToRawInfo() interface{}
ToRawInfo returns a description of SecurityRequirement suitable for JSON or YAML export.
type StringArray ¶
type StringArray struct {
Value []string `protobuf:"bytes,1,rep,name=value" json:"value,omitempty"`
}
func NewStringArray ¶
func NewStringArray(in interface{}, context *compiler.Context) (*StringArray, error)
NewStringArray creates an object of type StringArray if possible, returning an error if not.
func (*StringArray) Descriptor ¶
func (*StringArray) Descriptor() ([]byte, []int)
func (*StringArray) GetValue ¶
func (m *StringArray) GetValue() []string
func (*StringArray) ProtoMessage ¶
func (*StringArray) ProtoMessage()
func (*StringArray) Reset ¶
func (m *StringArray) Reset()
func (*StringArray) ResolveReferences ¶
func (m *StringArray) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside StringArray objects.
func (*StringArray) String ¶
func (m *StringArray) String() string
func (*StringArray) ToRawInfo ¶
func (m *StringArray) ToRawInfo() interface{}
ToRawInfo returns a description of StringArray suitable for JSON or YAML export.
type Tag ¶
type Tag struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` ExternalDocs *ExternalDocs `protobuf:"bytes,3,opt,name=external_docs,json=externalDocs" json:"external_docs,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,4,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
func NewTag ¶
NewTag creates an object of type Tag if possible, returning an error if not.
func (*Tag) GetExternalDocs ¶
func (m *Tag) GetExternalDocs() *ExternalDocs
func (*Tag) ResolveReferences ¶
ResolveReferences resolves references found inside Tag objects.
type TypeItem ¶
type TypeItem struct {
Value []string `protobuf:"bytes,1,rep,name=value" json:"value,omitempty"`
}
func NewTypeItem ¶
NewTypeItem creates an object of type TypeItem if possible, returning an error if not.
func (*TypeItem) ResolveReferences ¶
ResolveReferences resolves references found inside TypeItem objects.
type VendorExtension ¶
type VendorExtension struct {
AdditionalProperties []*NamedAny `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"`
}
Any property starting with x- is valid.
func NewVendorExtension ¶
func NewVendorExtension(in interface{}, context *compiler.Context) (*VendorExtension, error)
NewVendorExtension creates an object of type VendorExtension if possible, returning an error if not.
func (*VendorExtension) Descriptor ¶
func (*VendorExtension) Descriptor() ([]byte, []int)
func (*VendorExtension) GetAdditionalProperties ¶
func (m *VendorExtension) GetAdditionalProperties() []*NamedAny
func (*VendorExtension) ProtoMessage ¶
func (*VendorExtension) ProtoMessage()
func (*VendorExtension) Reset ¶
func (m *VendorExtension) Reset()
func (*VendorExtension) ResolveReferences ¶
func (m *VendorExtension) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside VendorExtension objects.
func (*VendorExtension) String ¶
func (m *VendorExtension) String() string
func (*VendorExtension) ToRawInfo ¶
func (m *VendorExtension) ToRawInfo() interface{}
ToRawInfo returns a description of VendorExtension suitable for JSON or YAML export.
type Xml ¶
type Xml struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` Prefix string `protobuf:"bytes,3,opt,name=prefix" json:"prefix,omitempty"` Attribute bool `protobuf:"varint,4,opt,name=attribute" json:"attribute,omitempty"` Wrapped bool `protobuf:"varint,5,opt,name=wrapped" json:"wrapped,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,6,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"` }
func NewXml ¶
NewXml creates an object of type Xml if possible, returning an error if not.
func (*Xml) ResolveReferences ¶
ResolveReferences resolves references found inside Xml objects.