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 (*AdditionalPropertiesItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type AdditionalPropertiesItem_Boolean
- type AdditionalPropertiesItem_Schema
- type Any
- type ApiKeySecurity
- type BasicAuthenticationSecurity
- func (*BasicAuthenticationSecurity) Descriptor() ([]byte, []int)
- 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
- type BodyParameter
- func (*BodyParameter) Descriptor() ([]byte, []int)
- 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
- type Contact
- type Default
- type Definitions
- type Document
- func (*Document) Descriptor() ([]byte, []int)
- func (m *Document) GetDefinitions() *Definitions
- func (m *Document) GetExternalDocs() *ExternalDocs
- func (m *Document) GetInfo() *Info
- func (m *Document) GetParameters() *ParameterDefinitions
- func (m *Document) GetPaths() *Paths
- func (m *Document) GetResponses() *ResponseDefinitions
- func (m *Document) GetSecurity() []*SecurityRequirement
- func (m *Document) GetSecurityDefinitions() *SecurityDefinitions
- 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
- type Examples
- type ExternalDocs
- type FileSchema
- func (*FileSchema) Descriptor() ([]byte, []int)
- func (m *FileSchema) GetDefault() *Any
- func (m *FileSchema) GetExample() *Any
- func (m *FileSchema) GetExternalDocs() *ExternalDocs
- 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
- type FormDataParameterSubSchema
- func (*FormDataParameterSubSchema) Descriptor() ([]byte, []int)
- func (m *FormDataParameterSubSchema) GetDefault() *Any
- func (m *FormDataParameterSubSchema) GetEnum() []*Any
- func (m *FormDataParameterSubSchema) GetItems() *PrimitivesItems
- 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
- type Header
- func (*Header) Descriptor() ([]byte, []int)
- func (m *Header) GetDefault() *Any
- func (m *Header) GetEnum() []*Any
- func (m *Header) GetItems() *PrimitivesItems
- 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
- type HeaderParameterSubSchema
- func (*HeaderParameterSubSchema) Descriptor() ([]byte, []int)
- func (m *HeaderParameterSubSchema) GetDefault() *Any
- func (m *HeaderParameterSubSchema) GetEnum() []*Any
- func (m *HeaderParameterSubSchema) GetItems() *PrimitivesItems
- 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
- type Headers
- type Info
- func (*Info) Descriptor() ([]byte, []int)
- func (m *Info) GetContact() *Contact
- func (m *Info) GetLicense() *License
- func (m *Info) GetVendorExtension() []*NamedAny
- func (*Info) ProtoMessage()
- func (m *Info) Reset()
- func (m *Info) ResolveReferences(root string) (interface{}, error)
- func (m *Info) String() string
- type ItemsItem
- type JsonReference
- type License
- type NamedAny
- type NamedHeader
- type NamedParameter
- type NamedPathItem
- type NamedResponse
- type NamedResponseValue
- func (*NamedResponseValue) Descriptor() ([]byte, []int)
- 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
- type NamedSchema
- type NamedSecurityDefinitionsItem
- func (*NamedSecurityDefinitionsItem) Descriptor() ([]byte, []int)
- 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
- type NamedString
- type NamedStringArray
- func (*NamedStringArray) Descriptor() ([]byte, []int)
- 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
- 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 (*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) GetScopes() *Oauth2Scopes
- 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
- type Oauth2ApplicationSecurity
- func (*Oauth2ApplicationSecurity) Descriptor() ([]byte, []int)
- func (m *Oauth2ApplicationSecurity) GetScopes() *Oauth2Scopes
- 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
- type Oauth2ImplicitSecurity
- func (*Oauth2ImplicitSecurity) Descriptor() ([]byte, []int)
- func (m *Oauth2ImplicitSecurity) GetScopes() *Oauth2Scopes
- 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
- type Oauth2PasswordSecurity
- func (*Oauth2PasswordSecurity) Descriptor() ([]byte, []int)
- func (m *Oauth2PasswordSecurity) GetScopes() *Oauth2Scopes
- 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
- type Oauth2Scopes
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)
- func (m *Operation) GetExternalDocs() *ExternalDocs
- func (m *Operation) GetParameters() []*ParametersItem
- func (m *Operation) GetResponses() *Responses
- func (m *Operation) GetSecurity() []*SecurityRequirement
- 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
- 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 (*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
- 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 (*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 (*PathItem) ProtoMessage()
- func (m *PathItem) Reset()
- func (m *PathItem) ResolveReferences(root string) (interface{}, error)
- func (m *PathItem) String() string
- type PathParameterSubSchema
- func (*PathParameterSubSchema) Descriptor() ([]byte, []int)
- func (m *PathParameterSubSchema) GetDefault() *Any
- func (m *PathParameterSubSchema) GetEnum() []*Any
- func (m *PathParameterSubSchema) GetItems() *PrimitivesItems
- 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
- type Paths
- type PrimitivesItems
- func (*PrimitivesItems) Descriptor() ([]byte, []int)
- func (m *PrimitivesItems) GetDefault() *Any
- func (m *PrimitivesItems) GetEnum() []*Any
- func (m *PrimitivesItems) GetItems() *PrimitivesItems
- 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
- type Properties
- type QueryParameterSubSchema
- func (*QueryParameterSubSchema) Descriptor() ([]byte, []int)
- func (m *QueryParameterSubSchema) GetDefault() *Any
- func (m *QueryParameterSubSchema) GetEnum() []*Any
- func (m *QueryParameterSubSchema) GetItems() *PrimitivesItems
- 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
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- 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
- 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
- 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 (*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
- 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) GetEnum() []*Any
- func (m *Schema) GetExample() *Any
- func (m *Schema) GetExternalDocs() *ExternalDocs
- func (m *Schema) GetItems() *ItemsItem
- func (m *Schema) GetProperties() *Properties
- func (m *Schema) GetType() *TypeItem
- func (m *Schema) GetVendorExtension() []*NamedAny
- 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
- 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 (*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
- 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 (*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
- type StringArray
- type Tag
- 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
- type Xml
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)
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)
func (*AdditionalPropertiesItem) String ¶
func (m *AdditionalPropertiesItem) String() string
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 {
Yaml string `protobuf:"bytes,1,opt,name=yaml" json:"yaml,omitempty"`
}
func (*Any) Descriptor ¶
func (*Any) ProtoMessage ¶
func (*Any) ProtoMessage()
func (*Any) ResolveReferences ¶
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)
func (*ApiKeySecurity) Descriptor ¶
func (*ApiKeySecurity) Descriptor() ([]byte, []int)
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)
func (*ApiKeySecurity) String ¶
func (m *ApiKeySecurity) String() string
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)
func (*BasicAuthenticationSecurity) Descriptor ¶
func (*BasicAuthenticationSecurity) Descriptor() ([]byte, []int)
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)
func (*BasicAuthenticationSecurity) String ¶
func (m *BasicAuthenticationSecurity) String() string
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)
func (*BodyParameter) Descriptor ¶
func (*BodyParameter) Descriptor() ([]byte, []int)
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)
func (*BodyParameter) String ¶
func (m *BodyParameter) String() string
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 (*Contact) Descriptor ¶
func (*Contact) GetVendorExtension ¶
func (*Contact) ProtoMessage ¶
func (*Contact) ProtoMessage()
func (*Contact) ResolveReferences ¶
type Default ¶
type Default struct {
AdditionalProperties []*NamedAny `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"`
}
func (*Default) Descriptor ¶
func (*Default) GetAdditionalProperties ¶
func (*Default) ProtoMessage ¶
func (*Default) ProtoMessage()
func (*Default) ResolveReferences ¶
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)
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)
func (*Definitions) String ¶
func (m *Definitions) String() string
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 (*Document) Descriptor ¶
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) GetVendorExtension ¶
func (*Document) ProtoMessage ¶
func (*Document) ProtoMessage()
func (*Document) ResolveReferences ¶
type Examples ¶
type Examples struct {
AdditionalProperties []*NamedAny `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"`
}
func (*Examples) Descriptor ¶
func (*Examples) GetAdditionalProperties ¶
func (*Examples) ProtoMessage ¶
func (*Examples) ProtoMessage()
func (*Examples) ResolveReferences ¶
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)
func (*ExternalDocs) Descriptor ¶
func (*ExternalDocs) Descriptor() ([]byte, []int)
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)
func (*ExternalDocs) String ¶
func (m *ExternalDocs) String() string
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)
func (*FileSchema) Descriptor ¶
func (*FileSchema) Descriptor() ([]byte, []int)
func (*FileSchema) GetDefault ¶
func (m *FileSchema) GetDefault() *Any
func (*FileSchema) GetExample ¶
func (m *FileSchema) GetExample() *Any
func (*FileSchema) GetExternalDocs ¶
func (m *FileSchema) GetExternalDocs() *ExternalDocs
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)
func (*FileSchema) String ¶
func (m *FileSchema) String() string
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)
func (*FormDataParameterSubSchema) Descriptor ¶
func (*FormDataParameterSubSchema) Descriptor() ([]byte, []int)
func (*FormDataParameterSubSchema) GetDefault ¶
func (m *FormDataParameterSubSchema) GetDefault() *Any
func (*FormDataParameterSubSchema) GetEnum ¶
func (m *FormDataParameterSubSchema) GetEnum() []*Any
func (*FormDataParameterSubSchema) GetItems ¶
func (m *FormDataParameterSubSchema) GetItems() *PrimitivesItems
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)
func (*FormDataParameterSubSchema) String ¶
func (m *FormDataParameterSubSchema) String() string
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 (*Header) Descriptor ¶
func (*Header) GetDefault ¶
func (*Header) GetItems ¶
func (m *Header) GetItems() *PrimitivesItems
func (*Header) GetVendorExtension ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ResolveReferences ¶
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)
func (*HeaderParameterSubSchema) Descriptor ¶
func (*HeaderParameterSubSchema) Descriptor() ([]byte, []int)
func (*HeaderParameterSubSchema) GetDefault ¶
func (m *HeaderParameterSubSchema) GetDefault() *Any
func (*HeaderParameterSubSchema) GetEnum ¶
func (m *HeaderParameterSubSchema) GetEnum() []*Any
func (*HeaderParameterSubSchema) GetItems ¶
func (m *HeaderParameterSubSchema) GetItems() *PrimitivesItems
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)
func (*HeaderParameterSubSchema) String ¶
func (m *HeaderParameterSubSchema) String() string
type Headers ¶
type Headers struct {
AdditionalProperties []*NamedHeader `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"`
}
func (*Headers) Descriptor ¶
func (*Headers) GetAdditionalProperties ¶
func (m *Headers) GetAdditionalProperties() []*NamedHeader
func (*Headers) ProtoMessage ¶
func (*Headers) ProtoMessage()
func (*Headers) ResolveReferences ¶
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 (*Info) Descriptor ¶
func (*Info) GetContact ¶
func (*Info) GetLicense ¶
func (*Info) GetVendorExtension ¶
func (*Info) ProtoMessage ¶
func (*Info) ProtoMessage()
func (*Info) ResolveReferences ¶
type ItemsItem ¶
type ItemsItem struct {
Schema []*Schema `protobuf:"bytes,1,rep,name=schema" json:"schema,omitempty"`
}
func NewItemsItem ¶
func (*ItemsItem) Descriptor ¶
func (*ItemsItem) ProtoMessage ¶
func (*ItemsItem) ProtoMessage()
func (*ItemsItem) ResolveReferences ¶
type JsonReference ¶
type JsonReference struct {
XRef string `protobuf:"bytes,1,opt,name=_ref,json=ref" json:"_ref,omitempty"`
}
func NewJsonReference ¶
func NewJsonReference(in interface{}, context *compiler.Context) (*JsonReference, error)
func (*JsonReference) Descriptor ¶
func (*JsonReference) Descriptor() ([]byte, []int)
func (*JsonReference) ProtoMessage ¶
func (*JsonReference) ProtoMessage()
func (*JsonReference) Reset ¶
func (m *JsonReference) Reset()
func (*JsonReference) ResolveReferences ¶
func (m *JsonReference) ResolveReferences(root string) (interface{}, error)
func (*JsonReference) String ¶
func (m *JsonReference) String() string
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 (*License) Descriptor ¶
func (*License) GetVendorExtension ¶
func (*License) ProtoMessage ¶
func (*License) ProtoMessage()
func (*License) ResolveReferences ¶
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 (*NamedAny) Descriptor ¶
func (*NamedAny) ProtoMessage ¶
func (*NamedAny) ProtoMessage()
func (*NamedAny) ResolveReferences ¶
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)
func (*NamedHeader) Descriptor ¶
func (*NamedHeader) Descriptor() ([]byte, []int)
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)
func (*NamedHeader) String ¶
func (m *NamedHeader) String() string
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)
func (*NamedParameter) Descriptor ¶
func (*NamedParameter) Descriptor() ([]byte, []int)
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)
func (*NamedParameter) String ¶
func (m *NamedParameter) String() string
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)
func (*NamedPathItem) Descriptor ¶
func (*NamedPathItem) Descriptor() ([]byte, []int)
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)
func (*NamedPathItem) String ¶
func (m *NamedPathItem) String() string
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)
func (*NamedResponse) Descriptor ¶
func (*NamedResponse) Descriptor() ([]byte, []int)
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)
func (*NamedResponse) String ¶
func (m *NamedResponse) String() string
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)
func (*NamedResponseValue) Descriptor ¶
func (*NamedResponseValue) Descriptor() ([]byte, []int)
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)
func (*NamedResponseValue) String ¶
func (m *NamedResponseValue) String() string
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)
func (*NamedSchema) Descriptor ¶
func (*NamedSchema) Descriptor() ([]byte, []int)
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)
func (*NamedSchema) String ¶
func (m *NamedSchema) String() string
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)
func (*NamedSecurityDefinitionsItem) Descriptor ¶
func (*NamedSecurityDefinitionsItem) Descriptor() ([]byte, []int)
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)
func (*NamedSecurityDefinitionsItem) String ¶
func (m *NamedSecurityDefinitionsItem) String() string
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)
func (*NamedString) Descriptor ¶
func (*NamedString) Descriptor() ([]byte, []int)
func (*NamedString) ProtoMessage ¶
func (*NamedString) ProtoMessage()
func (*NamedString) Reset ¶
func (m *NamedString) Reset()
func (*NamedString) ResolveReferences ¶
func (m *NamedString) ResolveReferences(root string) (interface{}, error)
func (*NamedString) String ¶
func (m *NamedString) String() string
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)
func (*NamedStringArray) Descriptor ¶
func (*NamedStringArray) Descriptor() ([]byte, []int)
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)
func (*NamedStringArray) String ¶
func (m *NamedStringArray) String() string
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)
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)
func (*NonBodyParameter) String ¶
func (m *NonBodyParameter) String() string
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)
func (*Oauth2AccessCodeSecurity) Descriptor ¶
func (*Oauth2AccessCodeSecurity) Descriptor() ([]byte, []int)
func (*Oauth2AccessCodeSecurity) GetScopes ¶
func (m *Oauth2AccessCodeSecurity) GetScopes() *Oauth2Scopes
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)
func (*Oauth2AccessCodeSecurity) String ¶
func (m *Oauth2AccessCodeSecurity) String() string
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)
func (*Oauth2ApplicationSecurity) Descriptor ¶
func (*Oauth2ApplicationSecurity) Descriptor() ([]byte, []int)
func (*Oauth2ApplicationSecurity) GetScopes ¶
func (m *Oauth2ApplicationSecurity) GetScopes() *Oauth2Scopes
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)
func (*Oauth2ApplicationSecurity) String ¶
func (m *Oauth2ApplicationSecurity) String() string
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)
func (*Oauth2ImplicitSecurity) Descriptor ¶
func (*Oauth2ImplicitSecurity) Descriptor() ([]byte, []int)
func (*Oauth2ImplicitSecurity) GetScopes ¶
func (m *Oauth2ImplicitSecurity) GetScopes() *Oauth2Scopes
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)
func (*Oauth2ImplicitSecurity) String ¶
func (m *Oauth2ImplicitSecurity) String() string
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)
func (*Oauth2PasswordSecurity) Descriptor ¶
func (*Oauth2PasswordSecurity) Descriptor() ([]byte, []int)
func (*Oauth2PasswordSecurity) GetScopes ¶
func (m *Oauth2PasswordSecurity) GetScopes() *Oauth2Scopes
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)
func (*Oauth2PasswordSecurity) String ¶
func (m *Oauth2PasswordSecurity) String() string
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)
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)
func (*Oauth2Scopes) String ¶
func (m *Oauth2Scopes) String() string
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 ¶
func (*Operation) Descriptor ¶
func (*Operation) GetExternalDocs ¶
func (m *Operation) GetExternalDocs() *ExternalDocs
func (*Operation) GetParameters ¶
func (m *Operation) GetParameters() []*ParametersItem
func (*Operation) GetResponses ¶
func (*Operation) GetSecurity ¶
func (m *Operation) GetSecurity() []*SecurityRequirement
func (*Operation) GetVendorExtension ¶
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) ResolveReferences ¶
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 ¶
func (*Parameter) Descriptor ¶
func (*Parameter) GetBodyParameter ¶
func (m *Parameter) GetBodyParameter() *BodyParameter
func (*Parameter) GetNonBodyParameter ¶
func (m *Parameter) GetNonBodyParameter() *NonBodyParameter
func (*Parameter) ProtoMessage ¶
func (*Parameter) ProtoMessage()
func (*Parameter) ResolveReferences ¶
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)
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)
func (*ParameterDefinitions) String ¶
func (m *ParameterDefinitions) String() string
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)
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)
func (*ParametersItem) String ¶
func (m *ParametersItem) String() string
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 (*PathItem) Descriptor ¶
func (*PathItem) GetOptions ¶
func (*PathItem) GetParameters ¶
func (m *PathItem) GetParameters() []*ParametersItem
func (*PathItem) GetVendorExtension ¶
func (*PathItem) ProtoMessage ¶
func (*PathItem) ProtoMessage()
func (*PathItem) ResolveReferences ¶
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)
func (*PathParameterSubSchema) Descriptor ¶
func (*PathParameterSubSchema) Descriptor() ([]byte, []int)
func (*PathParameterSubSchema) GetDefault ¶
func (m *PathParameterSubSchema) GetDefault() *Any
func (*PathParameterSubSchema) GetEnum ¶
func (m *PathParameterSubSchema) GetEnum() []*Any
func (*PathParameterSubSchema) GetItems ¶
func (m *PathParameterSubSchema) GetItems() *PrimitivesItems
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)
func (*PathParameterSubSchema) String ¶
func (m *PathParameterSubSchema) String() string
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 (*Paths) Descriptor ¶
func (*Paths) GetPath ¶
func (m *Paths) GetPath() []*NamedPathItem
func (*Paths) GetVendorExtension ¶
func (*Paths) ProtoMessage ¶
func (*Paths) ProtoMessage()
func (*Paths) ResolveReferences ¶
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)
func (*PrimitivesItems) Descriptor ¶
func (*PrimitivesItems) Descriptor() ([]byte, []int)
func (*PrimitivesItems) GetDefault ¶
func (m *PrimitivesItems) GetDefault() *Any
func (*PrimitivesItems) GetEnum ¶
func (m *PrimitivesItems) GetEnum() []*Any
func (*PrimitivesItems) GetItems ¶
func (m *PrimitivesItems) GetItems() *PrimitivesItems
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)
func (*PrimitivesItems) String ¶
func (m *PrimitivesItems) String() string
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)
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)
func (*Properties) String ¶
func (m *Properties) String() string
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)
func (*QueryParameterSubSchema) Descriptor ¶
func (*QueryParameterSubSchema) Descriptor() ([]byte, []int)
func (*QueryParameterSubSchema) GetDefault ¶
func (m *QueryParameterSubSchema) GetDefault() *Any
func (*QueryParameterSubSchema) GetEnum ¶
func (m *QueryParameterSubSchema) GetEnum() []*Any
func (*QueryParameterSubSchema) GetItems ¶
func (m *QueryParameterSubSchema) GetItems() *PrimitivesItems
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)
func (*QueryParameterSubSchema) String ¶
func (m *QueryParameterSubSchema) String() string
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 (*Response) Descriptor ¶
func (*Response) GetExamples ¶
func (*Response) GetHeaders ¶
func (*Response) GetSchema ¶
func (m *Response) GetSchema() *SchemaItem
func (*Response) GetVendorExtension ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ResolveReferences ¶
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)
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)
func (*ResponseDefinitions) String ¶
func (m *ResponseDefinitions) String() string
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)
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)
func (*ResponseValue) String ¶
func (m *ResponseValue) String() string
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 ¶
func (*Responses) Descriptor ¶
func (*Responses) GetResponseCode ¶
func (m *Responses) GetResponseCode() []*NamedResponseValue
func (*Responses) GetVendorExtension ¶
func (*Responses) ProtoMessage ¶
func (*Responses) ProtoMessage()
func (*Responses) ResolveReferences ¶
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 (*Schema) Descriptor ¶
func (*Schema) GetAdditionalProperties ¶
func (m *Schema) GetAdditionalProperties() *AdditionalPropertiesItem
func (*Schema) GetDefault ¶
func (*Schema) GetExample ¶
func (*Schema) GetExternalDocs ¶
func (m *Schema) GetExternalDocs() *ExternalDocs
func (*Schema) GetProperties ¶
func (m *Schema) GetProperties() *Properties
func (*Schema) GetVendorExtension ¶
func (*Schema) ProtoMessage ¶
func (*Schema) ProtoMessage()
func (*Schema) ResolveReferences ¶
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)
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)
func (*SchemaItem) String ¶
func (m *SchemaItem) String() string
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)
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)
func (*SecurityDefinitions) String ¶
func (m *SecurityDefinitions) String() string
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)
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)
func (*SecurityDefinitionsItem) String ¶
func (m *SecurityDefinitionsItem) String() string
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)
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)
func (*SecurityRequirement) String ¶
func (m *SecurityRequirement) String() string
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)
func (*StringArray) Descriptor ¶
func (*StringArray) Descriptor() ([]byte, []int)
func (*StringArray) ProtoMessage ¶
func (*StringArray) ProtoMessage()
func (*StringArray) Reset ¶
func (m *StringArray) Reset()
func (*StringArray) ResolveReferences ¶
func (m *StringArray) ResolveReferences(root string) (interface{}, error)
func (*StringArray) String ¶
func (m *StringArray) String() string
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 (*Tag) Descriptor ¶
func (*Tag) GetExternalDocs ¶
func (m *Tag) GetExternalDocs() *ExternalDocs
func (*Tag) GetVendorExtension ¶
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ResolveReferences ¶
type TypeItem ¶
type TypeItem struct {
Value []string `protobuf:"bytes,1,rep,name=value" json:"value,omitempty"`
}
func (*TypeItem) Descriptor ¶
func (*TypeItem) ProtoMessage ¶
func (*TypeItem) ProtoMessage()
func (*TypeItem) ResolveReferences ¶
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)
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)
func (*VendorExtension) String ¶
func (m *VendorExtension) String() string
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 (*Xml) Descriptor ¶
func (*Xml) GetVendorExtension ¶
func (*Xml) ProtoMessage ¶
func (*Xml) ProtoMessage()