openapi_v2

package
v0.0.0-...-d88c8b5 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Version

func Version() string

Version returns the package name (and OpenAPI version).

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"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

func NewAdditionalPropertiesItem

func NewAdditionalPropertiesItem(in interface{}, context *compiler.Context) (*AdditionalPropertiesItem, error)

NewAdditionalPropertiesItem creates an object of type AdditionalPropertiesItem if possible, returning an error if not.

func (*AdditionalPropertiesItem) Descriptor

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

func (*AdditionalPropertiesItem) GetBoolean

func (m *AdditionalPropertiesItem) GetBoolean() bool

func (*AdditionalPropertiesItem) GetOneof

func (m *AdditionalPropertiesItem) GetOneof() isAdditionalPropertiesItem_Oneof

func (*AdditionalPropertiesItem) GetSchema

func (m *AdditionalPropertiesItem) GetSchema() *Schema

func (*AdditionalPropertiesItem) ProtoMessage

func (*AdditionalPropertiesItem) ProtoMessage()

func (*AdditionalPropertiesItem) Reset

func (m *AdditionalPropertiesItem) Reset()

func (*AdditionalPropertiesItem) ResolveReferences

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

ResolveReferences resolves references found inside AdditionalPropertiesItem objects.

func (*AdditionalPropertiesItem) String

func (m *AdditionalPropertiesItem) String() string

func (*AdditionalPropertiesItem) ToRawInfo

func (m *AdditionalPropertiesItem) ToRawInfo() interface{}

ToRawInfo returns a description of AdditionalPropertiesItem suitable for JSON or YAML export.

func (*AdditionalPropertiesItem) XXX_DiscardUnknown

func (m *AdditionalPropertiesItem) XXX_DiscardUnknown()

func (*AdditionalPropertiesItem) XXX_Marshal

func (m *AdditionalPropertiesItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AdditionalPropertiesItem) XXX_Merge

func (m *AdditionalPropertiesItem) XXX_Merge(src proto.Message)

func (*AdditionalPropertiesItem) XXX_OneofWrappers

func (*AdditionalPropertiesItem) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*AdditionalPropertiesItem) XXX_Size

func (m *AdditionalPropertiesItem) XXX_Size() int

func (*AdditionalPropertiesItem) XXX_Unmarshal

func (m *AdditionalPropertiesItem) XXX_Unmarshal(b []byte) error

type AdditionalPropertiesItem_Boolean

type AdditionalPropertiesItem_Boolean struct {
	Boolean bool `protobuf:"varint,2,opt,name=boolean,proto3,oneof"`
}

type AdditionalPropertiesItem_Schema

type AdditionalPropertiesItem_Schema struct {
	Schema *Schema `protobuf:"bytes,1,opt,name=schema,proto3,oneof"`
}

type Any

type Any struct {
	Value                *any.Any `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	Yaml                 string   `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewAny

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

NewAny creates an object of type Any if possible, returning an error if not.

func (*Any) Descriptor

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

func (*Any) GetValue

func (m *Any) GetValue() *any.Any

func (*Any) GetYaml

func (m *Any) GetYaml() string

func (*Any) ProtoMessage

func (*Any) ProtoMessage()

func (*Any) Reset

func (m *Any) Reset()

func (*Any) ResolveReferences

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

ResolveReferences resolves references found inside Any objects.

func (*Any) String

func (m *Any) String() string

func (*Any) ToRawInfo

func (m *Any) ToRawInfo() interface{}

ToRawInfo returns a description of Any suitable for JSON or YAML export.

func (*Any) XXX_DiscardUnknown

func (m *Any) XXX_DiscardUnknown()

func (*Any) XXX_Marshal

func (m *Any) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Any) XXX_Merge

func (m *Any) XXX_Merge(src proto.Message)

func (*Any) XXX_Size

func (m *Any) XXX_Size() int

func (*Any) XXX_Unmarshal

func (m *Any) XXX_Unmarshal(b []byte) error

type ApiKeySecurity

type ApiKeySecurity struct {
	Type                 string      `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Name                 string      `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	In                   string      `protobuf:"bytes,3,opt,name=in,proto3" json:"in,omitempty"`
	Description          string      `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	VendorExtension      []*NamedAny `protobuf:"bytes,5,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func NewApiKeySecurity

func NewApiKeySecurity(in interface{}, context *compiler.Context) (*ApiKeySecurity, error)

NewApiKeySecurity creates an object of type ApiKeySecurity if possible, returning an error if not.

func (*ApiKeySecurity) Descriptor

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

func (*ApiKeySecurity) GetDescription

func (m *ApiKeySecurity) GetDescription() string

func (*ApiKeySecurity) GetIn

func (m *ApiKeySecurity) GetIn() string

func (*ApiKeySecurity) GetName

func (m *ApiKeySecurity) GetName() string

func (*ApiKeySecurity) GetType

func (m *ApiKeySecurity) GetType() string

func (*ApiKeySecurity) GetVendorExtension

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

func (*ApiKeySecurity) ProtoMessage

func (*ApiKeySecurity) ProtoMessage()

func (*ApiKeySecurity) Reset

func (m *ApiKeySecurity) Reset()

func (*ApiKeySecurity) ResolveReferences

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

ResolveReferences resolves references found inside ApiKeySecurity objects.

func (*ApiKeySecurity) String

func (m *ApiKeySecurity) String() string

func (*ApiKeySecurity) ToRawInfo

func (m *ApiKeySecurity) ToRawInfo() interface{}

ToRawInfo returns a description of ApiKeySecurity suitable for JSON or YAML export.

func (*ApiKeySecurity) XXX_DiscardUnknown

func (m *ApiKeySecurity) XXX_DiscardUnknown()

func (*ApiKeySecurity) XXX_Marshal

func (m *ApiKeySecurity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApiKeySecurity) XXX_Merge

func (m *ApiKeySecurity) XXX_Merge(src proto.Message)

func (*ApiKeySecurity) XXX_Size

func (m *ApiKeySecurity) XXX_Size() int

func (*ApiKeySecurity) XXX_Unmarshal

func (m *ApiKeySecurity) XXX_Unmarshal(b []byte) error

type BasicAuthenticationSecurity

type BasicAuthenticationSecurity struct {
	Type                 string      `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Description          string      `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	VendorExtension      []*NamedAny `protobuf:"bytes,3,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func NewBasicAuthenticationSecurity

func NewBasicAuthenticationSecurity(in interface{}, context *compiler.Context) (*BasicAuthenticationSecurity, error)

NewBasicAuthenticationSecurity creates an object of type BasicAuthenticationSecurity if possible, returning an error if not.

func (*BasicAuthenticationSecurity) Descriptor

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

func (*BasicAuthenticationSecurity) GetDescription

func (m *BasicAuthenticationSecurity) GetDescription() string

func (*BasicAuthenticationSecurity) GetType

func (m *BasicAuthenticationSecurity) GetType() string

func (*BasicAuthenticationSecurity) GetVendorExtension

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

func (*BasicAuthenticationSecurity) ProtoMessage

func (*BasicAuthenticationSecurity) ProtoMessage()

func (*BasicAuthenticationSecurity) Reset

func (m *BasicAuthenticationSecurity) Reset()

func (*BasicAuthenticationSecurity) ResolveReferences

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

ResolveReferences resolves references found inside BasicAuthenticationSecurity objects.

func (*BasicAuthenticationSecurity) String

func (m *BasicAuthenticationSecurity) String() string

func (*BasicAuthenticationSecurity) ToRawInfo

func (m *BasicAuthenticationSecurity) ToRawInfo() interface{}

ToRawInfo returns a description of BasicAuthenticationSecurity suitable for JSON or YAML export.

func (*BasicAuthenticationSecurity) XXX_DiscardUnknown

func (m *BasicAuthenticationSecurity) XXX_DiscardUnknown()

func (*BasicAuthenticationSecurity) XXX_Marshal

func (m *BasicAuthenticationSecurity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BasicAuthenticationSecurity) XXX_Merge

func (m *BasicAuthenticationSecurity) XXX_Merge(src proto.Message)

func (*BasicAuthenticationSecurity) XXX_Size

func (m *BasicAuthenticationSecurity) XXX_Size() int

func (*BasicAuthenticationSecurity) XXX_Unmarshal

func (m *BasicAuthenticationSecurity) XXX_Unmarshal(b []byte) error

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,proto3" json:"description,omitempty"`
	// The name of the parameter.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Determines the location of the parameter.
	In string `protobuf:"bytes,3,opt,name=in,proto3" json:"in,omitempty"`
	// Determines whether or not this parameter is required or optional.
	Required             bool        `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"`
	Schema               *Schema     `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"`
	VendorExtension      []*NamedAny `protobuf:"bytes,6,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func NewBodyParameter

func NewBodyParameter(in interface{}, context *compiler.Context) (*BodyParameter, error)

NewBodyParameter creates an object of type BodyParameter if possible, returning an error if not.

func (*BodyParameter) Descriptor

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

func (*BodyParameter) GetDescription

func (m *BodyParameter) GetDescription() string

func (*BodyParameter) GetIn

func (m *BodyParameter) GetIn() string

func (*BodyParameter) GetName

func (m *BodyParameter) GetName() string

func (*BodyParameter) GetRequired

func (m *BodyParameter) GetRequired() bool

func (*BodyParameter) GetSchema

func (m *BodyParameter) GetSchema() *Schema

func (*BodyParameter) GetVendorExtension

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

func (*BodyParameter) ProtoMessage

func (*BodyParameter) ProtoMessage()

func (*BodyParameter) Reset

func (m *BodyParameter) Reset()

func (*BodyParameter) ResolveReferences

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

ResolveReferences resolves references found inside BodyParameter objects.

func (*BodyParameter) String

func (m *BodyParameter) String() string

func (*BodyParameter) ToRawInfo

func (m *BodyParameter) ToRawInfo() interface{}

ToRawInfo returns a description of BodyParameter suitable for JSON or YAML export.

func (*BodyParameter) XXX_DiscardUnknown

func (m *BodyParameter) XXX_DiscardUnknown()

func (*BodyParameter) XXX_Marshal

func (m *BodyParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BodyParameter) XXX_Merge

func (m *BodyParameter) XXX_Merge(src proto.Message)

func (*BodyParameter) XXX_Size

func (m *BodyParameter) XXX_Size() int

func (*BodyParameter) XXX_Unmarshal

func (m *BodyParameter) XXX_Unmarshal(b []byte) error

type Contact

type Contact struct {
	// The identifying name of the contact person/organization.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The URL pointing to the contact information.
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// The email address of the contact person/organization.
	Email                string      `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	VendorExtension      []*NamedAny `protobuf:"bytes,4,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

Contact information for the owners of the API.

func NewContact

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

NewContact creates an object of type Contact if possible, returning an error if not.

func (*Contact) Descriptor

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

func (*Contact) GetEmail

func (m *Contact) GetEmail() string

func (*Contact) GetName

func (m *Contact) GetName() string

func (*Contact) GetUrl

func (m *Contact) GetUrl() string

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)

ResolveReferences resolves references found inside Contact objects.

func (*Contact) String

func (m *Contact) String() string

func (*Contact) ToRawInfo

func (m *Contact) ToRawInfo() interface{}

ToRawInfo returns a description of Contact suitable for JSON or YAML export.

func (*Contact) XXX_DiscardUnknown

func (m *Contact) XXX_DiscardUnknown()

func (*Contact) XXX_Marshal

func (m *Contact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Contact) XXX_Merge

func (m *Contact) XXX_Merge(src proto.Message)

func (*Contact) XXX_Size

func (m *Contact) XXX_Size() int

func (*Contact) XXX_Unmarshal

func (m *Contact) XXX_Unmarshal(b []byte) error

type Default

type Default struct {
	AdditionalProperties []*NamedAny `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func NewDefault

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

NewDefault creates an object of type Default if possible, returning an error if not.

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)

ResolveReferences resolves references found inside Default objects.

func (*Default) String

func (m *Default) String() string

func (*Default) ToRawInfo

func (m *Default) ToRawInfo() interface{}

ToRawInfo returns a description of Default suitable for JSON or YAML export.

func (*Default) XXX_DiscardUnknown

func (m *Default) XXX_DiscardUnknown()

func (*Default) XXX_Marshal

func (m *Default) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Default) XXX_Merge

func (m *Default) XXX_Merge(src proto.Message)

func (*Default) XXX_Size

func (m *Default) XXX_Size() int

func (*Default) XXX_Unmarshal

func (m *Default) XXX_Unmarshal(b []byte) error

type Definitions

type Definitions struct {
	AdditionalProperties []*NamedSchema `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

One or more JSON objects describing the schemas being consumed and produced by the API.

func NewDefinitions

func NewDefinitions(in interface{}, context *compiler.Context) (*Definitions, error)

NewDefinitions creates an object of type Definitions if possible, returning an error if not.

func (*Definitions) Descriptor

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

func (*Definitions) GetAdditionalProperties

func (m *Definitions) GetAdditionalProperties() []*NamedSchema

func (*Definitions) ProtoMessage

func (*Definitions) ProtoMessage()

func (*Definitions) Reset

func (m *Definitions) Reset()

func (*Definitions) ResolveReferences

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

ResolveReferences resolves references found inside Definitions objects.

func (*Definitions) String

func (m *Definitions) String() string

func (*Definitions) ToRawInfo

func (m *Definitions) ToRawInfo() interface{}

ToRawInfo returns a description of Definitions suitable for JSON or YAML export.

func (*Definitions) XXX_DiscardUnknown

func (m *Definitions) XXX_DiscardUnknown()

func (*Definitions) XXX_Marshal

func (m *Definitions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Definitions) XXX_Merge

func (m *Definitions) XXX_Merge(src proto.Message)

func (*Definitions) XXX_Size

func (m *Definitions) XXX_Size() int

func (*Definitions) XXX_Unmarshal

func (m *Definitions) XXX_Unmarshal(b []byte) error

type Document

type Document struct {
	// The Swagger version of this document.
	Swagger string `protobuf:"bytes,1,opt,name=swagger,proto3" json:"swagger,omitempty"`
	Info    *Info  `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	// The host (name or ip) of the API. Example: 'swagger.io'
	Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	// The base path to the API. Example: '/api'.
	BasePath string `protobuf:"bytes,4,opt,name=base_path,json=basePath,proto3" json:"base_path,omitempty"`
	// The transfer protocol of the API.
	Schemes []string `protobuf:"bytes,5,rep,name=schemes,proto3" json:"schemes,omitempty"`
	// A list of MIME types accepted by the API.
	Consumes []string `protobuf:"bytes,6,rep,name=consumes,proto3" json:"consumes,omitempty"`
	// A list of MIME types the API can produce.
	Produces             []string               `protobuf:"bytes,7,rep,name=produces,proto3" json:"produces,omitempty"`
	Paths                *Paths                 `protobuf:"bytes,8,opt,name=paths,proto3" json:"paths,omitempty"`
	Definitions          *Definitions           `protobuf:"bytes,9,opt,name=definitions,proto3" json:"definitions,omitempty"`
	Parameters           *ParameterDefinitions  `protobuf:"bytes,10,opt,name=parameters,proto3" json:"parameters,omitempty"`
	Responses            *ResponseDefinitions   `protobuf:"bytes,11,opt,name=responses,proto3" json:"responses,omitempty"`
	Security             []*SecurityRequirement `protobuf:"bytes,12,rep,name=security,proto3" json:"security,omitempty"`
	SecurityDefinitions  *SecurityDefinitions   `protobuf:"bytes,13,opt,name=security_definitions,json=securityDefinitions,proto3" json:"security_definitions,omitempty"`
	Tags                 []*Tag                 `protobuf:"bytes,14,rep,name=tags,proto3" json:"tags,omitempty"`
	ExternalDocs         *ExternalDocs          `protobuf:"bytes,15,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"`
	VendorExtension      []*NamedAny            `protobuf:"bytes,16,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func NewDocument

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

NewDocument creates an object of type Document if possible, returning an error if not.

func (*Document) Descriptor

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

func (*Document) GetBasePath

func (m *Document) GetBasePath() string

func (*Document) GetConsumes

func (m *Document) GetConsumes() []string

func (*Document) GetDefinitions

func (m *Document) GetDefinitions() *Definitions

func (*Document) GetExternalDocs

func (m *Document) GetExternalDocs() *ExternalDocs

func (*Document) GetHost

func (m *Document) GetHost() string

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

func (m *Document) GetProduces() []string

func (*Document) GetResponses

func (m *Document) GetResponses() *ResponseDefinitions

func (*Document) GetSchemes

func (m *Document) GetSchemes() []string

func (*Document) GetSecurity

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

func (*Document) GetSecurityDefinitions

func (m *Document) GetSecurityDefinitions() *SecurityDefinitions

func (*Document) GetSwagger

func (m *Document) GetSwagger() string

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)

ResolveReferences resolves references found inside Document objects.

func (*Document) String

func (m *Document) String() string

func (*Document) ToRawInfo

func (m *Document) ToRawInfo() interface{}

ToRawInfo returns a description of Document suitable for JSON or YAML export.

func (*Document) XXX_DiscardUnknown

func (m *Document) XXX_DiscardUnknown()

func (*Document) XXX_Marshal

func (m *Document) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Document) XXX_Merge

func (m *Document) XXX_Merge(src proto.Message)

func (*Document) XXX_Size

func (m *Document) XXX_Size() int

func (*Document) XXX_Unmarshal

func (m *Document) XXX_Unmarshal(b []byte) error

type Examples

type Examples struct {
	AdditionalProperties []*NamedAny `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func NewExamples

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

NewExamples creates an object of type Examples if possible, returning an error if not.

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)

ResolveReferences resolves references found inside Examples objects.

func (*Examples) String

func (m *Examples) String() string

func (*Examples) ToRawInfo

func (m *Examples) ToRawInfo() interface{}

ToRawInfo returns a description of Examples suitable for JSON or YAML export.

func (*Examples) XXX_DiscardUnknown

func (m *Examples) XXX_DiscardUnknown()

func (*Examples) XXX_Marshal

func (m *Examples) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Examples) XXX_Merge

func (m *Examples) XXX_Merge(src proto.Message)

func (*Examples) XXX_Size

func (m *Examples) XXX_Size() int

func (*Examples) XXX_Unmarshal

func (m *Examples) XXX_Unmarshal(b []byte) error

type ExternalDocs

type ExternalDocs struct {
	Description          string      `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	Url                  string      `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	VendorExtension      []*NamedAny `protobuf:"bytes,3,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

information about external documentation

func NewExternalDocs

func NewExternalDocs(in interface{}, context *compiler.Context) (*ExternalDocs, error)

NewExternalDocs creates an object of type ExternalDocs if possible, returning an error if not.

func (*ExternalDocs) Descriptor

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

func (*ExternalDocs) GetDescription

func (m *ExternalDocs) GetDescription() string

func (*ExternalDocs) GetUrl

func (m *ExternalDocs) GetUrl() string

func (*ExternalDocs) GetVendorExtension

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

func (*ExternalDocs) ProtoMessage

func (*ExternalDocs) ProtoMessage()

func (*ExternalDocs) Reset

func (m *ExternalDocs) Reset()

func (*ExternalDocs) ResolveReferences

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

ResolveReferences resolves references found inside ExternalDocs objects.

func (*ExternalDocs) String

func (m *ExternalDocs) String() string

func (*ExternalDocs) ToRawInfo

func (m *ExternalDocs) ToRawInfo() interface{}

ToRawInfo returns a description of ExternalDocs suitable for JSON or YAML export.

func (*ExternalDocs) XXX_DiscardUnknown

func (m *ExternalDocs) XXX_DiscardUnknown()

func (*ExternalDocs) XXX_Marshal

func (m *ExternalDocs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExternalDocs) XXX_Merge

func (m *ExternalDocs) XXX_Merge(src proto.Message)

func (*ExternalDocs) XXX_Size

func (m *ExternalDocs) XXX_Size() int

func (*ExternalDocs) XXX_Unmarshal

func (m *ExternalDocs) XXX_Unmarshal(b []byte) error

type FileSchema

type FileSchema struct {
	Format               string        `protobuf:"bytes,1,opt,name=format,proto3" json:"format,omitempty"`
	Title                string        `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Description          string        `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Default              *Any          `protobuf:"bytes,4,opt,name=default,proto3" json:"default,omitempty"`
	Required             []string      `protobuf:"bytes,5,rep,name=required,proto3" json:"required,omitempty"`
	Type                 string        `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	ReadOnly             bool          `protobuf:"varint,7,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
	ExternalDocs         *ExternalDocs `protobuf:"bytes,8,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"`
	Example              *Any          `protobuf:"bytes,9,opt,name=example,proto3" json:"example,omitempty"`
	VendorExtension      []*NamedAny   `protobuf:"bytes,10,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

A deterministic version of a JSON Schema object.

func NewFileSchema

func NewFileSchema(in interface{}, context *compiler.Context) (*FileSchema, error)

NewFileSchema creates an object of type FileSchema if possible, returning an error if not.

func (*FileSchema) Descriptor

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

func (*FileSchema) GetDefault

func (m *FileSchema) GetDefault() *Any

func (*FileSchema) GetDescription

func (m *FileSchema) GetDescription() string

func (*FileSchema) GetExample

func (m *FileSchema) GetExample() *Any

func (*FileSchema) GetExternalDocs

func (m *FileSchema) GetExternalDocs() *ExternalDocs

func (*FileSchema) GetFormat

func (m *FileSchema) GetFormat() string

func (*FileSchema) GetReadOnly

func (m *FileSchema) GetReadOnly() bool

func (*FileSchema) GetRequired

func (m *FileSchema) GetRequired() []string

func (*FileSchema) GetTitle

func (m *FileSchema) GetTitle() string

func (*FileSchema) GetType

func (m *FileSchema) GetType() string

func (*FileSchema) GetVendorExtension

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

func (*FileSchema) ProtoMessage

func (*FileSchema) ProtoMessage()

func (*FileSchema) Reset

func (m *FileSchema) Reset()

func (*FileSchema) ResolveReferences

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

ResolveReferences resolves references found inside FileSchema objects.

func (*FileSchema) String

func (m *FileSchema) String() string

func (*FileSchema) ToRawInfo

func (m *FileSchema) ToRawInfo() interface{}

ToRawInfo returns a description of FileSchema suitable for JSON or YAML export.

func (*FileSchema) XXX_DiscardUnknown

func (m *FileSchema) XXX_DiscardUnknown()

func (*FileSchema) XXX_Marshal

func (m *FileSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FileSchema) XXX_Merge

func (m *FileSchema) XXX_Merge(src proto.Message)

func (*FileSchema) XXX_Size

func (m *FileSchema) XXX_Size() int

func (*FileSchema) XXX_Unmarshal

func (m *FileSchema) XXX_Unmarshal(b []byte) error

type FormDataParameterSubSchema

type FormDataParameterSubSchema struct {
	// Determines whether or not this parameter is required or optional.
	Required bool `protobuf:"varint,1,opt,name=required,proto3" json:"required,omitempty"`
	// Determines the location of the parameter.
	In string `protobuf:"bytes,2,opt,name=in,proto3" 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,proto3" json:"description,omitempty"`
	// The name of the parameter.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" 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,proto3" json:"allow_empty_value,omitempty"`
	Type                 string           `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	Format               string           `protobuf:"bytes,7,opt,name=format,proto3" json:"format,omitempty"`
	Items                *PrimitivesItems `protobuf:"bytes,8,opt,name=items,proto3" json:"items,omitempty"`
	CollectionFormat     string           `protobuf:"bytes,9,opt,name=collection_format,json=collectionFormat,proto3" json:"collection_format,omitempty"`
	Default              *Any             `protobuf:"bytes,10,opt,name=default,proto3" json:"default,omitempty"`
	Maximum              float64          `protobuf:"fixed64,11,opt,name=maximum,proto3" json:"maximum,omitempty"`
	ExclusiveMaximum     bool             `protobuf:"varint,12,opt,name=exclusive_maximum,json=exclusiveMaximum,proto3" json:"exclusive_maximum,omitempty"`
	Minimum              float64          `protobuf:"fixed64,13,opt,name=minimum,proto3" json:"minimum,omitempty"`
	ExclusiveMinimum     bool             `protobuf:"varint,14,opt,name=exclusive_minimum,json=exclusiveMinimum,proto3" json:"exclusive_minimum,omitempty"`
	MaxLength            int64            `protobuf:"varint,15,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"`
	MinLength            int64            `protobuf:"varint,16,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"`
	Pattern              string           `protobuf:"bytes,17,opt,name=pattern,proto3" json:"pattern,omitempty"`
	MaxItems             int64            `protobuf:"varint,18,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"`
	MinItems             int64            `protobuf:"varint,19,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"`
	UniqueItems          bool             `protobuf:"varint,20,opt,name=unique_items,json=uniqueItems,proto3" json:"unique_items,omitempty"`
	Enum                 []*Any           `protobuf:"bytes,21,rep,name=enum,proto3" json:"enum,omitempty"`
	MultipleOf           float64          `protobuf:"fixed64,22,opt,name=multiple_of,json=multipleOf,proto3" json:"multiple_of,omitempty"`
	VendorExtension      []*NamedAny      `protobuf:"bytes,23,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func NewFormDataParameterSubSchema

func NewFormDataParameterSubSchema(in interface{}, context *compiler.Context) (*FormDataParameterSubSchema, error)

NewFormDataParameterSubSchema creates an object of type FormDataParameterSubSchema if possible, returning an error if not.

func (*FormDataParameterSubSchema) Descriptor

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

func (*FormDataParameterSubSchema) GetAllowEmptyValue

func (m *FormDataParameterSubSchema) GetAllowEmptyValue() bool

func (*FormDataParameterSubSchema) GetCollectionFormat

func (m *FormDataParameterSubSchema) GetCollectionFormat() string

func (*FormDataParameterSubSchema) GetDefault

func (m *FormDataParameterSubSchema) GetDefault() *Any

func (*FormDataParameterSubSchema) GetDescription

func (m *FormDataParameterSubSchema) GetDescription() string

func (*FormDataParameterSubSchema) GetEnum

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

func (*FormDataParameterSubSchema) GetExclusiveMaximum

func (m *FormDataParameterSubSchema) GetExclusiveMaximum() bool

func (*FormDataParameterSubSchema) GetExclusiveMinimum

func (m *FormDataParameterSubSchema) GetExclusiveMinimum() bool

func (*FormDataParameterSubSchema) GetFormat

func (m *FormDataParameterSubSchema) GetFormat() string

func (*FormDataParameterSubSchema) GetIn

func (*FormDataParameterSubSchema) GetItems

func (*FormDataParameterSubSchema) GetMaxItems

func (m *FormDataParameterSubSchema) GetMaxItems() int64

func (*FormDataParameterSubSchema) GetMaxLength

func (m *FormDataParameterSubSchema) GetMaxLength() int64

func (*FormDataParameterSubSchema) GetMaximum

func (m *FormDataParameterSubSchema) GetMaximum() float64

func (*FormDataParameterSubSchema) GetMinItems

func (m *FormDataParameterSubSchema) GetMinItems() int64

func (*FormDataParameterSubSchema) GetMinLength

func (m *FormDataParameterSubSchema) GetMinLength() int64

func (*FormDataParameterSubSchema) GetMinimum

func (m *FormDataParameterSubSchema) GetMinimum() float64

func (*FormDataParameterSubSchema) GetMultipleOf

func (m *FormDataParameterSubSchema) GetMultipleOf() float64

func (*FormDataParameterSubSchema) GetName

func (m *FormDataParameterSubSchema) GetName() string

func (*FormDataParameterSubSchema) GetPattern

func (m *FormDataParameterSubSchema) GetPattern() string

func (*FormDataParameterSubSchema) GetRequired

func (m *FormDataParameterSubSchema) GetRequired() bool

func (*FormDataParameterSubSchema) GetType

func (m *FormDataParameterSubSchema) GetType() string

func (*FormDataParameterSubSchema) GetUniqueItems

func (m *FormDataParameterSubSchema) GetUniqueItems() bool

func (*FormDataParameterSubSchema) GetVendorExtension

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

func (*FormDataParameterSubSchema) ProtoMessage

func (*FormDataParameterSubSchema) ProtoMessage()

func (*FormDataParameterSubSchema) Reset

func (m *FormDataParameterSubSchema) Reset()

func (*FormDataParameterSubSchema) ResolveReferences

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

ResolveReferences resolves references found inside FormDataParameterSubSchema objects.

func (*FormDataParameterSubSchema) String

func (m *FormDataParameterSubSchema) String() string

func (*FormDataParameterSubSchema) ToRawInfo

func (m *FormDataParameterSubSchema) ToRawInfo() interface{}

ToRawInfo returns a description of FormDataParameterSubSchema suitable for JSON or YAML export.

func (*FormDataParameterSubSchema) XXX_DiscardUnknown

func (m *FormDataParameterSubSchema) XXX_DiscardUnknown()

func (*FormDataParameterSubSchema) XXX_Marshal

func (m *FormDataParameterSubSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FormDataParameterSubSchema) XXX_Merge

func (m *FormDataParameterSubSchema) XXX_Merge(src proto.Message)

func (*FormDataParameterSubSchema) XXX_Size

func (m *FormDataParameterSubSchema) XXX_Size() int

func (*FormDataParameterSubSchema) XXX_Unmarshal

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

func NewHeader

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

NewHeader creates an object of type Header if possible, returning an error if not.

func (*Header) Descriptor

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

func (*Header) GetCollectionFormat

func (m *Header) GetCollectionFormat() string

func (*Header) GetDefault

func (m *Header) GetDefault() *Any

func (*Header) GetDescription

func (m *Header) GetDescription() string

func (*Header) GetEnum

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

func (*Header) GetExclusiveMaximum

func (m *Header) GetExclusiveMaximum() bool

func (*Header) GetExclusiveMinimum

func (m *Header) GetExclusiveMinimum() bool

func (*Header) GetFormat

func (m *Header) GetFormat() string

func (*Header) GetItems

func (m *Header) GetItems() *PrimitivesItems

func (*Header) GetMaxItems

func (m *Header) GetMaxItems() int64

func (*Header) GetMaxLength

func (m *Header) GetMaxLength() int64

func (*Header) GetMaximum

func (m *Header) GetMaximum() float64

func (*Header) GetMinItems

func (m *Header) GetMinItems() int64

func (*Header) GetMinLength

func (m *Header) GetMinLength() int64

func (*Header) GetMinimum

func (m *Header) GetMinimum() float64

func (*Header) GetMultipleOf

func (m *Header) GetMultipleOf() float64

func (*Header) GetPattern

func (m *Header) GetPattern() string

func (*Header) GetType

func (m *Header) GetType() string

func (*Header) GetUniqueItems

func (m *Header) GetUniqueItems() bool

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)

ResolveReferences resolves references found inside Header objects.

func (*Header) String

func (m *Header) String() string

func (*Header) ToRawInfo

func (m *Header) ToRawInfo() interface{}

ToRawInfo returns a description of Header suitable for JSON or YAML export.

func (*Header) XXX_DiscardUnknown

func (m *Header) XXX_DiscardUnknown()

func (*Header) XXX_Marshal

func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Header) XXX_Merge

func (m *Header) XXX_Merge(src proto.Message)

func (*Header) XXX_Size

func (m *Header) XXX_Size() int

func (*Header) XXX_Unmarshal

func (m *Header) XXX_Unmarshal(b []byte) error

type HeaderParameterSubSchema

type HeaderParameterSubSchema struct {
	// Determines whether or not this parameter is required or optional.
	Required bool `protobuf:"varint,1,opt,name=required,proto3" json:"required,omitempty"`
	// Determines the location of the parameter.
	In string `protobuf:"bytes,2,opt,name=in,proto3" 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,proto3" json:"description,omitempty"`
	// The name of the parameter.
	Name                 string           `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Type                 string           `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	Format               string           `protobuf:"bytes,6,opt,name=format,proto3" json:"format,omitempty"`
	Items                *PrimitivesItems `protobuf:"bytes,7,opt,name=items,proto3" json:"items,omitempty"`
	CollectionFormat     string           `protobuf:"bytes,8,opt,name=collection_format,json=collectionFormat,proto3" json:"collection_format,omitempty"`
	Default              *Any             `protobuf:"bytes,9,opt,name=default,proto3" json:"default,omitempty"`
	Maximum              float64          `protobuf:"fixed64,10,opt,name=maximum,proto3" json:"maximum,omitempty"`
	ExclusiveMaximum     bool             `protobuf:"varint,11,opt,name=exclusive_maximum,json=exclusiveMaximum,proto3" json:"exclusive_maximum,omitempty"`
	Minimum              float64          `protobuf:"fixed64,12,opt,name=minimum,proto3" json:"minimum,omitempty"`
	ExclusiveMinimum     bool             `protobuf:"varint,13,opt,name=exclusive_minimum,json=exclusiveMinimum,proto3" json:"exclusive_minimum,omitempty"`
	MaxLength            int64            `protobuf:"varint,14,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"`
	MinLength            int64            `protobuf:"varint,15,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"`
	Pattern              string           `protobuf:"bytes,16,opt,name=pattern,proto3" json:"pattern,omitempty"`
	MaxItems             int64            `protobuf:"varint,17,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"`
	MinItems             int64            `protobuf:"varint,18,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"`
	UniqueItems          bool             `protobuf:"varint,19,opt,name=unique_items,json=uniqueItems,proto3" json:"unique_items,omitempty"`
	Enum                 []*Any           `protobuf:"bytes,20,rep,name=enum,proto3" json:"enum,omitempty"`
	MultipleOf           float64          `protobuf:"fixed64,21,opt,name=multiple_of,json=multipleOf,proto3" json:"multiple_of,omitempty"`
	VendorExtension      []*NamedAny      `protobuf:"bytes,22,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func NewHeaderParameterSubSchema

func NewHeaderParameterSubSchema(in interface{}, context *compiler.Context) (*HeaderParameterSubSchema, error)

NewHeaderParameterSubSchema creates an object of type HeaderParameterSubSchema if possible, returning an error if not.

func (*HeaderParameterSubSchema) Descriptor

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

func (*HeaderParameterSubSchema) GetCollectionFormat

func (m *HeaderParameterSubSchema) GetCollectionFormat() string

func (*HeaderParameterSubSchema) GetDefault

func (m *HeaderParameterSubSchema) GetDefault() *Any

func (*HeaderParameterSubSchema) GetDescription

func (m *HeaderParameterSubSchema) GetDescription() string

func (*HeaderParameterSubSchema) GetEnum

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

func (*HeaderParameterSubSchema) GetExclusiveMaximum

func (m *HeaderParameterSubSchema) GetExclusiveMaximum() bool

func (*HeaderParameterSubSchema) GetExclusiveMinimum

func (m *HeaderParameterSubSchema) GetExclusiveMinimum() bool

func (*HeaderParameterSubSchema) GetFormat

func (m *HeaderParameterSubSchema) GetFormat() string

func (*HeaderParameterSubSchema) GetIn

func (m *HeaderParameterSubSchema) GetIn() string

func (*HeaderParameterSubSchema) GetItems

func (*HeaderParameterSubSchema) GetMaxItems

func (m *HeaderParameterSubSchema) GetMaxItems() int64

func (*HeaderParameterSubSchema) GetMaxLength

func (m *HeaderParameterSubSchema) GetMaxLength() int64

func (*HeaderParameterSubSchema) GetMaximum

func (m *HeaderParameterSubSchema) GetMaximum() float64

func (*HeaderParameterSubSchema) GetMinItems

func (m *HeaderParameterSubSchema) GetMinItems() int64

func (*HeaderParameterSubSchema) GetMinLength

func (m *HeaderParameterSubSchema) GetMinLength() int64

func (*HeaderParameterSubSchema) GetMinimum

func (m *HeaderParameterSubSchema) GetMinimum() float64

func (*HeaderParameterSubSchema) GetMultipleOf

func (m *HeaderParameterSubSchema) GetMultipleOf() float64

func (*HeaderParameterSubSchema) GetName

func (m *HeaderParameterSubSchema) GetName() string

func (*HeaderParameterSubSchema) GetPattern

func (m *HeaderParameterSubSchema) GetPattern() string

func (*HeaderParameterSubSchema) GetRequired

func (m *HeaderParameterSubSchema) GetRequired() bool

func (*HeaderParameterSubSchema) GetType

func (m *HeaderParameterSubSchema) GetType() string

func (*HeaderParameterSubSchema) GetUniqueItems

func (m *HeaderParameterSubSchema) GetUniqueItems() bool

func (*HeaderParameterSubSchema) GetVendorExtension

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

func (*HeaderParameterSubSchema) ProtoMessage

func (*HeaderParameterSubSchema) ProtoMessage()

func (*HeaderParameterSubSchema) Reset

func (m *HeaderParameterSubSchema) Reset()

func (*HeaderParameterSubSchema) ResolveReferences

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

ResolveReferences resolves references found inside HeaderParameterSubSchema objects.

func (*HeaderParameterSubSchema) String

func (m *HeaderParameterSubSchema) String() string

func (*HeaderParameterSubSchema) ToRawInfo

func (m *HeaderParameterSubSchema) ToRawInfo() interface{}

ToRawInfo returns a description of HeaderParameterSubSchema suitable for JSON or YAML export.

func (*HeaderParameterSubSchema) XXX_DiscardUnknown

func (m *HeaderParameterSubSchema) XXX_DiscardUnknown()

func (*HeaderParameterSubSchema) XXX_Marshal

func (m *HeaderParameterSubSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HeaderParameterSubSchema) XXX_Merge

func (m *HeaderParameterSubSchema) XXX_Merge(src proto.Message)

func (*HeaderParameterSubSchema) XXX_Size

func (m *HeaderParameterSubSchema) XXX_Size() int

func (*HeaderParameterSubSchema) XXX_Unmarshal

func (m *HeaderParameterSubSchema) XXX_Unmarshal(b []byte) error

type Headers

type Headers struct {
	AdditionalProperties []*NamedHeader `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func NewHeaders

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

NewHeaders creates an object of type Headers if possible, returning an error if not.

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)

ResolveReferences resolves references found inside Headers objects.

func (*Headers) String

func (m *Headers) String() string

func (*Headers) ToRawInfo

func (m *Headers) ToRawInfo() interface{}

ToRawInfo returns a description of Headers suitable for JSON or YAML export.

func (*Headers) XXX_DiscardUnknown

func (m *Headers) XXX_DiscardUnknown()

func (*Headers) XXX_Marshal

func (m *Headers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Headers) XXX_Merge

func (m *Headers) XXX_Merge(src proto.Message)

func (*Headers) XXX_Size

func (m *Headers) XXX_Size() int

func (*Headers) XXX_Unmarshal

func (m *Headers) XXX_Unmarshal(b []byte) error

type Info

type Info struct {
	// A unique and precise title of the API.
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// A semantic version number of the API.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" 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,proto3" json:"description,omitempty"`
	// The terms of service for the API.
	TermsOfService       string      `protobuf:"bytes,4,opt,name=terms_of_service,json=termsOfService,proto3" json:"terms_of_service,omitempty"`
	Contact              *Contact    `protobuf:"bytes,5,opt,name=contact,proto3" json:"contact,omitempty"`
	License              *License    `protobuf:"bytes,6,opt,name=license,proto3" json:"license,omitempty"`
	VendorExtension      []*NamedAny `protobuf:"bytes,7,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

General information about the API.

func NewInfo

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

NewInfo creates an object of type Info if possible, returning an error if not.

func (*Info) Descriptor

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

func (*Info) GetContact

func (m *Info) GetContact() *Contact

func (*Info) GetDescription

func (m *Info) GetDescription() string

func (*Info) GetLicense

func (m *Info) GetLicense() *License

func (*Info) GetTermsOfService

func (m *Info) GetTermsOfService() string

func (*Info) GetTitle

func (m *Info) GetTitle() string

func (*Info) GetVendorExtension

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

func (*Info) GetVersion

func (m *Info) GetVersion() string

func (*Info) ProtoMessage

func (*Info) ProtoMessage()

func (*Info) Reset

func (m *Info) Reset()

func (*Info) ResolveReferences

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

ResolveReferences resolves references found inside Info objects.

func (*Info) String

func (m *Info) String() string

func (*Info) ToRawInfo

func (m *Info) ToRawInfo() interface{}

ToRawInfo returns a description of Info suitable for JSON or YAML export.

func (*Info) XXX_DiscardUnknown

func (m *Info) XXX_DiscardUnknown()

func (*Info) XXX_Marshal

func (m *Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Info) XXX_Merge

func (m *Info) XXX_Merge(src proto.Message)

func (*Info) XXX_Size

func (m *Info) XXX_Size() int

func (*Info) XXX_Unmarshal

func (m *Info) XXX_Unmarshal(b []byte) error

type ItemsItem

type ItemsItem struct {
	Schema               []*Schema `protobuf:"bytes,1,rep,name=schema,proto3" json:"schema,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func NewItemsItem

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

NewItemsItem creates an object of type ItemsItem if possible, returning an error if not.

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)

ResolveReferences resolves references found inside ItemsItem objects.

func (*ItemsItem) String

func (m *ItemsItem) String() string

func (*ItemsItem) ToRawInfo

func (m *ItemsItem) ToRawInfo() interface{}

ToRawInfo returns a description of ItemsItem suitable for JSON or YAML export.

func (*ItemsItem) XXX_DiscardUnknown

func (m *ItemsItem) XXX_DiscardUnknown()

func (*ItemsItem) XXX_Marshal

func (m *ItemsItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ItemsItem) XXX_Merge

func (m *ItemsItem) XXX_Merge(src proto.Message)

func (*ItemsItem) XXX_Size

func (m *ItemsItem) XXX_Size() int

func (*ItemsItem) XXX_Unmarshal

func (m *ItemsItem) XXX_Unmarshal(b []byte) error

type JsonReference

type JsonReference struct {
	XRef                 string   `protobuf:"bytes,1,opt,name=_ref,json=Ref,proto3" json:"_ref,omitempty"`
	Description          string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewJsonReference

func NewJsonReference(in interface{}, context *compiler.Context) (*JsonReference, error)

NewJsonReference creates an object of type JsonReference if possible, returning an error if not.

func (*JsonReference) Descriptor

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

func (*JsonReference) GetDescription

func (m *JsonReference) GetDescription() string

func (*JsonReference) GetXRef

func (m *JsonReference) GetXRef() string

func (*JsonReference) ProtoMessage

func (*JsonReference) ProtoMessage()

func (*JsonReference) Reset

func (m *JsonReference) Reset()

func (*JsonReference) ResolveReferences

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

ResolveReferences resolves references found inside JsonReference objects.

func (*JsonReference) String

func (m *JsonReference) String() string

func (*JsonReference) ToRawInfo

func (m *JsonReference) ToRawInfo() interface{}

ToRawInfo returns a description of JsonReference suitable for JSON or YAML export.

func (*JsonReference) XXX_DiscardUnknown

func (m *JsonReference) XXX_DiscardUnknown()

func (*JsonReference) XXX_Marshal

func (m *JsonReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JsonReference) XXX_Merge

func (m *JsonReference) XXX_Merge(src proto.Message)

func (*JsonReference) XXX_Size

func (m *JsonReference) XXX_Size() int

func (*JsonReference) XXX_Unmarshal

func (m *JsonReference) XXX_Unmarshal(b []byte) error

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,proto3" json:"name,omitempty"`
	// The URL pointing to the license.
	Url                  string      `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	VendorExtension      []*NamedAny `protobuf:"bytes,3,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func NewLicense

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

NewLicense creates an object of type License if possible, returning an error if not.

func (*License) Descriptor

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

func (*License) GetName

func (m *License) GetName() string

func (*License) GetUrl

func (m *License) GetUrl() string

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)

ResolveReferences resolves references found inside License objects.

func (*License) String

func (m *License) String() string

func (*License) ToRawInfo

func (m *License) ToRawInfo() interface{}

ToRawInfo returns a description of License suitable for JSON or YAML export.

func (*License) XXX_DiscardUnknown

func (m *License) XXX_DiscardUnknown()

func (*License) XXX_Marshal

func (m *License) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*License) XXX_Merge

func (m *License) XXX_Merge(src proto.Message)

func (*License) XXX_Size

func (m *License) XXX_Size() int

func (*License) XXX_Unmarshal

func (m *License) XXX_Unmarshal(b []byte) error

type NamedAny

type NamedAny struct {
	// Map key
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Mapped value
	Value                *Any     `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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)

NewNamedAny creates an object of type NamedAny if possible, returning an error if not.

func (*NamedAny) Descriptor

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

func (*NamedAny) GetName

func (m *NamedAny) GetName() string

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)

ResolveReferences resolves references found inside NamedAny objects.

func (*NamedAny) String

func (m *NamedAny) String() string

func (*NamedAny) ToRawInfo

func (m *NamedAny) ToRawInfo() interface{}

ToRawInfo returns a description of NamedAny suitable for JSON or YAML export.

func (*NamedAny) XXX_DiscardUnknown

func (m *NamedAny) XXX_DiscardUnknown()

func (*NamedAny) XXX_Marshal

func (m *NamedAny) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamedAny) XXX_Merge

func (m *NamedAny) XXX_Merge(src proto.Message)

func (*NamedAny) XXX_Size

func (m *NamedAny) XXX_Size() int

func (*NamedAny) XXX_Unmarshal

func (m *NamedAny) XXX_Unmarshal(b []byte) error

type NamedHeader

type NamedHeader struct {
	// Map key
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Mapped value
	Value                *Header  `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func NewNamedHeader

func NewNamedHeader(in interface{}, context *compiler.Context) (*NamedHeader, error)

NewNamedHeader creates an object of type NamedHeader if possible, returning an error if not.

func (*NamedHeader) Descriptor

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

func (*NamedHeader) GetName

func (m *NamedHeader) GetName() string

func (*NamedHeader) GetValue

func (m *NamedHeader) GetValue() *Header

func (*NamedHeader) ProtoMessage

func (*NamedHeader) ProtoMessage()

func (*NamedHeader) Reset

func (m *NamedHeader) Reset()

func (*NamedHeader) ResolveReferences

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

ResolveReferences resolves references found inside NamedHeader objects.

func (*NamedHeader) String

func (m *NamedHeader) String() string

func (*NamedHeader) ToRawInfo

func (m *NamedHeader) ToRawInfo() interface{}

ToRawInfo returns a description of NamedHeader suitable for JSON or YAML export.

func (*NamedHeader) XXX_DiscardUnknown

func (m *NamedHeader) XXX_DiscardUnknown()

func (*NamedHeader) XXX_Marshal

func (m *NamedHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamedHeader) XXX_Merge

func (m *NamedHeader) XXX_Merge(src proto.Message)

func (*NamedHeader) XXX_Size

func (m *NamedHeader) XXX_Size() int

func (*NamedHeader) XXX_Unmarshal

func (m *NamedHeader) XXX_Unmarshal(b []byte) error

type NamedParameter

type NamedParameter struct {
	// Map key
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Mapped value
	Value                *Parameter `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

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

func NewNamedParameter

func NewNamedParameter(in interface{}, context *compiler.Context) (*NamedParameter, error)

NewNamedParameter creates an object of type NamedParameter if possible, returning an error if not.

func (*NamedParameter) Descriptor

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

func (*NamedParameter) GetName

func (m *NamedParameter) GetName() string

func (*NamedParameter) GetValue

func (m *NamedParameter) GetValue() *Parameter

func (*NamedParameter) ProtoMessage

func (*NamedParameter) ProtoMessage()

func (*NamedParameter) Reset

func (m *NamedParameter) Reset()

func (*NamedParameter) ResolveReferences

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

ResolveReferences resolves references found inside NamedParameter objects.

func (*NamedParameter) String

func (m *NamedParameter) String() string

func (*NamedParameter) ToRawInfo

func (m *NamedParameter) ToRawInfo() interface{}

ToRawInfo returns a description of NamedParameter suitable for JSON or YAML export.

func (*NamedParameter) XXX_DiscardUnknown

func (m *NamedParameter) XXX_DiscardUnknown()

func (*NamedParameter) XXX_Marshal

func (m *NamedParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamedParameter) XXX_Merge

func (m *NamedParameter) XXX_Merge(src proto.Message)

func (*NamedParameter) XXX_Size

func (m *NamedParameter) XXX_Size() int

func (*NamedParameter) XXX_Unmarshal

func (m *NamedParameter) XXX_Unmarshal(b []byte) error

type NamedPathItem

type NamedPathItem struct {
	// Map key
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Mapped value
	Value                *PathItem `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

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

func NewNamedPathItem

func NewNamedPathItem(in interface{}, context *compiler.Context) (*NamedPathItem, error)

NewNamedPathItem creates an object of type NamedPathItem if possible, returning an error if not.

func (*NamedPathItem) Descriptor

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

func (*NamedPathItem) GetName

func (m *NamedPathItem) GetName() string

func (*NamedPathItem) GetValue

func (m *NamedPathItem) GetValue() *PathItem

func (*NamedPathItem) ProtoMessage

func (*NamedPathItem) ProtoMessage()

func (*NamedPathItem) Reset

func (m *NamedPathItem) Reset()

func (*NamedPathItem) ResolveReferences

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

ResolveReferences resolves references found inside NamedPathItem objects.

func (*NamedPathItem) String

func (m *NamedPathItem) String() string

func (*NamedPathItem) ToRawInfo

func (m *NamedPathItem) ToRawInfo() interface{}

ToRawInfo returns a description of NamedPathItem suitable for JSON or YAML export.

func (*NamedPathItem) XXX_DiscardUnknown

func (m *NamedPathItem) XXX_DiscardUnknown()

func (*NamedPathItem) XXX_Marshal

func (m *NamedPathItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamedPathItem) XXX_Merge

func (m *NamedPathItem) XXX_Merge(src proto.Message)

func (*NamedPathItem) XXX_Size

func (m *NamedPathItem) XXX_Size() int

func (*NamedPathItem) XXX_Unmarshal

func (m *NamedPathItem) XXX_Unmarshal(b []byte) error

type NamedResponse

type NamedResponse struct {
	// Map key
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Mapped value
	Value                *Response `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

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

func NewNamedResponse

func NewNamedResponse(in interface{}, context *compiler.Context) (*NamedResponse, error)

NewNamedResponse creates an object of type NamedResponse if possible, returning an error if not.

func (*NamedResponse) Descriptor

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

func (*NamedResponse) GetName

func (m *NamedResponse) GetName() string

func (*NamedResponse) GetValue

func (m *NamedResponse) GetValue() *Response

func (*NamedResponse) ProtoMessage

func (*NamedResponse) ProtoMessage()

func (*NamedResponse) Reset

func (m *NamedResponse) Reset()

func (*NamedResponse) ResolveReferences

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

ResolveReferences resolves references found inside NamedResponse objects.

func (*NamedResponse) String

func (m *NamedResponse) String() string

func (*NamedResponse) ToRawInfo

func (m *NamedResponse) ToRawInfo() interface{}

ToRawInfo returns a description of NamedResponse suitable for JSON or YAML export.

func (*NamedResponse) XXX_DiscardUnknown

func (m *NamedResponse) XXX_DiscardUnknown()

func (*NamedResponse) XXX_Marshal

func (m *NamedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamedResponse) XXX_Merge

func (m *NamedResponse) XXX_Merge(src proto.Message)

func (*NamedResponse) XXX_Size

func (m *NamedResponse) XXX_Size() int

func (*NamedResponse) XXX_Unmarshal

func (m *NamedResponse) XXX_Unmarshal(b []byte) error

type NamedResponseValue

type NamedResponseValue struct {
	// Map key
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Mapped value
	Value                *ResponseValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

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

func NewNamedResponseValue

func NewNamedResponseValue(in interface{}, context *compiler.Context) (*NamedResponseValue, error)

NewNamedResponseValue creates an object of type NamedResponseValue if possible, returning an error if not.

func (*NamedResponseValue) Descriptor

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

func (*NamedResponseValue) GetName

func (m *NamedResponseValue) GetName() string

func (*NamedResponseValue) GetValue

func (m *NamedResponseValue) GetValue() *ResponseValue

func (*NamedResponseValue) ProtoMessage

func (*NamedResponseValue) ProtoMessage()

func (*NamedResponseValue) Reset

func (m *NamedResponseValue) Reset()

func (*NamedResponseValue) ResolveReferences

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

ResolveReferences resolves references found inside NamedResponseValue objects.

func (*NamedResponseValue) String

func (m *NamedResponseValue) String() string

func (*NamedResponseValue) ToRawInfo

func (m *NamedResponseValue) ToRawInfo() interface{}

ToRawInfo returns a description of NamedResponseValue suitable for JSON or YAML export.

func (*NamedResponseValue) XXX_DiscardUnknown

func (m *NamedResponseValue) XXX_DiscardUnknown()

func (*NamedResponseValue) XXX_Marshal

func (m *NamedResponseValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamedResponseValue) XXX_Merge

func (m *NamedResponseValue) XXX_Merge(src proto.Message)

func (*NamedResponseValue) XXX_Size

func (m *NamedResponseValue) XXX_Size() int

func (*NamedResponseValue) XXX_Unmarshal

func (m *NamedResponseValue) XXX_Unmarshal(b []byte) error

type NamedSchema

type NamedSchema struct {
	// Map key
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Mapped value
	Value                *Schema  `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func NewNamedSchema

func NewNamedSchema(in interface{}, context *compiler.Context) (*NamedSchema, error)

NewNamedSchema creates an object of type NamedSchema if possible, returning an error if not.

func (*NamedSchema) Descriptor

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

func (*NamedSchema) GetName

func (m *NamedSchema) GetName() string

func (*NamedSchema) GetValue

func (m *NamedSchema) GetValue() *Schema

func (*NamedSchema) ProtoMessage

func (*NamedSchema) ProtoMessage()

func (*NamedSchema) Reset

func (m *NamedSchema) Reset()

func (*NamedSchema) ResolveReferences

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

ResolveReferences resolves references found inside NamedSchema objects.

func (*NamedSchema) String

func (m *NamedSchema) String() string

func (*NamedSchema) ToRawInfo

func (m *NamedSchema) ToRawInfo() interface{}

ToRawInfo returns a description of NamedSchema suitable for JSON or YAML export.

func (*NamedSchema) XXX_DiscardUnknown

func (m *NamedSchema) XXX_DiscardUnknown()

func (*NamedSchema) XXX_Marshal

func (m *NamedSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamedSchema) XXX_Merge

func (m *NamedSchema) XXX_Merge(src proto.Message)

func (*NamedSchema) XXX_Size

func (m *NamedSchema) XXX_Size() int

func (*NamedSchema) XXX_Unmarshal

func (m *NamedSchema) XXX_Unmarshal(b []byte) error

type NamedSecurityDefinitionsItem

type NamedSecurityDefinitionsItem struct {
	// Map key
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Mapped value
	Value                *SecurityDefinitionsItem `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

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

func NewNamedSecurityDefinitionsItem

func NewNamedSecurityDefinitionsItem(in interface{}, context *compiler.Context) (*NamedSecurityDefinitionsItem, error)

NewNamedSecurityDefinitionsItem creates an object of type NamedSecurityDefinitionsItem if possible, returning an error if not.

func (*NamedSecurityDefinitionsItem) Descriptor

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

func (*NamedSecurityDefinitionsItem) GetName

func (m *NamedSecurityDefinitionsItem) GetName() string

func (*NamedSecurityDefinitionsItem) GetValue

func (*NamedSecurityDefinitionsItem) ProtoMessage

func (*NamedSecurityDefinitionsItem) ProtoMessage()

func (*NamedSecurityDefinitionsItem) Reset

func (m *NamedSecurityDefinitionsItem) Reset()

func (*NamedSecurityDefinitionsItem) ResolveReferences

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

ResolveReferences resolves references found inside NamedSecurityDefinitionsItem objects.

func (*NamedSecurityDefinitionsItem) String

func (*NamedSecurityDefinitionsItem) ToRawInfo

func (m *NamedSecurityDefinitionsItem) ToRawInfo() interface{}

ToRawInfo returns a description of NamedSecurityDefinitionsItem suitable for JSON or YAML export.

func (*NamedSecurityDefinitionsItem) XXX_DiscardUnknown

func (m *NamedSecurityDefinitionsItem) XXX_DiscardUnknown()

func (*NamedSecurityDefinitionsItem) XXX_Marshal

func (m *NamedSecurityDefinitionsItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamedSecurityDefinitionsItem) XXX_Merge

func (m *NamedSecurityDefinitionsItem) XXX_Merge(src proto.Message)

func (*NamedSecurityDefinitionsItem) XXX_Size

func (m *NamedSecurityDefinitionsItem) XXX_Size() int

func (*NamedSecurityDefinitionsItem) XXX_Unmarshal

func (m *NamedSecurityDefinitionsItem) XXX_Unmarshal(b []byte) error

type NamedString

type NamedString struct {
	// Map key
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Mapped value
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func NewNamedString

func NewNamedString(in interface{}, context *compiler.Context) (*NamedString, error)

NewNamedString creates an object of type NamedString if possible, returning an error if not.

func (*NamedString) Descriptor

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

func (*NamedString) GetName

func (m *NamedString) GetName() string

func (*NamedString) GetValue

func (m *NamedString) GetValue() string

func (*NamedString) ProtoMessage

func (*NamedString) ProtoMessage()

func (*NamedString) Reset

func (m *NamedString) Reset()

func (*NamedString) ResolveReferences

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

ResolveReferences resolves references found inside NamedString objects.

func (*NamedString) String

func (m *NamedString) String() string

func (*NamedString) ToRawInfo

func (m *NamedString) ToRawInfo() interface{}

ToRawInfo returns a description of NamedString suitable for JSON or YAML export.

func (*NamedString) XXX_DiscardUnknown

func (m *NamedString) XXX_DiscardUnknown()

func (*NamedString) XXX_Marshal

func (m *NamedString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamedString) XXX_Merge

func (m *NamedString) XXX_Merge(src proto.Message)

func (*NamedString) XXX_Size

func (m *NamedString) XXX_Size() int

func (*NamedString) XXX_Unmarshal

func (m *NamedString) XXX_Unmarshal(b []byte) error

type NamedStringArray

type NamedStringArray struct {
	// Map key
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Mapped value
	Value                *StringArray `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

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

func NewNamedStringArray

func NewNamedStringArray(in interface{}, context *compiler.Context) (*NamedStringArray, error)

NewNamedStringArray creates an object of type NamedStringArray if possible, returning an error if not.

func (*NamedStringArray) Descriptor

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

func (*NamedStringArray) GetName

func (m *NamedStringArray) GetName() string

func (*NamedStringArray) GetValue

func (m *NamedStringArray) GetValue() *StringArray

func (*NamedStringArray) ProtoMessage

func (*NamedStringArray) ProtoMessage()

func (*NamedStringArray) Reset

func (m *NamedStringArray) Reset()

func (*NamedStringArray) ResolveReferences

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

ResolveReferences resolves references found inside NamedStringArray objects.

func (*NamedStringArray) String

func (m *NamedStringArray) String() string

func (*NamedStringArray) ToRawInfo

func (m *NamedStringArray) ToRawInfo() interface{}

ToRawInfo returns a description of NamedStringArray suitable for JSON or YAML export.

func (*NamedStringArray) XXX_DiscardUnknown

func (m *NamedStringArray) XXX_DiscardUnknown()

func (*NamedStringArray) XXX_Marshal

func (m *NamedStringArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NamedStringArray) XXX_Merge

func (m *NamedStringArray) XXX_Merge(src proto.Message)

func (*NamedStringArray) XXX_Size

func (m *NamedStringArray) XXX_Size() int

func (*NamedStringArray) XXX_Unmarshal

func (m *NamedStringArray) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func NewNonBodyParameter

func NewNonBodyParameter(in interface{}, context *compiler.Context) (*NonBodyParameter, error)

NewNonBodyParameter creates an object of type NonBodyParameter if possible, returning an error if not.

func (*NonBodyParameter) Descriptor

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

func (*NonBodyParameter) GetFormDataParameterSubSchema

func (m *NonBodyParameter) GetFormDataParameterSubSchema() *FormDataParameterSubSchema

func (*NonBodyParameter) GetHeaderParameterSubSchema

func (m *NonBodyParameter) GetHeaderParameterSubSchema() *HeaderParameterSubSchema

func (*NonBodyParameter) GetOneof

func (m *NonBodyParameter) GetOneof() isNonBodyParameter_Oneof

func (*NonBodyParameter) GetPathParameterSubSchema

func (m *NonBodyParameter) GetPathParameterSubSchema() *PathParameterSubSchema

func (*NonBodyParameter) GetQueryParameterSubSchema

func (m *NonBodyParameter) GetQueryParameterSubSchema() *QueryParameterSubSchema

func (*NonBodyParameter) ProtoMessage

func (*NonBodyParameter) ProtoMessage()

func (*NonBodyParameter) Reset

func (m *NonBodyParameter) Reset()

func (*NonBodyParameter) ResolveReferences

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

ResolveReferences resolves references found inside NonBodyParameter objects.

func (*NonBodyParameter) String

func (m *NonBodyParameter) String() string

func (*NonBodyParameter) ToRawInfo

func (m *NonBodyParameter) ToRawInfo() interface{}

ToRawInfo returns a description of NonBodyParameter suitable for JSON or YAML export.

func (*NonBodyParameter) XXX_DiscardUnknown

func (m *NonBodyParameter) XXX_DiscardUnknown()

func (*NonBodyParameter) XXX_Marshal

func (m *NonBodyParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NonBodyParameter) XXX_Merge

func (m *NonBodyParameter) XXX_Merge(src proto.Message)

func (*NonBodyParameter) XXX_OneofWrappers

func (*NonBodyParameter) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*NonBodyParameter) XXX_Size

func (m *NonBodyParameter) XXX_Size() int

func (*NonBodyParameter) XXX_Unmarshal

func (m *NonBodyParameter) XXX_Unmarshal(b []byte) error

type NonBodyParameter_FormDataParameterSubSchema

type NonBodyParameter_FormDataParameterSubSchema struct {
	FormDataParameterSubSchema *FormDataParameterSubSchema `protobuf:"bytes,2,opt,name=form_data_parameter_sub_schema,json=formDataParameterSubSchema,proto3,oneof"`
}

type NonBodyParameter_HeaderParameterSubSchema

type NonBodyParameter_HeaderParameterSubSchema struct {
	HeaderParameterSubSchema *HeaderParameterSubSchema `protobuf:"bytes,1,opt,name=header_parameter_sub_schema,json=headerParameterSubSchema,proto3,oneof"`
}

type NonBodyParameter_PathParameterSubSchema

type NonBodyParameter_PathParameterSubSchema struct {
	PathParameterSubSchema *PathParameterSubSchema `protobuf:"bytes,4,opt,name=path_parameter_sub_schema,json=pathParameterSubSchema,proto3,oneof"`
}

type NonBodyParameter_QueryParameterSubSchema

type NonBodyParameter_QueryParameterSubSchema struct {
	QueryParameterSubSchema *QueryParameterSubSchema `protobuf:"bytes,3,opt,name=query_parameter_sub_schema,json=queryParameterSubSchema,proto3,oneof"`
}

type Oauth2AccessCodeSecurity

type Oauth2AccessCodeSecurity struct {
	Type                 string        `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Flow                 string        `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"`
	Scopes               *Oauth2Scopes `protobuf:"bytes,3,opt,name=scopes,proto3" json:"scopes,omitempty"`
	AuthorizationUrl     string        `protobuf:"bytes,4,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"`
	TokenUrl             string        `protobuf:"bytes,5,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
	Description          string        `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	VendorExtension      []*NamedAny   `protobuf:"bytes,7,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func NewOauth2AccessCodeSecurity

func NewOauth2AccessCodeSecurity(in interface{}, context *compiler.Context) (*Oauth2AccessCodeSecurity, error)

NewOauth2AccessCodeSecurity creates an object of type Oauth2AccessCodeSecurity if possible, returning an error if not.

func (*Oauth2AccessCodeSecurity) Descriptor

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

func (*Oauth2AccessCodeSecurity) GetAuthorizationUrl

func (m *Oauth2AccessCodeSecurity) GetAuthorizationUrl() string

func (*Oauth2AccessCodeSecurity) GetDescription

func (m *Oauth2AccessCodeSecurity) GetDescription() string

func (*Oauth2AccessCodeSecurity) GetFlow

func (m *Oauth2AccessCodeSecurity) GetFlow() string

func (*Oauth2AccessCodeSecurity) GetScopes

func (m *Oauth2AccessCodeSecurity) GetScopes() *Oauth2Scopes

func (*Oauth2AccessCodeSecurity) GetTokenUrl

func (m *Oauth2AccessCodeSecurity) GetTokenUrl() string

func (*Oauth2AccessCodeSecurity) GetType

func (m *Oauth2AccessCodeSecurity) GetType() string

func (*Oauth2AccessCodeSecurity) GetVendorExtension

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

func (*Oauth2AccessCodeSecurity) ProtoMessage

func (*Oauth2AccessCodeSecurity) ProtoMessage()

func (*Oauth2AccessCodeSecurity) Reset

func (m *Oauth2AccessCodeSecurity) Reset()

func (*Oauth2AccessCodeSecurity) ResolveReferences

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

ResolveReferences resolves references found inside Oauth2AccessCodeSecurity objects.

func (*Oauth2AccessCodeSecurity) String

func (m *Oauth2AccessCodeSecurity) String() string

func (*Oauth2AccessCodeSecurity) ToRawInfo

func (m *Oauth2AccessCodeSecurity) ToRawInfo() interface{}

ToRawInfo returns a description of Oauth2AccessCodeSecurity suitable for JSON or YAML export.

func (*Oauth2AccessCodeSecurity) XXX_DiscardUnknown

func (m *Oauth2AccessCodeSecurity) XXX_DiscardUnknown()

func (*Oauth2AccessCodeSecurity) XXX_Marshal

func (m *Oauth2AccessCodeSecurity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Oauth2AccessCodeSecurity) XXX_Merge

func (m *Oauth2AccessCodeSecurity) XXX_Merge(src proto.Message)

func (*Oauth2AccessCodeSecurity) XXX_Size

func (m *Oauth2AccessCodeSecurity) XXX_Size() int

func (*Oauth2AccessCodeSecurity) XXX_Unmarshal

func (m *Oauth2AccessCodeSecurity) XXX_Unmarshal(b []byte) error

type Oauth2ApplicationSecurity

type Oauth2ApplicationSecurity struct {
	Type                 string        `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Flow                 string        `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"`
	Scopes               *Oauth2Scopes `protobuf:"bytes,3,opt,name=scopes,proto3" json:"scopes,omitempty"`
	TokenUrl             string        `protobuf:"bytes,4,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
	Description          string        `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	VendorExtension      []*NamedAny   `protobuf:"bytes,6,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func NewOauth2ApplicationSecurity

func NewOauth2ApplicationSecurity(in interface{}, context *compiler.Context) (*Oauth2ApplicationSecurity, error)

NewOauth2ApplicationSecurity creates an object of type Oauth2ApplicationSecurity if possible, returning an error if not.

func (*Oauth2ApplicationSecurity) Descriptor

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

func (*Oauth2ApplicationSecurity) GetDescription

func (m *Oauth2ApplicationSecurity) GetDescription() string

func (*Oauth2ApplicationSecurity) GetFlow

func (m *Oauth2ApplicationSecurity) GetFlow() string

func (*Oauth2ApplicationSecurity) GetScopes

func (m *Oauth2ApplicationSecurity) GetScopes() *Oauth2Scopes

func (*Oauth2ApplicationSecurity) GetTokenUrl

func (m *Oauth2ApplicationSecurity) GetTokenUrl() string

func (*Oauth2ApplicationSecurity) GetType

func (m *Oauth2ApplicationSecurity) GetType() string

func (*Oauth2ApplicationSecurity) GetVendorExtension

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

func (*Oauth2ApplicationSecurity) ProtoMessage

func (*Oauth2ApplicationSecurity) ProtoMessage()

func (*Oauth2ApplicationSecurity) Reset

func (m *Oauth2ApplicationSecurity) Reset()

func (*Oauth2ApplicationSecurity) ResolveReferences

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

ResolveReferences resolves references found inside Oauth2ApplicationSecurity objects.

func (*Oauth2ApplicationSecurity) String

func (m *Oauth2ApplicationSecurity) String() string

func (*Oauth2ApplicationSecurity) ToRawInfo

func (m *Oauth2ApplicationSecurity) ToRawInfo() interface{}

ToRawInfo returns a description of Oauth2ApplicationSecurity suitable for JSON or YAML export.

func (*Oauth2ApplicationSecurity) XXX_DiscardUnknown

func (m *Oauth2ApplicationSecurity) XXX_DiscardUnknown()

func (*Oauth2ApplicationSecurity) XXX_Marshal

func (m *Oauth2ApplicationSecurity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Oauth2ApplicationSecurity) XXX_Merge

func (m *Oauth2ApplicationSecurity) XXX_Merge(src proto.Message)

func (*Oauth2ApplicationSecurity) XXX_Size

func (m *Oauth2ApplicationSecurity) XXX_Size() int

func (*Oauth2ApplicationSecurity) XXX_Unmarshal

func (m *Oauth2ApplicationSecurity) XXX_Unmarshal(b []byte) error

type Oauth2ImplicitSecurity

type Oauth2ImplicitSecurity struct {
	Type                 string        `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Flow                 string        `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"`
	Scopes               *Oauth2Scopes `protobuf:"bytes,3,opt,name=scopes,proto3" json:"scopes,omitempty"`
	AuthorizationUrl     string        `protobuf:"bytes,4,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"`
	Description          string        `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	VendorExtension      []*NamedAny   `protobuf:"bytes,6,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func NewOauth2ImplicitSecurity

func NewOauth2ImplicitSecurity(in interface{}, context *compiler.Context) (*Oauth2ImplicitSecurity, error)

NewOauth2ImplicitSecurity creates an object of type Oauth2ImplicitSecurity if possible, returning an error if not.

func (*Oauth2ImplicitSecurity) Descriptor

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

func (*Oauth2ImplicitSecurity) GetAuthorizationUrl

func (m *Oauth2ImplicitSecurity) GetAuthorizationUrl() string

func (*Oauth2ImplicitSecurity) GetDescription

func (m *Oauth2ImplicitSecurity) GetDescription() string

func (*Oauth2ImplicitSecurity) GetFlow

func (m *Oauth2ImplicitSecurity) GetFlow() string

func (*Oauth2ImplicitSecurity) GetScopes

func (m *Oauth2ImplicitSecurity) GetScopes() *Oauth2Scopes

func (*Oauth2ImplicitSecurity) GetType

func (m *Oauth2ImplicitSecurity) GetType() string

func (*Oauth2ImplicitSecurity) GetVendorExtension

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

func (*Oauth2ImplicitSecurity) ProtoMessage

func (*Oauth2ImplicitSecurity) ProtoMessage()

func (*Oauth2ImplicitSecurity) Reset

func (m *Oauth2ImplicitSecurity) Reset()

func (*Oauth2ImplicitSecurity) ResolveReferences

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

ResolveReferences resolves references found inside Oauth2ImplicitSecurity objects.

func (*Oauth2ImplicitSecurity) String

func (m *Oauth2ImplicitSecurity) String() string

func (*Oauth2ImplicitSecurity) ToRawInfo

func (m *Oauth2ImplicitSecurity) ToRawInfo() interface{}

ToRawInfo returns a description of Oauth2ImplicitSecurity suitable for JSON or YAML export.

func (*Oauth2ImplicitSecurity) XXX_DiscardUnknown

func (m *Oauth2ImplicitSecurity) XXX_DiscardUnknown()

func (*Oauth2ImplicitSecurity) XXX_Marshal

func (m *Oauth2ImplicitSecurity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Oauth2ImplicitSecurity) XXX_Merge

func (m *Oauth2ImplicitSecurity) XXX_Merge(src proto.Message)

func (*Oauth2ImplicitSecurity) XXX_Size

func (m *Oauth2ImplicitSecurity) XXX_Size() int

func (*Oauth2ImplicitSecurity) XXX_Unmarshal

func (m *Oauth2ImplicitSecurity) XXX_Unmarshal(b []byte) error

type Oauth2PasswordSecurity

type Oauth2PasswordSecurity struct {
	Type                 string        `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Flow                 string        `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"`
	Scopes               *Oauth2Scopes `protobuf:"bytes,3,opt,name=scopes,proto3" json:"scopes,omitempty"`
	TokenUrl             string        `protobuf:"bytes,4,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
	Description          string        `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	VendorExtension      []*NamedAny   `protobuf:"bytes,6,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func NewOauth2PasswordSecurity

func NewOauth2PasswordSecurity(in interface{}, context *compiler.Context) (*Oauth2PasswordSecurity, error)

NewOauth2PasswordSecurity creates an object of type Oauth2PasswordSecurity if possible, returning an error if not.

func (*Oauth2PasswordSecurity) Descriptor

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

func (*Oauth2PasswordSecurity) GetDescription

func (m *Oauth2PasswordSecurity) GetDescription() string

func (*Oauth2PasswordSecurity) GetFlow

func (m *Oauth2PasswordSecurity) GetFlow() string

func (*Oauth2PasswordSecurity) GetScopes

func (m *Oauth2PasswordSecurity) GetScopes() *Oauth2Scopes

func (*Oauth2PasswordSecurity) GetTokenUrl

func (m *Oauth2PasswordSecurity) GetTokenUrl() string

func (*Oauth2PasswordSecurity) GetType

func (m *Oauth2PasswordSecurity) GetType() string

func (*Oauth2PasswordSecurity) GetVendorExtension

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

func (*Oauth2PasswordSecurity) ProtoMessage

func (*Oauth2PasswordSecurity) ProtoMessage()

func (*Oauth2PasswordSecurity) Reset

func (m *Oauth2PasswordSecurity) Reset()

func (*Oauth2PasswordSecurity) ResolveReferences

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

ResolveReferences resolves references found inside Oauth2PasswordSecurity objects.

func (*Oauth2PasswordSecurity) String

func (m *Oauth2PasswordSecurity) String() string

func (*Oauth2PasswordSecurity) ToRawInfo

func (m *Oauth2PasswordSecurity) ToRawInfo() interface{}

ToRawInfo returns a description of Oauth2PasswordSecurity suitable for JSON or YAML export.

func (*Oauth2PasswordSecurity) XXX_DiscardUnknown

func (m *Oauth2PasswordSecurity) XXX_DiscardUnknown()

func (*Oauth2PasswordSecurity) XXX_Marshal

func (m *Oauth2PasswordSecurity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Oauth2PasswordSecurity) XXX_Merge

func (m *Oauth2PasswordSecurity) XXX_Merge(src proto.Message)

func (*Oauth2PasswordSecurity) XXX_Size

func (m *Oauth2PasswordSecurity) XXX_Size() int

func (*Oauth2PasswordSecurity) XXX_Unmarshal

func (m *Oauth2PasswordSecurity) XXX_Unmarshal(b []byte) error

type Oauth2Scopes

type Oauth2Scopes struct {
	AdditionalProperties []*NamedString `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func NewOauth2Scopes

func NewOauth2Scopes(in interface{}, context *compiler.Context) (*Oauth2Scopes, error)

NewOauth2Scopes creates an object of type Oauth2Scopes if possible, returning an error if not.

func (*Oauth2Scopes) Descriptor

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

func (*Oauth2Scopes) GetAdditionalProperties

func (m *Oauth2Scopes) GetAdditionalProperties() []*NamedString

func (*Oauth2Scopes) ProtoMessage

func (*Oauth2Scopes) ProtoMessage()

func (*Oauth2Scopes) Reset

func (m *Oauth2Scopes) Reset()

func (*Oauth2Scopes) ResolveReferences

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

ResolveReferences resolves references found inside Oauth2Scopes objects.

func (*Oauth2Scopes) String

func (m *Oauth2Scopes) String() string

func (*Oauth2Scopes) ToRawInfo

func (m *Oauth2Scopes) ToRawInfo() interface{}

ToRawInfo returns a description of Oauth2Scopes suitable for JSON or YAML export.

func (*Oauth2Scopes) XXX_DiscardUnknown

func (m *Oauth2Scopes) XXX_DiscardUnknown()

func (*Oauth2Scopes) XXX_Marshal

func (m *Oauth2Scopes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Oauth2Scopes) XXX_Merge

func (m *Oauth2Scopes) XXX_Merge(src proto.Message)

func (*Oauth2Scopes) XXX_Size

func (m *Oauth2Scopes) XXX_Size() int

func (*Oauth2Scopes) XXX_Unmarshal

func (m *Oauth2Scopes) XXX_Unmarshal(b []byte) error

type Operation

type Operation struct {
	Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
	// A brief summary of the operation.
	Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
	// A longer description of the operation, GitHub Flavored Markdown is allowed.
	Description  string        `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	ExternalDocs *ExternalDocs `protobuf:"bytes,4,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"`
	// A unique identifier of the operation.
	OperationId string `protobuf:"bytes,5,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	// A list of MIME types the API can produce.
	Produces []string `protobuf:"bytes,6,rep,name=produces,proto3" json:"produces,omitempty"`
	// A list of MIME types the API can consume.
	Consumes []string `protobuf:"bytes,7,rep,name=consumes,proto3" json:"consumes,omitempty"`
	// The parameters needed to send a valid API call.
	Parameters []*ParametersItem `protobuf:"bytes,8,rep,name=parameters,proto3" json:"parameters,omitempty"`
	Responses  *Responses        `protobuf:"bytes,9,opt,name=responses,proto3" json:"responses,omitempty"`
	// The transfer protocol of the API.
	Schemes              []string               `protobuf:"bytes,10,rep,name=schemes,proto3" json:"schemes,omitempty"`
	Deprecated           bool                   `protobuf:"varint,11,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
	Security             []*SecurityRequirement `protobuf:"bytes,12,rep,name=security,proto3" json:"security,omitempty"`
	VendorExtension      []*NamedAny            `protobuf:"bytes,13,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func NewOperation

func NewOperation(in interface{}, context *compiler.Context) (*Operation, error)

NewOperation creates an object of type Operation if possible, returning an error if not.

func (*Operation) Descriptor

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

func (*Operation) GetConsumes

func (m *Operation) GetConsumes() []string

func (*Operation) GetDeprecated

func (m *Operation) GetDeprecated() bool

func (*Operation) GetDescription

func (m *Operation) GetDescription() string

func (*Operation) GetExternalDocs

func (m *Operation) GetExternalDocs() *ExternalDocs

func (*Operation) GetOperationId

func (m *Operation) GetOperationId() string

func (*Operation) GetParameters

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

func (*Operation) GetProduces

func (m *Operation) GetProduces() []string

func (*Operation) GetResponses

func (m *Operation) GetResponses() *Responses

func (*Operation) GetSchemes

func (m *Operation) GetSchemes() []string

func (*Operation) GetSecurity

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

func (*Operation) GetSummary

func (m *Operation) GetSummary() string

func (*Operation) GetTags

func (m *Operation) GetTags() []string

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)

ResolveReferences resolves references found inside Operation objects.

func (*Operation) String

func (m *Operation) String() string

func (*Operation) ToRawInfo

func (m *Operation) ToRawInfo() interface{}

ToRawInfo returns a description of Operation suitable for JSON or YAML export.

func (*Operation) XXX_DiscardUnknown

func (m *Operation) XXX_DiscardUnknown()

func (*Operation) XXX_Marshal

func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Operation) XXX_Merge

func (m *Operation) XXX_Merge(src proto.Message)

func (*Operation) XXX_Size

func (m *Operation) XXX_Size() int

func (*Operation) XXX_Unmarshal

func (m *Operation) XXX_Unmarshal(b []byte) error

type Parameter

type Parameter struct {
	// Types that are valid to be assigned to Oneof:
	//	*Parameter_BodyParameter
	//	*Parameter_NonBodyParameter
	Oneof                isParameter_Oneof `protobuf_oneof:"oneof"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func NewParameter

func NewParameter(in interface{}, context *compiler.Context) (*Parameter, error)

NewParameter creates an object of type Parameter if possible, returning an error if not.

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)

ResolveReferences resolves references found inside Parameter objects.

func (*Parameter) String

func (m *Parameter) String() string

func (*Parameter) ToRawInfo

func (m *Parameter) ToRawInfo() interface{}

ToRawInfo returns a description of Parameter suitable for JSON or YAML export.

func (*Parameter) XXX_DiscardUnknown

func (m *Parameter) XXX_DiscardUnknown()

func (*Parameter) XXX_Marshal

func (m *Parameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Parameter) XXX_Merge

func (m *Parameter) XXX_Merge(src proto.Message)

func (*Parameter) XXX_OneofWrappers

func (*Parameter) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Parameter) XXX_Size

func (m *Parameter) XXX_Size() int

func (*Parameter) XXX_Unmarshal

func (m *Parameter) XXX_Unmarshal(b []byte) error

type ParameterDefinitions

type ParameterDefinitions struct {
	AdditionalProperties []*NamedParameter `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

One or more JSON representations for parameters

func NewParameterDefinitions

func NewParameterDefinitions(in interface{}, context *compiler.Context) (*ParameterDefinitions, error)

NewParameterDefinitions creates an object of type ParameterDefinitions if possible, returning an error if not.

func (*ParameterDefinitions) Descriptor

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

func (*ParameterDefinitions) GetAdditionalProperties

func (m *ParameterDefinitions) GetAdditionalProperties() []*NamedParameter

func (*ParameterDefinitions) ProtoMessage

func (*ParameterDefinitions) ProtoMessage()

func (*ParameterDefinitions) Reset

func (m *ParameterDefinitions) Reset()

func (*ParameterDefinitions) ResolveReferences

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

ResolveReferences resolves references found inside ParameterDefinitions objects.

func (*ParameterDefinitions) String

func (m *ParameterDefinitions) String() string

func (*ParameterDefinitions) ToRawInfo

func (m *ParameterDefinitions) ToRawInfo() interface{}

ToRawInfo returns a description of ParameterDefinitions suitable for JSON or YAML export.

func (*ParameterDefinitions) XXX_DiscardUnknown

func (m *ParameterDefinitions) XXX_DiscardUnknown()

func (*ParameterDefinitions) XXX_Marshal

func (m *ParameterDefinitions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ParameterDefinitions) XXX_Merge

func (m *ParameterDefinitions) XXX_Merge(src proto.Message)

func (*ParameterDefinitions) XXX_Size

func (m *ParameterDefinitions) XXX_Size() int

func (*ParameterDefinitions) XXX_Unmarshal

func (m *ParameterDefinitions) XXX_Unmarshal(b []byte) error

type Parameter_BodyParameter

type Parameter_BodyParameter struct {
	BodyParameter *BodyParameter `protobuf:"bytes,1,opt,name=body_parameter,json=bodyParameter,proto3,oneof"`
}

type Parameter_NonBodyParameter

type Parameter_NonBodyParameter struct {
	NonBodyParameter *NonBodyParameter `protobuf:"bytes,2,opt,name=non_body_parameter,json=nonBodyParameter,proto3,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"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func NewParametersItem

func NewParametersItem(in interface{}, context *compiler.Context) (*ParametersItem, error)

NewParametersItem creates an object of type ParametersItem if possible, returning an error if not.

func (*ParametersItem) Descriptor

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

func (*ParametersItem) GetJsonReference

func (m *ParametersItem) GetJsonReference() *JsonReference

func (*ParametersItem) GetOneof

func (m *ParametersItem) GetOneof() isParametersItem_Oneof

func (*ParametersItem) GetParameter

func (m *ParametersItem) GetParameter() *Parameter

func (*ParametersItem) ProtoMessage

func (*ParametersItem) ProtoMessage()

func (*ParametersItem) Reset

func (m *ParametersItem) Reset()

func (*ParametersItem) ResolveReferences

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

ResolveReferences resolves references found inside ParametersItem objects.

func (*ParametersItem) String

func (m *ParametersItem) String() string

func (*ParametersItem) ToRawInfo

func (m *ParametersItem) ToRawInfo() interface{}

ToRawInfo returns a description of ParametersItem suitable for JSON or YAML export.

func (*ParametersItem) XXX_DiscardUnknown

func (m *ParametersItem) XXX_DiscardUnknown()

func (*ParametersItem) XXX_Marshal

func (m *ParametersItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ParametersItem) XXX_Merge

func (m *ParametersItem) XXX_Merge(src proto.Message)

func (*ParametersItem) XXX_OneofWrappers

func (*ParametersItem) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ParametersItem) XXX_Size

func (m *ParametersItem) XXX_Size() int

func (*ParametersItem) XXX_Unmarshal

func (m *ParametersItem) XXX_Unmarshal(b []byte) error

type ParametersItem_JsonReference

type ParametersItem_JsonReference struct {
	JsonReference *JsonReference `protobuf:"bytes,2,opt,name=json_reference,json=jsonReference,proto3,oneof"`
}

type ParametersItem_Parameter

type ParametersItem_Parameter struct {
	Parameter *Parameter `protobuf:"bytes,1,opt,name=parameter,proto3,oneof"`
}

type PathItem

type PathItem struct {
	XRef    string     `protobuf:"bytes,1,opt,name=_ref,json=Ref,proto3" json:"_ref,omitempty"`
	Get     *Operation `protobuf:"bytes,2,opt,name=get,proto3" json:"get,omitempty"`
	Put     *Operation `protobuf:"bytes,3,opt,name=put,proto3" json:"put,omitempty"`
	Post    *Operation `protobuf:"bytes,4,opt,name=post,proto3" json:"post,omitempty"`
	Delete  *Operation `protobuf:"bytes,5,opt,name=delete,proto3" json:"delete,omitempty"`
	Options *Operation `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"`
	Head    *Operation `protobuf:"bytes,7,opt,name=head,proto3" json:"head,omitempty"`
	Patch   *Operation `protobuf:"bytes,8,opt,name=patch,proto3" json:"patch,omitempty"`
	// The parameters needed to send a valid API call.
	Parameters           []*ParametersItem `protobuf:"bytes,9,rep,name=parameters,proto3" json:"parameters,omitempty"`
	VendorExtension      []*NamedAny       `protobuf:"bytes,10,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func NewPathItem

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

NewPathItem creates an object of type PathItem if possible, returning an error if not.

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

func (m *PathItem) GetXRef() string

func (*PathItem) ProtoMessage

func (*PathItem) ProtoMessage()

func (*PathItem) Reset

func (m *PathItem) Reset()

func (*PathItem) ResolveReferences

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

ResolveReferences resolves references found inside PathItem objects.

func (*PathItem) String

func (m *PathItem) String() string

func (*PathItem) ToRawInfo

func (m *PathItem) ToRawInfo() interface{}

ToRawInfo returns a description of PathItem suitable for JSON or YAML export.

func (*PathItem) XXX_DiscardUnknown

func (m *PathItem) XXX_DiscardUnknown()

func (*PathItem) XXX_Marshal

func (m *PathItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PathItem) XXX_Merge

func (m *PathItem) XXX_Merge(src proto.Message)

func (*PathItem) XXX_Size

func (m *PathItem) XXX_Size() int

func (*PathItem) XXX_Unmarshal

func (m *PathItem) XXX_Unmarshal(b []byte) error

type PathParameterSubSchema

type PathParameterSubSchema struct {
	// Determines whether or not this parameter is required or optional.
	Required bool `protobuf:"varint,1,opt,name=required,proto3" json:"required,omitempty"`
	// Determines the location of the parameter.
	In string `protobuf:"bytes,2,opt,name=in,proto3" 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,proto3" json:"description,omitempty"`
	// The name of the parameter.
	Name                 string           `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Type                 string           `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	Format               string           `protobuf:"bytes,6,opt,name=format,proto3" json:"format,omitempty"`
	Items                *PrimitivesItems `protobuf:"bytes,7,opt,name=items,proto3" json:"items,omitempty"`
	CollectionFormat     string           `protobuf:"bytes,8,opt,name=collection_format,json=collectionFormat,proto3" json:"collection_format,omitempty"`
	Default              *Any             `protobuf:"bytes,9,opt,name=default,proto3" json:"default,omitempty"`
	Maximum              float64          `protobuf:"fixed64,10,opt,name=maximum,proto3" json:"maximum,omitempty"`
	ExclusiveMaximum     bool             `protobuf:"varint,11,opt,name=exclusive_maximum,json=exclusiveMaximum,proto3" json:"exclusive_maximum,omitempty"`
	Minimum              float64          `protobuf:"fixed64,12,opt,name=minimum,proto3" json:"minimum,omitempty"`
	ExclusiveMinimum     bool             `protobuf:"varint,13,opt,name=exclusive_minimum,json=exclusiveMinimum,proto3" json:"exclusive_minimum,omitempty"`
	MaxLength            int64            `protobuf:"varint,14,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"`
	MinLength            int64            `protobuf:"varint,15,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"`
	Pattern              string           `protobuf:"bytes,16,opt,name=pattern,proto3" json:"pattern,omitempty"`
	MaxItems             int64            `protobuf:"varint,17,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"`
	MinItems             int64            `protobuf:"varint,18,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"`
	UniqueItems          bool             `protobuf:"varint,19,opt,name=unique_items,json=uniqueItems,proto3" json:"unique_items,omitempty"`
	Enum                 []*Any           `protobuf:"bytes,20,rep,name=enum,proto3" json:"enum,omitempty"`
	MultipleOf           float64          `protobuf:"fixed64,21,opt,name=multiple_of,json=multipleOf,proto3" json:"multiple_of,omitempty"`
	VendorExtension      []*NamedAny      `protobuf:"bytes,22,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func NewPathParameterSubSchema

func NewPathParameterSubSchema(in interface{}, context *compiler.Context) (*PathParameterSubSchema, error)

NewPathParameterSubSchema creates an object of type PathParameterSubSchema if possible, returning an error if not.

func (*PathParameterSubSchema) Descriptor

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

func (*PathParameterSubSchema) GetCollectionFormat

func (m *PathParameterSubSchema) GetCollectionFormat() string

func (*PathParameterSubSchema) GetDefault

func (m *PathParameterSubSchema) GetDefault() *Any

func (*PathParameterSubSchema) GetDescription

func (m *PathParameterSubSchema) GetDescription() string

func (*PathParameterSubSchema) GetEnum

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

func (*PathParameterSubSchema) GetExclusiveMaximum

func (m *PathParameterSubSchema) GetExclusiveMaximum() bool

func (*PathParameterSubSchema) GetExclusiveMinimum

func (m *PathParameterSubSchema) GetExclusiveMinimum() bool

func (*PathParameterSubSchema) GetFormat

func (m *PathParameterSubSchema) GetFormat() string

func (*PathParameterSubSchema) GetIn

func (m *PathParameterSubSchema) GetIn() string

func (*PathParameterSubSchema) GetItems

func (m *PathParameterSubSchema) GetItems() *PrimitivesItems

func (*PathParameterSubSchema) GetMaxItems

func (m *PathParameterSubSchema) GetMaxItems() int64

func (*PathParameterSubSchema) GetMaxLength

func (m *PathParameterSubSchema) GetMaxLength() int64

func (*PathParameterSubSchema) GetMaximum

func (m *PathParameterSubSchema) GetMaximum() float64

func (*PathParameterSubSchema) GetMinItems

func (m *PathParameterSubSchema) GetMinItems() int64

func (*PathParameterSubSchema) GetMinLength

func (m *PathParameterSubSchema) GetMinLength() int64

func (*PathParameterSubSchema) GetMinimum

func (m *PathParameterSubSchema) GetMinimum() float64

func (*PathParameterSubSchema) GetMultipleOf

func (m *PathParameterSubSchema) GetMultipleOf() float64

func (*PathParameterSubSchema) GetName

func (m *PathParameterSubSchema) GetName() string

func (*PathParameterSubSchema) GetPattern

func (m *PathParameterSubSchema) GetPattern() string

func (*PathParameterSubSchema) GetRequired

func (m *PathParameterSubSchema) GetRequired() bool

func (*PathParameterSubSchema) GetType

func (m *PathParameterSubSchema) GetType() string

func (*PathParameterSubSchema) GetUniqueItems

func (m *PathParameterSubSchema) GetUniqueItems() bool

func (*PathParameterSubSchema) GetVendorExtension

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

func (*PathParameterSubSchema) ProtoMessage

func (*PathParameterSubSchema) ProtoMessage()

func (*PathParameterSubSchema) Reset

func (m *PathParameterSubSchema) Reset()

func (*PathParameterSubSchema) ResolveReferences

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

ResolveReferences resolves references found inside PathParameterSubSchema objects.

func (*PathParameterSubSchema) String

func (m *PathParameterSubSchema) String() string

func (*PathParameterSubSchema) ToRawInfo

func (m *PathParameterSubSchema) ToRawInfo() interface{}

ToRawInfo returns a description of PathParameterSubSchema suitable for JSON or YAML export.

func (*PathParameterSubSchema) XXX_DiscardUnknown

func (m *PathParameterSubSchema) XXX_DiscardUnknown()

func (*PathParameterSubSchema) XXX_Marshal

func (m *PathParameterSubSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PathParameterSubSchema) XXX_Merge

func (m *PathParameterSubSchema) XXX_Merge(src proto.Message)

func (*PathParameterSubSchema) XXX_Size

func (m *PathParameterSubSchema) XXX_Size() int

func (*PathParameterSubSchema) XXX_Unmarshal

func (m *PathParameterSubSchema) XXX_Unmarshal(b []byte) error

type Paths

type Paths struct {
	VendorExtension      []*NamedAny      `protobuf:"bytes,1,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	Path                 []*NamedPathItem `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Relative paths to the individual endpoints. They must be relative to the 'basePath'.

func NewPaths

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

NewPaths creates an object of type Paths if possible, returning an error if not.

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)

ResolveReferences resolves references found inside Paths objects.

func (*Paths) String

func (m *Paths) String() string

func (*Paths) ToRawInfo

func (m *Paths) ToRawInfo() interface{}

ToRawInfo returns a description of Paths suitable for JSON or YAML export.

func (*Paths) XXX_DiscardUnknown

func (m *Paths) XXX_DiscardUnknown()

func (*Paths) XXX_Marshal

func (m *Paths) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Paths) XXX_Merge

func (m *Paths) XXX_Merge(src proto.Message)

func (*Paths) XXX_Size

func (m *Paths) XXX_Size() int

func (*Paths) XXX_Unmarshal

func (m *Paths) XXX_Unmarshal(b []byte) error

type PrimitivesItems

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

func NewPrimitivesItems

func NewPrimitivesItems(in interface{}, context *compiler.Context) (*PrimitivesItems, error)

NewPrimitivesItems creates an object of type PrimitivesItems if possible, returning an error if not.

func (*PrimitivesItems) Descriptor

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

func (*PrimitivesItems) GetCollectionFormat

func (m *PrimitivesItems) GetCollectionFormat() string

func (*PrimitivesItems) GetDefault

func (m *PrimitivesItems) GetDefault() *Any

func (*PrimitivesItems) GetEnum

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

func (*PrimitivesItems) GetExclusiveMaximum

func (m *PrimitivesItems) GetExclusiveMaximum() bool

func (*PrimitivesItems) GetExclusiveMinimum

func (m *PrimitivesItems) GetExclusiveMinimum() bool

func (*PrimitivesItems) GetFormat

func (m *PrimitivesItems) GetFormat() string

func (*PrimitivesItems) GetItems

func (m *PrimitivesItems) GetItems() *PrimitivesItems

func (*PrimitivesItems) GetMaxItems

func (m *PrimitivesItems) GetMaxItems() int64

func (*PrimitivesItems) GetMaxLength

func (m *PrimitivesItems) GetMaxLength() int64

func (*PrimitivesItems) GetMaximum

func (m *PrimitivesItems) GetMaximum() float64

func (*PrimitivesItems) GetMinItems

func (m *PrimitivesItems) GetMinItems() int64

func (*PrimitivesItems) GetMinLength

func (m *PrimitivesItems) GetMinLength() int64

func (*PrimitivesItems) GetMinimum

func (m *PrimitivesItems) GetMinimum() float64

func (*PrimitivesItems) GetMultipleOf

func (m *PrimitivesItems) GetMultipleOf() float64

func (*PrimitivesItems) GetPattern

func (m *PrimitivesItems) GetPattern() string

func (*PrimitivesItems) GetType

func (m *PrimitivesItems) GetType() string

func (*PrimitivesItems) GetUniqueItems

func (m *PrimitivesItems) GetUniqueItems() bool

func (*PrimitivesItems) GetVendorExtension

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

func (*PrimitivesItems) ProtoMessage

func (*PrimitivesItems) ProtoMessage()

func (*PrimitivesItems) Reset

func (m *PrimitivesItems) Reset()

func (*PrimitivesItems) ResolveReferences

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

ResolveReferences resolves references found inside PrimitivesItems objects.

func (*PrimitivesItems) String

func (m *PrimitivesItems) String() string

func (*PrimitivesItems) ToRawInfo

func (m *PrimitivesItems) ToRawInfo() interface{}

ToRawInfo returns a description of PrimitivesItems suitable for JSON or YAML export.

func (*PrimitivesItems) XXX_DiscardUnknown

func (m *PrimitivesItems) XXX_DiscardUnknown()

func (*PrimitivesItems) XXX_Marshal

func (m *PrimitivesItems) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrimitivesItems) XXX_Merge

func (m *PrimitivesItems) XXX_Merge(src proto.Message)

func (*PrimitivesItems) XXX_Size

func (m *PrimitivesItems) XXX_Size() int

func (*PrimitivesItems) XXX_Unmarshal

func (m *PrimitivesItems) XXX_Unmarshal(b []byte) error

type Properties

type Properties struct {
	AdditionalProperties []*NamedSchema `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func NewProperties

func NewProperties(in interface{}, context *compiler.Context) (*Properties, error)

NewProperties creates an object of type Properties if possible, returning an error if not.

func (*Properties) Descriptor

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

func (*Properties) GetAdditionalProperties

func (m *Properties) GetAdditionalProperties() []*NamedSchema

func (*Properties) ProtoMessage

func (*Properties) ProtoMessage()

func (*Properties) Reset

func (m *Properties) Reset()

func (*Properties) ResolveReferences

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

ResolveReferences resolves references found inside Properties objects.

func (*Properties) String

func (m *Properties) String() string

func (*Properties) ToRawInfo

func (m *Properties) ToRawInfo() interface{}

ToRawInfo returns a description of Properties suitable for JSON or YAML export.

func (*Properties) XXX_DiscardUnknown

func (m *Properties) XXX_DiscardUnknown()

func (*Properties) XXX_Marshal

func (m *Properties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Properties) XXX_Merge

func (m *Properties) XXX_Merge(src proto.Message)

func (*Properties) XXX_Size

func (m *Properties) XXX_Size() int

func (*Properties) XXX_Unmarshal

func (m *Properties) XXX_Unmarshal(b []byte) error

type QueryParameterSubSchema

type QueryParameterSubSchema struct {
	// Determines whether or not this parameter is required or optional.
	Required bool `protobuf:"varint,1,opt,name=required,proto3" json:"required,omitempty"`
	// Determines the location of the parameter.
	In string `protobuf:"bytes,2,opt,name=in,proto3" 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,proto3" json:"description,omitempty"`
	// The name of the parameter.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" 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,proto3" json:"allow_empty_value,omitempty"`
	Type                 string           `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	Format               string           `protobuf:"bytes,7,opt,name=format,proto3" json:"format,omitempty"`
	Items                *PrimitivesItems `protobuf:"bytes,8,opt,name=items,proto3" json:"items,omitempty"`
	CollectionFormat     string           `protobuf:"bytes,9,opt,name=collection_format,json=collectionFormat,proto3" json:"collection_format,omitempty"`
	Default              *Any             `protobuf:"bytes,10,opt,name=default,proto3" json:"default,omitempty"`
	Maximum              float64          `protobuf:"fixed64,11,opt,name=maximum,proto3" json:"maximum,omitempty"`
	ExclusiveMaximum     bool             `protobuf:"varint,12,opt,name=exclusive_maximum,json=exclusiveMaximum,proto3" json:"exclusive_maximum,omitempty"`
	Minimum              float64          `protobuf:"fixed64,13,opt,name=minimum,proto3" json:"minimum,omitempty"`
	ExclusiveMinimum     bool             `protobuf:"varint,14,opt,name=exclusive_minimum,json=exclusiveMinimum,proto3" json:"exclusive_minimum,omitempty"`
	MaxLength            int64            `protobuf:"varint,15,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"`
	MinLength            int64            `protobuf:"varint,16,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"`
	Pattern              string           `protobuf:"bytes,17,opt,name=pattern,proto3" json:"pattern,omitempty"`
	MaxItems             int64            `protobuf:"varint,18,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"`
	MinItems             int64            `protobuf:"varint,19,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"`
	UniqueItems          bool             `protobuf:"varint,20,opt,name=unique_items,json=uniqueItems,proto3" json:"unique_items,omitempty"`
	Enum                 []*Any           `protobuf:"bytes,21,rep,name=enum,proto3" json:"enum,omitempty"`
	MultipleOf           float64          `protobuf:"fixed64,22,opt,name=multiple_of,json=multipleOf,proto3" json:"multiple_of,omitempty"`
	VendorExtension      []*NamedAny      `protobuf:"bytes,23,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func NewQueryParameterSubSchema

func NewQueryParameterSubSchema(in interface{}, context *compiler.Context) (*QueryParameterSubSchema, error)

NewQueryParameterSubSchema creates an object of type QueryParameterSubSchema if possible, returning an error if not.

func (*QueryParameterSubSchema) Descriptor

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

func (*QueryParameterSubSchema) GetAllowEmptyValue

func (m *QueryParameterSubSchema) GetAllowEmptyValue() bool

func (*QueryParameterSubSchema) GetCollectionFormat

func (m *QueryParameterSubSchema) GetCollectionFormat() string

func (*QueryParameterSubSchema) GetDefault

func (m *QueryParameterSubSchema) GetDefault() *Any

func (*QueryParameterSubSchema) GetDescription

func (m *QueryParameterSubSchema) GetDescription() string

func (*QueryParameterSubSchema) GetEnum

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

func (*QueryParameterSubSchema) GetExclusiveMaximum

func (m *QueryParameterSubSchema) GetExclusiveMaximum() bool

func (*QueryParameterSubSchema) GetExclusiveMinimum

func (m *QueryParameterSubSchema) GetExclusiveMinimum() bool

func (*QueryParameterSubSchema) GetFormat

func (m *QueryParameterSubSchema) GetFormat() string

func (*QueryParameterSubSchema) GetIn

func (m *QueryParameterSubSchema) GetIn() string

func (*QueryParameterSubSchema) GetItems

func (*QueryParameterSubSchema) GetMaxItems

func (m *QueryParameterSubSchema) GetMaxItems() int64

func (*QueryParameterSubSchema) GetMaxLength

func (m *QueryParameterSubSchema) GetMaxLength() int64

func (*QueryParameterSubSchema) GetMaximum

func (m *QueryParameterSubSchema) GetMaximum() float64

func (*QueryParameterSubSchema) GetMinItems

func (m *QueryParameterSubSchema) GetMinItems() int64

func (*QueryParameterSubSchema) GetMinLength

func (m *QueryParameterSubSchema) GetMinLength() int64

func (*QueryParameterSubSchema) GetMinimum

func (m *QueryParameterSubSchema) GetMinimum() float64

func (*QueryParameterSubSchema) GetMultipleOf

func (m *QueryParameterSubSchema) GetMultipleOf() float64

func (*QueryParameterSubSchema) GetName

func (m *QueryParameterSubSchema) GetName() string

func (*QueryParameterSubSchema) GetPattern

func (m *QueryParameterSubSchema) GetPattern() string

func (*QueryParameterSubSchema) GetRequired

func (m *QueryParameterSubSchema) GetRequired() bool

func (*QueryParameterSubSchema) GetType

func (m *QueryParameterSubSchema) GetType() string

func (*QueryParameterSubSchema) GetUniqueItems

func (m *QueryParameterSubSchema) GetUniqueItems() bool

func (*QueryParameterSubSchema) GetVendorExtension

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

func (*QueryParameterSubSchema) ProtoMessage

func (*QueryParameterSubSchema) ProtoMessage()

func (*QueryParameterSubSchema) Reset

func (m *QueryParameterSubSchema) Reset()

func (*QueryParameterSubSchema) ResolveReferences

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

ResolveReferences resolves references found inside QueryParameterSubSchema objects.

func (*QueryParameterSubSchema) String

func (m *QueryParameterSubSchema) String() string

func (*QueryParameterSubSchema) ToRawInfo

func (m *QueryParameterSubSchema) ToRawInfo() interface{}

ToRawInfo returns a description of QueryParameterSubSchema suitable for JSON or YAML export.

func (*QueryParameterSubSchema) XXX_DiscardUnknown

func (m *QueryParameterSubSchema) XXX_DiscardUnknown()

func (*QueryParameterSubSchema) XXX_Marshal

func (m *QueryParameterSubSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParameterSubSchema) XXX_Merge

func (m *QueryParameterSubSchema) XXX_Merge(src proto.Message)

func (*QueryParameterSubSchema) XXX_Size

func (m *QueryParameterSubSchema) XXX_Size() int

func (*QueryParameterSubSchema) XXX_Unmarshal

func (m *QueryParameterSubSchema) XXX_Unmarshal(b []byte) error

type Response

type Response struct {
	Description          string      `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	Schema               *SchemaItem `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
	Headers              *Headers    `protobuf:"bytes,3,opt,name=headers,proto3" json:"headers,omitempty"`
	Examples             *Examples   `protobuf:"bytes,4,opt,name=examples,proto3" json:"examples,omitempty"`
	VendorExtension      []*NamedAny `protobuf:"bytes,5,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func NewResponse

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

NewResponse creates an object of type Response if possible, returning an error if not.

func (*Response) Descriptor

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

func (*Response) GetDescription

func (m *Response) GetDescription() string

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)

ResolveReferences resolves references found inside Response objects.

func (*Response) String

func (m *Response) String() string

func (*Response) ToRawInfo

func (m *Response) ToRawInfo() interface{}

ToRawInfo returns a description of Response suitable for JSON or YAML export.

func (*Response) XXX_DiscardUnknown

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal

func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Response) XXX_Merge

func (m *Response) XXX_Merge(src proto.Message)

func (*Response) XXX_Size

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal

func (m *Response) XXX_Unmarshal(b []byte) error

type ResponseDefinitions

type ResponseDefinitions struct {
	AdditionalProperties []*NamedResponse `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

One or more JSON representations for parameters

func NewResponseDefinitions

func NewResponseDefinitions(in interface{}, context *compiler.Context) (*ResponseDefinitions, error)

NewResponseDefinitions creates an object of type ResponseDefinitions if possible, returning an error if not.

func (*ResponseDefinitions) Descriptor

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

func (*ResponseDefinitions) GetAdditionalProperties

func (m *ResponseDefinitions) GetAdditionalProperties() []*NamedResponse

func (*ResponseDefinitions) ProtoMessage

func (*ResponseDefinitions) ProtoMessage()

func (*ResponseDefinitions) Reset

func (m *ResponseDefinitions) Reset()

func (*ResponseDefinitions) ResolveReferences

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

ResolveReferences resolves references found inside ResponseDefinitions objects.

func (*ResponseDefinitions) String

func (m *ResponseDefinitions) String() string

func (*ResponseDefinitions) ToRawInfo

func (m *ResponseDefinitions) ToRawInfo() interface{}

ToRawInfo returns a description of ResponseDefinitions suitable for JSON or YAML export.

func (*ResponseDefinitions) XXX_DiscardUnknown

func (m *ResponseDefinitions) XXX_DiscardUnknown()

func (*ResponseDefinitions) XXX_Marshal

func (m *ResponseDefinitions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseDefinitions) XXX_Merge

func (m *ResponseDefinitions) XXX_Merge(src proto.Message)

func (*ResponseDefinitions) XXX_Size

func (m *ResponseDefinitions) XXX_Size() int

func (*ResponseDefinitions) XXX_Unmarshal

func (m *ResponseDefinitions) XXX_Unmarshal(b []byte) error

type ResponseValue

type ResponseValue struct {
	// Types that are valid to be assigned to Oneof:
	//	*ResponseValue_Response
	//	*ResponseValue_JsonReference
	Oneof                isResponseValue_Oneof `protobuf_oneof:"oneof"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func NewResponseValue

func NewResponseValue(in interface{}, context *compiler.Context) (*ResponseValue, error)

NewResponseValue creates an object of type ResponseValue if possible, returning an error if not.

func (*ResponseValue) Descriptor

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

func (*ResponseValue) GetJsonReference

func (m *ResponseValue) GetJsonReference() *JsonReference

func (*ResponseValue) GetOneof

func (m *ResponseValue) GetOneof() isResponseValue_Oneof

func (*ResponseValue) GetResponse

func (m *ResponseValue) GetResponse() *Response

func (*ResponseValue) ProtoMessage

func (*ResponseValue) ProtoMessage()

func (*ResponseValue) Reset

func (m *ResponseValue) Reset()

func (*ResponseValue) ResolveReferences

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

ResolveReferences resolves references found inside ResponseValue objects.

func (*ResponseValue) String

func (m *ResponseValue) String() string

func (*ResponseValue) ToRawInfo

func (m *ResponseValue) ToRawInfo() interface{}

ToRawInfo returns a description of ResponseValue suitable for JSON or YAML export.

func (*ResponseValue) XXX_DiscardUnknown

func (m *ResponseValue) XXX_DiscardUnknown()

func (*ResponseValue) XXX_Marshal

func (m *ResponseValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseValue) XXX_Merge

func (m *ResponseValue) XXX_Merge(src proto.Message)

func (*ResponseValue) XXX_OneofWrappers

func (*ResponseValue) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ResponseValue) XXX_Size

func (m *ResponseValue) XXX_Size() int

func (*ResponseValue) XXX_Unmarshal

func (m *ResponseValue) XXX_Unmarshal(b []byte) error

type ResponseValue_JsonReference

type ResponseValue_JsonReference struct {
	JsonReference *JsonReference `protobuf:"bytes,2,opt,name=json_reference,json=jsonReference,proto3,oneof"`
}

type ResponseValue_Response

type ResponseValue_Response struct {
	Response *Response `protobuf:"bytes,1,opt,name=response,proto3,oneof"`
}

type Responses

type Responses struct {
	ResponseCode         []*NamedResponseValue `protobuf:"bytes,1,rep,name=response_code,json=responseCode,proto3" json:"response_code,omitempty"`
	VendorExtension      []*NamedAny           `protobuf:"bytes,2,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Response objects names can either be any valid HTTP status code or 'default'.

func NewResponses

func NewResponses(in interface{}, context *compiler.Context) (*Responses, error)

NewResponses creates an object of type Responses if possible, returning an error if not.

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)

ResolveReferences resolves references found inside Responses objects.

func (*Responses) String

func (m *Responses) String() string

func (*Responses) ToRawInfo

func (m *Responses) ToRawInfo() interface{}

ToRawInfo returns a description of Responses suitable for JSON or YAML export.

func (*Responses) XXX_DiscardUnknown

func (m *Responses) XXX_DiscardUnknown()

func (*Responses) XXX_Marshal

func (m *Responses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Responses) XXX_Merge

func (m *Responses) XXX_Merge(src proto.Message)

func (*Responses) XXX_Size

func (m *Responses) XXX_Size() int

func (*Responses) XXX_Unmarshal

func (m *Responses) XXX_Unmarshal(b []byte) error

type Schema

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

A deterministic version of a JSON Schema object.

func NewSchema

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

NewSchema creates an object of type Schema if possible, returning an error if not.

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

func (m *Schema) GetDescription() string

func (*Schema) GetDiscriminator

func (m *Schema) GetDiscriminator() string

func (*Schema) GetEnum

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

func (*Schema) GetExample

func (m *Schema) GetExample() *Any

func (*Schema) GetExclusiveMaximum

func (m *Schema) GetExclusiveMaximum() bool

func (*Schema) GetExclusiveMinimum

func (m *Schema) GetExclusiveMinimum() bool

func (*Schema) GetExternalDocs

func (m *Schema) GetExternalDocs() *ExternalDocs

func (*Schema) GetFormat

func (m *Schema) GetFormat() string

func (*Schema) GetItems

func (m *Schema) GetItems() *ItemsItem

func (*Schema) GetMaxItems

func (m *Schema) GetMaxItems() int64

func (*Schema) GetMaxLength

func (m *Schema) GetMaxLength() int64

func (*Schema) GetMaxProperties

func (m *Schema) GetMaxProperties() int64

func (*Schema) GetMaximum

func (m *Schema) GetMaximum() float64

func (*Schema) GetMinItems

func (m *Schema) GetMinItems() int64

func (*Schema) GetMinLength

func (m *Schema) GetMinLength() int64

func (*Schema) GetMinProperties

func (m *Schema) GetMinProperties() int64

func (*Schema) GetMinimum

func (m *Schema) GetMinimum() float64

func (*Schema) GetMultipleOf

func (m *Schema) GetMultipleOf() float64

func (*Schema) GetPattern

func (m *Schema) GetPattern() string

func (*Schema) GetProperties

func (m *Schema) GetProperties() *Properties

func (*Schema) GetReadOnly

func (m *Schema) GetReadOnly() bool

func (*Schema) GetRequired

func (m *Schema) GetRequired() []string

func (*Schema) GetTitle

func (m *Schema) GetTitle() string

func (*Schema) GetType

func (m *Schema) GetType() *TypeItem

func (*Schema) GetUniqueItems

func (m *Schema) GetUniqueItems() bool

func (*Schema) GetVendorExtension

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

func (*Schema) GetXRef

func (m *Schema) GetXRef() string

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)

ResolveReferences resolves references found inside Schema objects.

func (*Schema) String

func (m *Schema) String() string

func (*Schema) ToRawInfo

func (m *Schema) ToRawInfo() interface{}

ToRawInfo returns a description of Schema suitable for JSON or YAML export.

func (*Schema) XXX_DiscardUnknown

func (m *Schema) XXX_DiscardUnknown()

func (*Schema) XXX_Marshal

func (m *Schema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Schema) XXX_Merge

func (m *Schema) XXX_Merge(src proto.Message)

func (*Schema) XXX_Size

func (m *Schema) XXX_Size() int

func (*Schema) XXX_Unmarshal

func (m *Schema) XXX_Unmarshal(b []byte) error

type SchemaItem

type SchemaItem struct {
	// Types that are valid to be assigned to Oneof:
	//	*SchemaItem_Schema
	//	*SchemaItem_FileSchema
	Oneof                isSchemaItem_Oneof `protobuf_oneof:"oneof"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func NewSchemaItem

func NewSchemaItem(in interface{}, context *compiler.Context) (*SchemaItem, error)

NewSchemaItem creates an object of type SchemaItem if possible, returning an error if not.

func (*SchemaItem) Descriptor

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

func (*SchemaItem) GetFileSchema

func (m *SchemaItem) GetFileSchema() *FileSchema

func (*SchemaItem) GetOneof

func (m *SchemaItem) GetOneof() isSchemaItem_Oneof

func (*SchemaItem) GetSchema

func (m *SchemaItem) GetSchema() *Schema

func (*SchemaItem) ProtoMessage

func (*SchemaItem) ProtoMessage()

func (*SchemaItem) Reset

func (m *SchemaItem) Reset()

func (*SchemaItem) ResolveReferences

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

ResolveReferences resolves references found inside SchemaItem objects.

func (*SchemaItem) String

func (m *SchemaItem) String() string

func (*SchemaItem) ToRawInfo

func (m *SchemaItem) ToRawInfo() interface{}

ToRawInfo returns a description of SchemaItem suitable for JSON or YAML export.

func (*SchemaItem) XXX_DiscardUnknown

func (m *SchemaItem) XXX_DiscardUnknown()

func (*SchemaItem) XXX_Marshal

func (m *SchemaItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchemaItem) XXX_Merge

func (m *SchemaItem) XXX_Merge(src proto.Message)

func (*SchemaItem) XXX_OneofWrappers

func (*SchemaItem) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*SchemaItem) XXX_Size

func (m *SchemaItem) XXX_Size() int

func (*SchemaItem) XXX_Unmarshal

func (m *SchemaItem) XXX_Unmarshal(b []byte) error

type SchemaItem_FileSchema

type SchemaItem_FileSchema struct {
	FileSchema *FileSchema `protobuf:"bytes,2,opt,name=file_schema,json=fileSchema,proto3,oneof"`
}

type SchemaItem_Schema

type SchemaItem_Schema struct {
	Schema *Schema `protobuf:"bytes,1,opt,name=schema,proto3,oneof"`
}

type SecurityDefinitions

type SecurityDefinitions struct {
	AdditionalProperties []*NamedSecurityDefinitionsItem `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

func NewSecurityDefinitions

func NewSecurityDefinitions(in interface{}, context *compiler.Context) (*SecurityDefinitions, error)

NewSecurityDefinitions creates an object of type SecurityDefinitions if possible, returning an error if not.

func (*SecurityDefinitions) Descriptor

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

func (*SecurityDefinitions) GetAdditionalProperties

func (m *SecurityDefinitions) GetAdditionalProperties() []*NamedSecurityDefinitionsItem

func (*SecurityDefinitions) ProtoMessage

func (*SecurityDefinitions) ProtoMessage()

func (*SecurityDefinitions) Reset

func (m *SecurityDefinitions) Reset()

func (*SecurityDefinitions) ResolveReferences

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

ResolveReferences resolves references found inside SecurityDefinitions objects.

func (*SecurityDefinitions) String

func (m *SecurityDefinitions) String() string

func (*SecurityDefinitions) ToRawInfo

func (m *SecurityDefinitions) ToRawInfo() interface{}

ToRawInfo returns a description of SecurityDefinitions suitable for JSON or YAML export.

func (*SecurityDefinitions) XXX_DiscardUnknown

func (m *SecurityDefinitions) XXX_DiscardUnknown()

func (*SecurityDefinitions) XXX_Marshal

func (m *SecurityDefinitions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecurityDefinitions) XXX_Merge

func (m *SecurityDefinitions) XXX_Merge(src proto.Message)

func (*SecurityDefinitions) XXX_Size

func (m *SecurityDefinitions) XXX_Size() int

func (*SecurityDefinitions) XXX_Unmarshal

func (m *SecurityDefinitions) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

func NewSecurityDefinitionsItem

func NewSecurityDefinitionsItem(in interface{}, context *compiler.Context) (*SecurityDefinitionsItem, error)

NewSecurityDefinitionsItem creates an object of type SecurityDefinitionsItem if possible, returning an error if not.

func (*SecurityDefinitionsItem) Descriptor

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

func (*SecurityDefinitionsItem) GetApiKeySecurity

func (m *SecurityDefinitionsItem) GetApiKeySecurity() *ApiKeySecurity

func (*SecurityDefinitionsItem) GetBasicAuthenticationSecurity

func (m *SecurityDefinitionsItem) GetBasicAuthenticationSecurity() *BasicAuthenticationSecurity

func (*SecurityDefinitionsItem) GetOauth2AccessCodeSecurity

func (m *SecurityDefinitionsItem) GetOauth2AccessCodeSecurity() *Oauth2AccessCodeSecurity

func (*SecurityDefinitionsItem) GetOauth2ApplicationSecurity

func (m *SecurityDefinitionsItem) GetOauth2ApplicationSecurity() *Oauth2ApplicationSecurity

func (*SecurityDefinitionsItem) GetOauth2ImplicitSecurity

func (m *SecurityDefinitionsItem) GetOauth2ImplicitSecurity() *Oauth2ImplicitSecurity

func (*SecurityDefinitionsItem) GetOauth2PasswordSecurity

func (m *SecurityDefinitionsItem) GetOauth2PasswordSecurity() *Oauth2PasswordSecurity

func (*SecurityDefinitionsItem) GetOneof

func (m *SecurityDefinitionsItem) GetOneof() isSecurityDefinitionsItem_Oneof

func (*SecurityDefinitionsItem) ProtoMessage

func (*SecurityDefinitionsItem) ProtoMessage()

func (*SecurityDefinitionsItem) Reset

func (m *SecurityDefinitionsItem) Reset()

func (*SecurityDefinitionsItem) ResolveReferences

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

ResolveReferences resolves references found inside SecurityDefinitionsItem objects.

func (*SecurityDefinitionsItem) String

func (m *SecurityDefinitionsItem) String() string

func (*SecurityDefinitionsItem) ToRawInfo

func (m *SecurityDefinitionsItem) ToRawInfo() interface{}

ToRawInfo returns a description of SecurityDefinitionsItem suitable for JSON or YAML export.

func (*SecurityDefinitionsItem) XXX_DiscardUnknown

func (m *SecurityDefinitionsItem) XXX_DiscardUnknown()

func (*SecurityDefinitionsItem) XXX_Marshal

func (m *SecurityDefinitionsItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecurityDefinitionsItem) XXX_Merge

func (m *SecurityDefinitionsItem) XXX_Merge(src proto.Message)

func (*SecurityDefinitionsItem) XXX_OneofWrappers

func (*SecurityDefinitionsItem) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*SecurityDefinitionsItem) XXX_Size

func (m *SecurityDefinitionsItem) XXX_Size() int

func (*SecurityDefinitionsItem) XXX_Unmarshal

func (m *SecurityDefinitionsItem) XXX_Unmarshal(b []byte) error

type SecurityDefinitionsItem_ApiKeySecurity

type SecurityDefinitionsItem_ApiKeySecurity struct {
	ApiKeySecurity *ApiKeySecurity `protobuf:"bytes,2,opt,name=api_key_security,json=apiKeySecurity,proto3,oneof"`
}

type SecurityDefinitionsItem_BasicAuthenticationSecurity

type SecurityDefinitionsItem_BasicAuthenticationSecurity struct {
	BasicAuthenticationSecurity *BasicAuthenticationSecurity `protobuf:"bytes,1,opt,name=basic_authentication_security,json=basicAuthenticationSecurity,proto3,oneof"`
}

type SecurityDefinitionsItem_Oauth2AccessCodeSecurity

type SecurityDefinitionsItem_Oauth2AccessCodeSecurity struct {
	Oauth2AccessCodeSecurity *Oauth2AccessCodeSecurity `protobuf:"bytes,6,opt,name=oauth2_access_code_security,json=oauth2AccessCodeSecurity,proto3,oneof"`
}

type SecurityDefinitionsItem_Oauth2ApplicationSecurity

type SecurityDefinitionsItem_Oauth2ApplicationSecurity struct {
	Oauth2ApplicationSecurity *Oauth2ApplicationSecurity `protobuf:"bytes,5,opt,name=oauth2_application_security,json=oauth2ApplicationSecurity,proto3,oneof"`
}

type SecurityDefinitionsItem_Oauth2ImplicitSecurity

type SecurityDefinitionsItem_Oauth2ImplicitSecurity struct {
	Oauth2ImplicitSecurity *Oauth2ImplicitSecurity `protobuf:"bytes,3,opt,name=oauth2_implicit_security,json=oauth2ImplicitSecurity,proto3,oneof"`
}

type SecurityDefinitionsItem_Oauth2PasswordSecurity

type SecurityDefinitionsItem_Oauth2PasswordSecurity struct {
	Oauth2PasswordSecurity *Oauth2PasswordSecurity `protobuf:"bytes,4,opt,name=oauth2_password_security,json=oauth2PasswordSecurity,proto3,oneof"`
}

type SecurityRequirement

type SecurityRequirement struct {
	AdditionalProperties []*NamedStringArray `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func NewSecurityRequirement

func NewSecurityRequirement(in interface{}, context *compiler.Context) (*SecurityRequirement, error)

NewSecurityRequirement creates an object of type SecurityRequirement if possible, returning an error if not.

func (*SecurityRequirement) Descriptor

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

func (*SecurityRequirement) GetAdditionalProperties

func (m *SecurityRequirement) GetAdditionalProperties() []*NamedStringArray

func (*SecurityRequirement) ProtoMessage

func (*SecurityRequirement) ProtoMessage()

func (*SecurityRequirement) Reset

func (m *SecurityRequirement) Reset()

func (*SecurityRequirement) ResolveReferences

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

ResolveReferences resolves references found inside SecurityRequirement objects.

func (*SecurityRequirement) String

func (m *SecurityRequirement) String() string

func (*SecurityRequirement) ToRawInfo

func (m *SecurityRequirement) ToRawInfo() interface{}

ToRawInfo returns a description of SecurityRequirement suitable for JSON or YAML export.

func (*SecurityRequirement) XXX_DiscardUnknown

func (m *SecurityRequirement) XXX_DiscardUnknown()

func (*SecurityRequirement) XXX_Marshal

func (m *SecurityRequirement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecurityRequirement) XXX_Merge

func (m *SecurityRequirement) XXX_Merge(src proto.Message)

func (*SecurityRequirement) XXX_Size

func (m *SecurityRequirement) XXX_Size() int

func (*SecurityRequirement) XXX_Unmarshal

func (m *SecurityRequirement) XXX_Unmarshal(b []byte) error

type StringArray

type StringArray struct {
	Value                []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewStringArray

func NewStringArray(in interface{}, context *compiler.Context) (*StringArray, error)

NewStringArray creates an object of type StringArray if possible, returning an error if not.

func (*StringArray) Descriptor

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

func (*StringArray) GetValue

func (m *StringArray) GetValue() []string

func (*StringArray) ProtoMessage

func (*StringArray) ProtoMessage()

func (*StringArray) Reset

func (m *StringArray) Reset()

func (*StringArray) ResolveReferences

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

ResolveReferences resolves references found inside StringArray objects.

func (*StringArray) String

func (m *StringArray) String() string

func (*StringArray) ToRawInfo

func (m *StringArray) ToRawInfo() interface{}

ToRawInfo returns a description of StringArray suitable for JSON or YAML export.

func (*StringArray) XXX_DiscardUnknown

func (m *StringArray) XXX_DiscardUnknown()

func (*StringArray) XXX_Marshal

func (m *StringArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringArray) XXX_Merge

func (m *StringArray) XXX_Merge(src proto.Message)

func (*StringArray) XXX_Size

func (m *StringArray) XXX_Size() int

func (*StringArray) XXX_Unmarshal

func (m *StringArray) XXX_Unmarshal(b []byte) error

type Tag

type Tag struct {
	Name                 string        `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description          string        `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ExternalDocs         *ExternalDocs `protobuf:"bytes,3,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"`
	VendorExtension      []*NamedAny   `protobuf:"bytes,4,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func NewTag

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

NewTag creates an object of type Tag if possible, returning an error if not.

func (*Tag) Descriptor

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

func (*Tag) GetDescription

func (m *Tag) GetDescription() string

func (*Tag) GetExternalDocs

func (m *Tag) GetExternalDocs() *ExternalDocs

func (*Tag) GetName

func (m *Tag) GetName() string

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)

ResolveReferences resolves references found inside Tag objects.

func (*Tag) String

func (m *Tag) String() string

func (*Tag) ToRawInfo

func (m *Tag) ToRawInfo() interface{}

ToRawInfo returns a description of Tag suitable for JSON or YAML export.

func (*Tag) XXX_DiscardUnknown

func (m *Tag) XXX_DiscardUnknown()

func (*Tag) XXX_Marshal

func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Tag) XXX_Merge

func (m *Tag) XXX_Merge(src proto.Message)

func (*Tag) XXX_Size

func (m *Tag) XXX_Size() int

func (*Tag) XXX_Unmarshal

func (m *Tag) XXX_Unmarshal(b []byte) error

type TypeItem

type TypeItem struct {
	Value                []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewTypeItem

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

NewTypeItem creates an object of type TypeItem if possible, returning an error if not.

func (*TypeItem) Descriptor

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

func (*TypeItem) GetValue

func (m *TypeItem) GetValue() []string

func (*TypeItem) ProtoMessage

func (*TypeItem) ProtoMessage()

func (*TypeItem) Reset

func (m *TypeItem) Reset()

func (*TypeItem) ResolveReferences

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

ResolveReferences resolves references found inside TypeItem objects.

func (*TypeItem) String

func (m *TypeItem) String() string

func (*TypeItem) ToRawInfo

func (m *TypeItem) ToRawInfo() interface{}

ToRawInfo returns a description of TypeItem suitable for JSON or YAML export.

func (*TypeItem) XXX_DiscardUnknown

func (m *TypeItem) XXX_DiscardUnknown()

func (*TypeItem) XXX_Marshal

func (m *TypeItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TypeItem) XXX_Merge

func (m *TypeItem) XXX_Merge(src proto.Message)

func (*TypeItem) XXX_Size

func (m *TypeItem) XXX_Size() int

func (*TypeItem) XXX_Unmarshal

func (m *TypeItem) XXX_Unmarshal(b []byte) error

type VendorExtension

type VendorExtension struct {
	AdditionalProperties []*NamedAny `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

Any property starting with x- is valid.

func NewVendorExtension

func NewVendorExtension(in interface{}, context *compiler.Context) (*VendorExtension, error)

NewVendorExtension creates an object of type VendorExtension if possible, returning an error if not.

func (*VendorExtension) Descriptor

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

func (*VendorExtension) GetAdditionalProperties

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

func (*VendorExtension) ProtoMessage

func (*VendorExtension) ProtoMessage()

func (*VendorExtension) Reset

func (m *VendorExtension) Reset()

func (*VendorExtension) ResolveReferences

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

ResolveReferences resolves references found inside VendorExtension objects.

func (*VendorExtension) String

func (m *VendorExtension) String() string

func (*VendorExtension) ToRawInfo

func (m *VendorExtension) ToRawInfo() interface{}

ToRawInfo returns a description of VendorExtension suitable for JSON or YAML export.

func (*VendorExtension) XXX_DiscardUnknown

func (m *VendorExtension) XXX_DiscardUnknown()

func (*VendorExtension) XXX_Marshal

func (m *VendorExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VendorExtension) XXX_Merge

func (m *VendorExtension) XXX_Merge(src proto.Message)

func (*VendorExtension) XXX_Size

func (m *VendorExtension) XXX_Size() int

func (*VendorExtension) XXX_Unmarshal

func (m *VendorExtension) XXX_Unmarshal(b []byte) error

type Xml

type Xml struct {
	Name                 string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace            string      `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Prefix               string      `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"`
	Attribute            bool        `protobuf:"varint,4,opt,name=attribute,proto3" json:"attribute,omitempty"`
	Wrapped              bool        `protobuf:"varint,5,opt,name=wrapped,proto3" json:"wrapped,omitempty"`
	VendorExtension      []*NamedAny `protobuf:"bytes,6,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func NewXml

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

NewXml creates an object of type Xml if possible, returning an error if not.

func (*Xml) Descriptor

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

func (*Xml) GetAttribute

func (m *Xml) GetAttribute() bool

func (*Xml) GetName

func (m *Xml) GetName() string

func (*Xml) GetNamespace

func (m *Xml) GetNamespace() string

func (*Xml) GetPrefix

func (m *Xml) GetPrefix() string

func (*Xml) GetVendorExtension

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

func (*Xml) GetWrapped

func (m *Xml) GetWrapped() bool

func (*Xml) ProtoMessage

func (*Xml) ProtoMessage()

func (*Xml) Reset

func (m *Xml) Reset()

func (*Xml) ResolveReferences

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

ResolveReferences resolves references found inside Xml objects.

func (*Xml) String

func (m *Xml) String() string

func (*Xml) ToRawInfo

func (m *Xml) ToRawInfo() interface{}

ToRawInfo returns a description of Xml suitable for JSON or YAML export.

func (*Xml) XXX_DiscardUnknown

func (m *Xml) XXX_DiscardUnknown()

func (*Xml) XXX_Marshal

func (m *Xml) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Xml) XXX_Merge

func (m *Xml) XXX_Merge(src proto.Message)

func (*Xml) XXX_Size

func (m *Xml) XXX_Size() int

func (*Xml) XXX_Unmarshal

func (m *Xml) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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