openapi_v2

package
v0.0.0-...-3eb7c92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

README

Everything in this directory (except this README) is automatically generated.

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func Version

func Version() string

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 NewAny

func NewAny(in interface{}, context *compiler.Context) (*Any, error)

func (*Any) Descriptor

func (*Any) Descriptor() ([]byte, []int)

func (*Any) ProtoMessage

func (*Any) ProtoMessage()

func (*Any) Reset

func (m *Any) Reset()

func (*Any) ResolveReferences

func (m *Any) ResolveReferences(root string) (interface{}, error)

func (*Any) String

func (m *Any) String() string

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 NewContact

func NewContact(in interface{}, context *compiler.Context) (*Contact, error)

func (*Contact) Descriptor

func (*Contact) Descriptor() ([]byte, []int)

func (*Contact) GetVendorExtension

func (m *Contact) GetVendorExtension() []*NamedAny

func (*Contact) ProtoMessage

func (*Contact) ProtoMessage()

func (*Contact) Reset

func (m *Contact) Reset()

func (*Contact) ResolveReferences

func (m *Contact) ResolveReferences(root string) (interface{}, error)

func (*Contact) String

func (m *Contact) String() string

type Default

type Default struct {
	AdditionalProperties []*NamedAny `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"`
}

func NewDefault

func NewDefault(in interface{}, context *compiler.Context) (*Default, error)

func (*Default) Descriptor

func (*Default) Descriptor() ([]byte, []int)

func (*Default) GetAdditionalProperties

func (m *Default) GetAdditionalProperties() []*NamedAny

func (*Default) ProtoMessage

func (*Default) ProtoMessage()

func (*Default) Reset

func (m *Default) Reset()

func (*Default) ResolveReferences

func (m *Default) ResolveReferences(root string) (interface{}, error)

func (*Default) String

func (m *Default) String() string

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 NewDocument

func NewDocument(in interface{}, context *compiler.Context) (*Document, error)

func (*Document) Descriptor

func (*Document) Descriptor() ([]byte, []int)

func (*Document) GetDefinitions

func (m *Document) GetDefinitions() *Definitions

func (*Document) GetExternalDocs

func (m *Document) GetExternalDocs() *ExternalDocs

func (*Document) GetInfo

func (m *Document) GetInfo() *Info

func (*Document) GetParameters

func (m *Document) GetParameters() *ParameterDefinitions

func (*Document) GetPaths

func (m *Document) GetPaths() *Paths

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) GetTags

func (m *Document) GetTags() []*Tag

func (*Document) GetVendorExtension

func (m *Document) GetVendorExtension() []*NamedAny

func (*Document) ProtoMessage

func (*Document) ProtoMessage()

func (*Document) Reset

func (m *Document) Reset()

func (*Document) ResolveReferences

func (m *Document) ResolveReferences(root string) (interface{}, error)

func (*Document) String

func (m *Document) String() string

type Examples

type Examples struct {
	AdditionalProperties []*NamedAny `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"`
}

func NewExamples

func NewExamples(in interface{}, context *compiler.Context) (*Examples, error)

func (*Examples) Descriptor

func (*Examples) Descriptor() ([]byte, []int)

func (*Examples) GetAdditionalProperties

func (m *Examples) GetAdditionalProperties() []*NamedAny

func (*Examples) ProtoMessage

func (*Examples) ProtoMessage()

func (*Examples) Reset

func (m *Examples) Reset()

func (*Examples) ResolveReferences

func (m *Examples) ResolveReferences(root string) (interface{}, error)

func (*Examples) String

func (m *Examples) String() string

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 (*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 struct {
	Type             string           `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	Format           string           `protobuf:"bytes,2,opt,name=format" json:"format,omitempty"`
	Items            *PrimitivesItems `protobuf:"bytes,3,opt,name=items" json:"items,omitempty"`
	CollectionFormat string           `protobuf:"bytes,4,opt,name=collection_format,json=collectionFormat" json:"collection_format,omitempty"`
	Default          *Any             `protobuf:"bytes,5,opt,name=default" json:"default,omitempty"`
	Maximum          float64          `protobuf:"fixed64,6,opt,name=maximum" json:"maximum,omitempty"`
	ExclusiveMaximum bool             `protobuf:"varint,7,opt,name=exclusive_maximum,json=exclusiveMaximum" json:"exclusive_maximum,omitempty"`
	Minimum          float64          `protobuf:"fixed64,8,opt,name=minimum" json:"minimum,omitempty"`
	ExclusiveMinimum bool             `protobuf:"varint,9,opt,name=exclusive_minimum,json=exclusiveMinimum" json:"exclusive_minimum,omitempty"`
	MaxLength        int64            `protobuf:"varint,10,opt,name=max_length,json=maxLength" json:"max_length,omitempty"`
	MinLength        int64            `protobuf:"varint,11,opt,name=min_length,json=minLength" json:"min_length,omitempty"`
	Pattern          string           `protobuf:"bytes,12,opt,name=pattern" json:"pattern,omitempty"`
	MaxItems         int64            `protobuf:"varint,13,opt,name=max_items,json=maxItems" json:"max_items,omitempty"`
	MinItems         int64            `protobuf:"varint,14,opt,name=min_items,json=minItems" json:"min_items,omitempty"`
	UniqueItems      bool             `protobuf:"varint,15,opt,name=unique_items,json=uniqueItems" json:"unique_items,omitempty"`
	Enum             []*Any           `protobuf:"bytes,16,rep,name=enum" json:"enum,omitempty"`
	MultipleOf       float64          `protobuf:"fixed64,17,opt,name=multiple_of,json=multipleOf" json:"multiple_of,omitempty"`
	Description      string           `protobuf:"bytes,18,opt,name=description" json:"description,omitempty"`
	VendorExtension  []*NamedAny      `protobuf:"bytes,19,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"`
}

func NewHeader

func NewHeader(in interface{}, context *compiler.Context) (*Header, error)

func (*Header) Descriptor

func (*Header) Descriptor() ([]byte, []int)

func (*Header) GetDefault

func (m *Header) GetDefault() *Any

func (*Header) GetEnum

func (m *Header) GetEnum() []*Any

func (*Header) GetItems

func (m *Header) GetItems() *PrimitivesItems

func (*Header) GetVendorExtension

func (m *Header) GetVendorExtension() []*NamedAny

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) Reset

func (m *Header) Reset()

func (*Header) ResolveReferences

func (m *Header) ResolveReferences(root string) (interface{}, error)

func (*Header) String

func (m *Header) String() string

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 (*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 NewHeaders

func NewHeaders(in interface{}, context *compiler.Context) (*Headers, error)

func (*Headers) Descriptor

func (*Headers) Descriptor() ([]byte, []int)

func (*Headers) GetAdditionalProperties

func (m *Headers) GetAdditionalProperties() []*NamedHeader

func (*Headers) ProtoMessage

func (*Headers) ProtoMessage()

func (*Headers) Reset

func (m *Headers) Reset()

func (*Headers) ResolveReferences

func (m *Headers) ResolveReferences(root string) (interface{}, error)

func (*Headers) String

func (m *Headers) String() string

type Info

type Info struct {
	// A unique and precise title of the API.
	Title string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
	// A semantic version number of the API.
	Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
	// A longer description of the API. Should be different from the title.  GitHub Flavored Markdown is allowed.
	Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
	// The terms of service for the API.
	TermsOfService  string      `protobuf:"bytes,4,opt,name=terms_of_service,json=termsOfService" json:"terms_of_service,omitempty"`
	Contact         *Contact    `protobuf:"bytes,5,opt,name=contact" json:"contact,omitempty"`
	License         *License    `protobuf:"bytes,6,opt,name=license" json:"license,omitempty"`
	VendorExtension []*NamedAny `protobuf:"bytes,7,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"`
}

General information about the API.

func NewInfo

func NewInfo(in interface{}, context *compiler.Context) (*Info, error)

func (*Info) Descriptor

func (*Info) Descriptor() ([]byte, []int)

func (*Info) GetContact

func (m *Info) GetContact() *Contact

func (*Info) GetLicense

func (m *Info) GetLicense() *License

func (*Info) GetVendorExtension

func (m *Info) GetVendorExtension() []*NamedAny

func (*Info) ProtoMessage

func (*Info) ProtoMessage()

func (*Info) Reset

func (m *Info) Reset()

func (*Info) ResolveReferences

func (m *Info) ResolveReferences(root string) (interface{}, error)

func (*Info) String

func (m *Info) String() string

type ItemsItem

type ItemsItem struct {
	Schema []*Schema `protobuf:"bytes,1,rep,name=schema" json:"schema,omitempty"`
}

func NewItemsItem

func NewItemsItem(in interface{}, context *compiler.Context) (*ItemsItem, error)

func (*ItemsItem) Descriptor

func (*ItemsItem) Descriptor() ([]byte, []int)

func (*ItemsItem) GetSchema

func (m *ItemsItem) GetSchema() []*Schema

func (*ItemsItem) ProtoMessage

func (*ItemsItem) ProtoMessage()

func (*ItemsItem) Reset

func (m *ItemsItem) Reset()

func (*ItemsItem) ResolveReferences

func (m *ItemsItem) ResolveReferences(root string) (interface{}, error)

func (*ItemsItem) String

func (m *ItemsItem) String() string

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 NewLicense

func NewLicense(in interface{}, context *compiler.Context) (*License, error)

func (*License) Descriptor

func (*License) Descriptor() ([]byte, []int)

func (*License) GetVendorExtension

func (m *License) GetVendorExtension() []*NamedAny

func (*License) ProtoMessage

func (*License) ProtoMessage()

func (*License) Reset

func (m *License) Reset()

func (*License) ResolveReferences

func (m *License) ResolveReferences(root string) (interface{}, error)

func (*License) String

func (m *License) String() string

type NamedAny

type NamedAny struct {
	// Map key
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Mapped value
	Value *Any `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
}

Automatically-generated message used to represent maps of Any as ordered (name,value) pairs.

func NewNamedAny

func NewNamedAny(in interface{}, context *compiler.Context) (*NamedAny, error)

func (*NamedAny) Descriptor

func (*NamedAny) Descriptor() ([]byte, []int)

func (*NamedAny) GetValue

func (m *NamedAny) GetValue() *Any

func (*NamedAny) ProtoMessage

func (*NamedAny) ProtoMessage()

func (*NamedAny) Reset

func (m *NamedAny) Reset()

func (*NamedAny) ResolveReferences

func (m *NamedAny) ResolveReferences(root string) (interface{}, error)

func (*NamedAny) String

func (m *NamedAny) String() string

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 (*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

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 NewOperation(in interface{}, context *compiler.Context) (*Operation, error)

func (*Operation) Descriptor

func (*Operation) Descriptor() ([]byte, []int)

func (*Operation) GetExternalDocs

func (m *Operation) GetExternalDocs() *ExternalDocs

func (*Operation) GetParameters

func (m *Operation) GetParameters() []*ParametersItem

func (*Operation) GetResponses

func (m *Operation) GetResponses() *Responses

func (*Operation) GetSecurity

func (m *Operation) GetSecurity() []*SecurityRequirement

func (*Operation) GetVendorExtension

func (m *Operation) GetVendorExtension() []*NamedAny

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) Reset

func (m *Operation) Reset()

func (*Operation) ResolveReferences

func (m *Operation) ResolveReferences(root string) (interface{}, error)

func (*Operation) String

func (m *Operation) String() string

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 NewParameter(in interface{}, context *compiler.Context) (*Parameter, error)

func (*Parameter) Descriptor

func (*Parameter) Descriptor() ([]byte, []int)

func (*Parameter) GetBodyParameter

func (m *Parameter) GetBodyParameter() *BodyParameter

func (*Parameter) GetNonBodyParameter

func (m *Parameter) GetNonBodyParameter() *NonBodyParameter

func (*Parameter) GetOneof

func (m *Parameter) GetOneof() isParameter_Oneof

func (*Parameter) ProtoMessage

func (*Parameter) ProtoMessage()

func (*Parameter) Reset

func (m *Parameter) Reset()

func (*Parameter) ResolveReferences

func (m *Parameter) ResolveReferences(root string) (interface{}, error)

func (*Parameter) String

func (m *Parameter) String() string

func (*Parameter) XXX_OneofFuncs

func (*Parameter) 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 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 NewPathItem

func NewPathItem(in interface{}, context *compiler.Context) (*PathItem, error)

func (*PathItem) Descriptor

func (*PathItem) Descriptor() ([]byte, []int)

func (*PathItem) GetDelete

func (m *PathItem) GetDelete() *Operation

func (*PathItem) GetGet

func (m *PathItem) GetGet() *Operation

func (*PathItem) GetHead

func (m *PathItem) GetHead() *Operation

func (*PathItem) GetOptions

func (m *PathItem) GetOptions() *Operation

func (*PathItem) GetParameters

func (m *PathItem) GetParameters() []*ParametersItem

func (*PathItem) GetPatch

func (m *PathItem) GetPatch() *Operation

func (*PathItem) GetPost

func (m *PathItem) GetPost() *Operation

func (*PathItem) GetPut

func (m *PathItem) GetPut() *Operation

func (*PathItem) GetVendorExtension

func (m *PathItem) GetVendorExtension() []*NamedAny

func (*PathItem) ProtoMessage

func (*PathItem) ProtoMessage()

func (*PathItem) Reset

func (m *PathItem) Reset()

func (*PathItem) ResolveReferences

func (m *PathItem) ResolveReferences(root string) (interface{}, error)

func (*PathItem) String

func (m *PathItem) String() string

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 NewPaths

func NewPaths(in interface{}, context *compiler.Context) (*Paths, error)

func (*Paths) Descriptor

func (*Paths) Descriptor() ([]byte, []int)

func (*Paths) GetPath

func (m *Paths) GetPath() []*NamedPathItem

func (*Paths) GetVendorExtension

func (m *Paths) GetVendorExtension() []*NamedAny

func (*Paths) ProtoMessage

func (*Paths) ProtoMessage()

func (*Paths) Reset

func (m *Paths) Reset()

func (*Paths) ResolveReferences

func (m *Paths) ResolveReferences(root string) (interface{}, error)

func (*Paths) String

func (m *Paths) String() string

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 (*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 NewResponse

func NewResponse(in interface{}, context *compiler.Context) (*Response, error)

func (*Response) Descriptor

func (*Response) Descriptor() ([]byte, []int)

func (*Response) GetExamples

func (m *Response) GetExamples() *Examples

func (*Response) GetHeaders

func (m *Response) GetHeaders() *Headers

func (*Response) GetSchema

func (m *Response) GetSchema() *SchemaItem

func (*Response) GetVendorExtension

func (m *Response) GetVendorExtension() []*NamedAny

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) ResolveReferences

func (m *Response) ResolveReferences(root string) (interface{}, error)

func (*Response) String

func (m *Response) String() string

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 NewResponses(in interface{}, context *compiler.Context) (*Responses, error)

func (*Responses) Descriptor

func (*Responses) Descriptor() ([]byte, []int)

func (*Responses) GetResponseCode

func (m *Responses) GetResponseCode() []*NamedResponseValue

func (*Responses) GetVendorExtension

func (m *Responses) GetVendorExtension() []*NamedAny

func (*Responses) ProtoMessage

func (*Responses) ProtoMessage()

func (*Responses) Reset

func (m *Responses) Reset()

func (*Responses) ResolveReferences

func (m *Responses) ResolveReferences(root string) (interface{}, error)

func (*Responses) String

func (m *Responses) String() string

type Schema

type Schema struct {
	XRef                 string                    `protobuf:"bytes,1,opt,name=_ref,json=ref" json:"_ref,omitempty"`
	Format               string                    `protobuf:"bytes,2,opt,name=format" json:"format,omitempty"`
	Title                string                    `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"`
	Description          string                    `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
	Default              *Any                      `protobuf:"bytes,5,opt,name=default" json:"default,omitempty"`
	MultipleOf           float64                   `protobuf:"fixed64,6,opt,name=multiple_of,json=multipleOf" json:"multiple_of,omitempty"`
	Maximum              float64                   `protobuf:"fixed64,7,opt,name=maximum" json:"maximum,omitempty"`
	ExclusiveMaximum     bool                      `protobuf:"varint,8,opt,name=exclusive_maximum,json=exclusiveMaximum" json:"exclusive_maximum,omitempty"`
	Minimum              float64                   `protobuf:"fixed64,9,opt,name=minimum" json:"minimum,omitempty"`
	ExclusiveMinimum     bool                      `protobuf:"varint,10,opt,name=exclusive_minimum,json=exclusiveMinimum" json:"exclusive_minimum,omitempty"`
	MaxLength            int64                     `protobuf:"varint,11,opt,name=max_length,json=maxLength" json:"max_length,omitempty"`
	MinLength            int64                     `protobuf:"varint,12,opt,name=min_length,json=minLength" json:"min_length,omitempty"`
	Pattern              string                    `protobuf:"bytes,13,opt,name=pattern" json:"pattern,omitempty"`
	MaxItems             int64                     `protobuf:"varint,14,opt,name=max_items,json=maxItems" json:"max_items,omitempty"`
	MinItems             int64                     `protobuf:"varint,15,opt,name=min_items,json=minItems" json:"min_items,omitempty"`
	UniqueItems          bool                      `protobuf:"varint,16,opt,name=unique_items,json=uniqueItems" json:"unique_items,omitempty"`
	MaxProperties        int64                     `protobuf:"varint,17,opt,name=max_properties,json=maxProperties" json:"max_properties,omitempty"`
	MinProperties        int64                     `protobuf:"varint,18,opt,name=min_properties,json=minProperties" json:"min_properties,omitempty"`
	Required             []string                  `protobuf:"bytes,19,rep,name=required" json:"required,omitempty"`
	Enum                 []*Any                    `protobuf:"bytes,20,rep,name=enum" json:"enum,omitempty"`
	AdditionalProperties *AdditionalPropertiesItem `protobuf:"bytes,21,opt,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"`
	Type                 *TypeItem                 `protobuf:"bytes,22,opt,name=type" json:"type,omitempty"`
	Items                *ItemsItem                `protobuf:"bytes,23,opt,name=items" json:"items,omitempty"`
	AllOf                []*Schema                 `protobuf:"bytes,24,rep,name=all_of,json=allOf" json:"all_of,omitempty"`
	Properties           *Properties               `protobuf:"bytes,25,opt,name=properties" json:"properties,omitempty"`
	Discriminator        string                    `protobuf:"bytes,26,opt,name=discriminator" json:"discriminator,omitempty"`
	ReadOnly             bool                      `protobuf:"varint,27,opt,name=read_only,json=readOnly" json:"read_only,omitempty"`
	Xml                  *Xml                      `protobuf:"bytes,28,opt,name=xml" json:"xml,omitempty"`
	ExternalDocs         *ExternalDocs             `protobuf:"bytes,29,opt,name=external_docs,json=externalDocs" json:"external_docs,omitempty"`
	Example              *Any                      `protobuf:"bytes,30,opt,name=example" json:"example,omitempty"`
	VendorExtension      []*NamedAny               `protobuf:"bytes,31,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"`
}

A deterministic version of a JSON Schema object.

func NewSchema

func NewSchema(in interface{}, context *compiler.Context) (*Schema, error)

func (*Schema) Descriptor

func (*Schema) Descriptor() ([]byte, []int)

func (*Schema) GetAdditionalProperties

func (m *Schema) GetAdditionalProperties() *AdditionalPropertiesItem

func (*Schema) GetAllOf

func (m *Schema) GetAllOf() []*Schema

func (*Schema) GetDefault

func (m *Schema) GetDefault() *Any

func (*Schema) GetEnum

func (m *Schema) GetEnum() []*Any

func (*Schema) GetExample

func (m *Schema) GetExample() *Any

func (*Schema) GetExternalDocs

func (m *Schema) GetExternalDocs() *ExternalDocs

func (*Schema) GetItems

func (m *Schema) GetItems() *ItemsItem

func (*Schema) GetProperties

func (m *Schema) GetProperties() *Properties

func (*Schema) GetType

func (m *Schema) GetType() *TypeItem

func (*Schema) GetVendorExtension

func (m *Schema) GetVendorExtension() []*NamedAny

func (*Schema) GetXml

func (m *Schema) GetXml() *Xml

func (*Schema) ProtoMessage

func (*Schema) ProtoMessage()

func (*Schema) Reset

func (m *Schema) Reset()

func (*Schema) ResolveReferences

func (m *Schema) ResolveReferences(root string) (interface{}, error)

func (*Schema) String

func (m *Schema) String() string

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 NewTag

func NewTag(in interface{}, context *compiler.Context) (*Tag, error)

func (*Tag) Descriptor

func (*Tag) Descriptor() ([]byte, []int)

func (*Tag) GetExternalDocs

func (m *Tag) GetExternalDocs() *ExternalDocs

func (*Tag) GetVendorExtension

func (m *Tag) GetVendorExtension() []*NamedAny

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) Reset

func (m *Tag) Reset()

func (*Tag) ResolveReferences

func (m *Tag) ResolveReferences(root string) (interface{}, error)

func (*Tag) String

func (m *Tag) String() string

type TypeItem

type TypeItem struct {
	Value []string `protobuf:"bytes,1,rep,name=value" json:"value,omitempty"`
}

func NewTypeItem

func NewTypeItem(in interface{}, context *compiler.Context) (*TypeItem, error)

func (*TypeItem) Descriptor

func (*TypeItem) Descriptor() ([]byte, []int)

func (*TypeItem) ProtoMessage

func (*TypeItem) ProtoMessage()

func (*TypeItem) Reset

func (m *TypeItem) Reset()

func (*TypeItem) ResolveReferences

func (m *TypeItem) ResolveReferences(root string) (interface{}, error)

func (*TypeItem) String

func (m *TypeItem) String() string

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 NewXml

func NewXml(in interface{}, context *compiler.Context) (*Xml, error)

func (*Xml) Descriptor

func (*Xml) Descriptor() ([]byte, []int)

func (*Xml) GetVendorExtension

func (m *Xml) GetVendorExtension() []*NamedAny

func (*Xml) ProtoMessage

func (*Xml) ProtoMessage()

func (*Xml) Reset

func (m *Xml) Reset()

func (*Xml) ResolveReferences

func (m *Xml) ResolveReferences(root string) (interface{}, error)

func (*Xml) String

func (m *Xml) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL