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

Overview

Package openapi_v2 is a generated protocol buffer package.

It is generated from these files:

OpenAPIv2/OpenAPIv2.proto

It has these top-level messages:

AdditionalPropertiesItem
Any
ApiKeySecurity
BasicAuthenticationSecurity
BodyParameter
Contact
Default
Definitions
Document
Examples
ExternalDocs
FileSchema
FormDataParameterSubSchema
Header
HeaderParameterSubSchema
Headers
Info
ItemsItem
JsonReference
License
NamedAny
NamedHeader
NamedParameter
NamedPathItem
NamedResponse
NamedResponseValue
NamedSchema
NamedSecurityDefinitionsItem
NamedString
NamedStringArray
NonBodyParameter
Oauth2AccessCodeSecurity
Oauth2ApplicationSecurity
Oauth2ImplicitSecurity
Oauth2PasswordSecurity
Oauth2Scopes
Operation
Parameter
ParameterDefinitions
ParametersItem
PathItem
PathParameterSubSchema
Paths
PrimitivesItems
Properties
QueryParameterSubSchema
Response
ResponseDefinitions
ResponseValue
Responses
Schema
SchemaItem
SecurityDefinitions
SecurityDefinitionsItem
SecurityRequirement
StringArray
Tag
TypeItem
VendorExtension
Xml

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Version

func Version() string

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"`
}

func NewAdditionalPropertiesItem

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

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

func (*AdditionalPropertiesItem) Descriptor

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

func (*AdditionalPropertiesItem) GetBoolean

func (m *AdditionalPropertiesItem) GetBoolean() bool

func (*AdditionalPropertiesItem) GetOneof

func (m *AdditionalPropertiesItem) GetOneof() isAdditionalPropertiesItem_Oneof

func (*AdditionalPropertiesItem) GetSchema

func (m *AdditionalPropertiesItem) GetSchema() *Schema

func (*AdditionalPropertiesItem) ProtoMessage

func (*AdditionalPropertiesItem) ProtoMessage()

func (*AdditionalPropertiesItem) Reset

func (m *AdditionalPropertiesItem) Reset()

func (*AdditionalPropertiesItem) ResolveReferences

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

ResolveReferences resolves references found inside AdditionalPropertiesItem objects.

func (*AdditionalPropertiesItem) String

func (m *AdditionalPropertiesItem) String() string

func (*AdditionalPropertiesItem) ToRawInfo

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

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

func (*AdditionalPropertiesItem) XXX_OneofFuncs

func (*AdditionalPropertiesItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type AdditionalPropertiesItem_Boolean

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

type AdditionalPropertiesItem_Schema

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

type Any

type Any struct {
	Value *google_protobuf.Any `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
	Yaml  string               `protobuf:"bytes,2,opt,name=yaml" json:"yaml,omitempty"`
}

func NewAny

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() *google_protobuf.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.

type ApiKeySecurity

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

func NewApiKeySecurity

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

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

func (*ApiKeySecurity) Descriptor

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

func (*ApiKeySecurity) GetDescription

func (m *ApiKeySecurity) GetDescription() string

func (*ApiKeySecurity) GetIn

func (m *ApiKeySecurity) GetIn() string

func (*ApiKeySecurity) GetName

func (m *ApiKeySecurity) GetName() string

func (*ApiKeySecurity) GetType

func (m *ApiKeySecurity) GetType() string

func (*ApiKeySecurity) GetVendorExtension

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

func (*ApiKeySecurity) ProtoMessage

func (*ApiKeySecurity) ProtoMessage()

func (*ApiKeySecurity) Reset

func (m *ApiKeySecurity) Reset()

func (*ApiKeySecurity) ResolveReferences

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

ResolveReferences resolves references found inside ApiKeySecurity objects.

func (*ApiKeySecurity) String

func (m *ApiKeySecurity) String() string

func (*ApiKeySecurity) ToRawInfo

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

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

type BasicAuthenticationSecurity

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

func NewBasicAuthenticationSecurity

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

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

func (*BasicAuthenticationSecurity) Descriptor

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

func (*BasicAuthenticationSecurity) GetDescription

func (m *BasicAuthenticationSecurity) GetDescription() string

func (*BasicAuthenticationSecurity) GetType

func (m *BasicAuthenticationSecurity) GetType() string

func (*BasicAuthenticationSecurity) GetVendorExtension

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

func (*BasicAuthenticationSecurity) ProtoMessage

func (*BasicAuthenticationSecurity) ProtoMessage()

func (*BasicAuthenticationSecurity) Reset

func (m *BasicAuthenticationSecurity) Reset()

func (*BasicAuthenticationSecurity) ResolveReferences

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

ResolveReferences resolves references found inside BasicAuthenticationSecurity objects.

func (*BasicAuthenticationSecurity) String

func (m *BasicAuthenticationSecurity) String() string

func (*BasicAuthenticationSecurity) ToRawInfo

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

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

type BodyParameter

type BodyParameter struct {
	// A brief description of the parameter. This could contain examples of use.  GitHub Flavored Markdown is allowed.
	Description string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"`
	// The name of the parameter.
	Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// Determines the location of the parameter.
	In string `protobuf:"bytes,3,opt,name=in" json:"in,omitempty"`
	// Determines whether or not this parameter is required or optional.
	Required        bool        `protobuf:"varint,4,opt,name=required" json:"required,omitempty"`
	Schema          *Schema     `protobuf:"bytes,5,opt,name=schema" json:"schema,omitempty"`
	VendorExtension []*NamedAny `protobuf:"bytes,6,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"`
}

func NewBodyParameter

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

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

func (*BodyParameter) Descriptor

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

func (*BodyParameter) GetDescription

func (m *BodyParameter) GetDescription() string

func (*BodyParameter) GetIn

func (m *BodyParameter) GetIn() string

func (*BodyParameter) GetName

func (m *BodyParameter) GetName() string

func (*BodyParameter) GetRequired

func (m *BodyParameter) GetRequired() bool

func (*BodyParameter) GetSchema

func (m *BodyParameter) GetSchema() *Schema

func (*BodyParameter) GetVendorExtension

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

func (*BodyParameter) ProtoMessage

func (*BodyParameter) ProtoMessage()

func (*BodyParameter) Reset

func (m *BodyParameter) Reset()

func (*BodyParameter) ResolveReferences

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

ResolveReferences resolves references found inside BodyParameter objects.

func (*BodyParameter) String

func (m *BodyParameter) String() string

func (*BodyParameter) ToRawInfo

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

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

type Contact

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

Contact information for the owners of the API.

func NewContact

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.

type Default

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

func NewDefault

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

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.

type Definitions

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

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

func NewDefinitions

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

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

func (*Definitions) Descriptor

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

func (*Definitions) GetAdditionalProperties

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

func (*Definitions) ProtoMessage

func (*Definitions) ProtoMessage()

func (*Definitions) Reset

func (m *Definitions) Reset()

func (*Definitions) ResolveReferences

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

ResolveReferences resolves references found inside Definitions objects.

func (*Definitions) String

func (m *Definitions) String() string

func (*Definitions) ToRawInfo

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

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

type Document

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

func NewDocument

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.

type Examples

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

func NewExamples

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

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.

type ExternalDocs

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

information about external documentation

func NewExternalDocs

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

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

func (*ExternalDocs) Descriptor

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

func (*ExternalDocs) GetDescription

func (m *ExternalDocs) GetDescription() string

func (*ExternalDocs) GetUrl

func (m *ExternalDocs) GetUrl() string

func (*ExternalDocs) GetVendorExtension

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

func (*ExternalDocs) ProtoMessage

func (*ExternalDocs) ProtoMessage()

func (*ExternalDocs) Reset

func (m *ExternalDocs) Reset()

func (*ExternalDocs) ResolveReferences

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

ResolveReferences resolves references found inside ExternalDocs objects.

func (*ExternalDocs) String

func (m *ExternalDocs) String() string

func (*ExternalDocs) ToRawInfo

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

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

type FileSchema

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

A deterministic version of a JSON Schema object.

func NewFileSchema

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

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

func (*FileSchema) Descriptor

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

func (*FileSchema) GetDefault

func (m *FileSchema) GetDefault() *Any

func (*FileSchema) GetDescription

func (m *FileSchema) GetDescription() string

func (*FileSchema) GetExample

func (m *FileSchema) GetExample() *Any

func (*FileSchema) GetExternalDocs

func (m *FileSchema) GetExternalDocs() *ExternalDocs

func (*FileSchema) GetFormat

func (m *FileSchema) GetFormat() string

func (*FileSchema) GetReadOnly

func (m *FileSchema) GetReadOnly() bool

func (*FileSchema) GetRequired

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

func (*FileSchema) GetTitle

func (m *FileSchema) GetTitle() string

func (*FileSchema) GetType

func (m *FileSchema) GetType() string

func (*FileSchema) GetVendorExtension

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

func (*FileSchema) ProtoMessage

func (*FileSchema) ProtoMessage()

func (*FileSchema) Reset

func (m *FileSchema) Reset()

func (*FileSchema) ResolveReferences

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

ResolveReferences resolves references found inside FileSchema objects.

func (*FileSchema) String

func (m *FileSchema) String() string

func (*FileSchema) ToRawInfo

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

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

type FormDataParameterSubSchema

type FormDataParameterSubSchema struct {
	// Determines whether or not this parameter is required or optional.
	Required bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"`
	// Determines the location of the parameter.
	In string `protobuf:"bytes,2,opt,name=in" json:"in,omitempty"`
	// A brief description of the parameter. This could contain examples of use.  GitHub Flavored Markdown is allowed.
	Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
	// The name of the parameter.
	Name string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
	// allows sending a parameter by name only or with an empty value.
	AllowEmptyValue  bool             `protobuf:"varint,5,opt,name=allow_empty_value,json=allowEmptyValue" json:"allow_empty_value,omitempty"`
	Type             string           `protobuf:"bytes,6,opt,name=type" json:"type,omitempty"`
	Format           string           `protobuf:"bytes,7,opt,name=format" json:"format,omitempty"`
	Items            *PrimitivesItems `protobuf:"bytes,8,opt,name=items" json:"items,omitempty"`
	CollectionFormat string           `protobuf:"bytes,9,opt,name=collection_format,json=collectionFormat" json:"collection_format,omitempty"`
	Default          *Any             `protobuf:"bytes,10,opt,name=default" json:"default,omitempty"`
	Maximum          float64          `protobuf:"fixed64,11,opt,name=maximum" json:"maximum,omitempty"`
	ExclusiveMaximum bool             `protobuf:"varint,12,opt,name=exclusive_maximum,json=exclusiveMaximum" json:"exclusive_maximum,omitempty"`
	Minimum          float64          `protobuf:"fixed64,13,opt,name=minimum" json:"minimum,omitempty"`
	ExclusiveMinimum bool             `protobuf:"varint,14,opt,name=exclusive_minimum,json=exclusiveMinimum" json:"exclusive_minimum,omitempty"`
	MaxLength        int64            `protobuf:"varint,15,opt,name=max_length,json=maxLength" json:"max_length,omitempty"`
	MinLength        int64            `protobuf:"varint,16,opt,name=min_length,json=minLength" json:"min_length,omitempty"`
	Pattern          string           `protobuf:"bytes,17,opt,name=pattern" json:"pattern,omitempty"`
	MaxItems         int64            `protobuf:"varint,18,opt,name=max_items,json=maxItems" json:"max_items,omitempty"`
	MinItems         int64            `protobuf:"varint,19,opt,name=min_items,json=minItems" json:"min_items,omitempty"`
	UniqueItems      bool             `protobuf:"varint,20,opt,name=unique_items,json=uniqueItems" json:"unique_items,omitempty"`
	Enum             []*Any           `protobuf:"bytes,21,rep,name=enum" json:"enum,omitempty"`
	MultipleOf       float64          `protobuf:"fixed64,22,opt,name=multiple_of,json=multipleOf" json:"multiple_of,omitempty"`
	VendorExtension  []*NamedAny      `protobuf:"bytes,23,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"`
}

func NewFormDataParameterSubSchema

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

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

func (*FormDataParameterSubSchema) Descriptor

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

func (*FormDataParameterSubSchema) GetAllowEmptyValue

func (m *FormDataParameterSubSchema) GetAllowEmptyValue() bool

func (*FormDataParameterSubSchema) GetCollectionFormat

func (m *FormDataParameterSubSchema) GetCollectionFormat() string

func (*FormDataParameterSubSchema) GetDefault

func (m *FormDataParameterSubSchema) GetDefault() *Any

func (*FormDataParameterSubSchema) GetDescription

func (m *FormDataParameterSubSchema) GetDescription() string

func (*FormDataParameterSubSchema) GetEnum

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

func (*FormDataParameterSubSchema) GetExclusiveMaximum

func (m *FormDataParameterSubSchema) GetExclusiveMaximum() bool

func (*FormDataParameterSubSchema) GetExclusiveMinimum

func (m *FormDataParameterSubSchema) GetExclusiveMinimum() bool

func (*FormDataParameterSubSchema) GetFormat

func (m *FormDataParameterSubSchema) GetFormat() string

func (*FormDataParameterSubSchema) GetIn

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

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

func NewHeader

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

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.

type HeaderParameterSubSchema

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

func NewHeaderParameterSubSchema

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

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

func (*HeaderParameterSubSchema) Descriptor

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

func (*HeaderParameterSubSchema) GetCollectionFormat

func (m *HeaderParameterSubSchema) GetCollectionFormat() string

func (*HeaderParameterSubSchema) GetDefault

func (m *HeaderParameterSubSchema) GetDefault() *Any

func (*HeaderParameterSubSchema) GetDescription

func (m *HeaderParameterSubSchema) GetDescription() string

func (*HeaderParameterSubSchema) GetEnum

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

func (*HeaderParameterSubSchema) GetExclusiveMaximum

func (m *HeaderParameterSubSchema) GetExclusiveMaximum() bool

func (*HeaderParameterSubSchema) GetExclusiveMinimum

func (m *HeaderParameterSubSchema) GetExclusiveMinimum() bool

func (*HeaderParameterSubSchema) GetFormat

func (m *HeaderParameterSubSchema) GetFormat() string

func (*HeaderParameterSubSchema) GetIn

func (m *HeaderParameterSubSchema) GetIn() string

func (*HeaderParameterSubSchema) GetItems

func (*HeaderParameterSubSchema) GetMaxItems

func (m *HeaderParameterSubSchema) GetMaxItems() int64

func (*HeaderParameterSubSchema) GetMaxLength

func (m *HeaderParameterSubSchema) GetMaxLength() int64

func (*HeaderParameterSubSchema) GetMaximum

func (m *HeaderParameterSubSchema) GetMaximum() float64

func (*HeaderParameterSubSchema) GetMinItems

func (m *HeaderParameterSubSchema) GetMinItems() int64

func (*HeaderParameterSubSchema) GetMinLength

func (m *HeaderParameterSubSchema) GetMinLength() int64

func (*HeaderParameterSubSchema) GetMinimum

func (m *HeaderParameterSubSchema) GetMinimum() float64

func (*HeaderParameterSubSchema) GetMultipleOf

func (m *HeaderParameterSubSchema) GetMultipleOf() float64

func (*HeaderParameterSubSchema) GetName

func (m *HeaderParameterSubSchema) GetName() string

func (*HeaderParameterSubSchema) GetPattern

func (m *HeaderParameterSubSchema) GetPattern() string

func (*HeaderParameterSubSchema) GetRequired

func (m *HeaderParameterSubSchema) GetRequired() bool

func (*HeaderParameterSubSchema) GetType

func (m *HeaderParameterSubSchema) GetType() string

func (*HeaderParameterSubSchema) GetUniqueItems

func (m *HeaderParameterSubSchema) GetUniqueItems() bool

func (*HeaderParameterSubSchema) GetVendorExtension

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

func (*HeaderParameterSubSchema) ProtoMessage

func (*HeaderParameterSubSchema) ProtoMessage()

func (*HeaderParameterSubSchema) Reset

func (m *HeaderParameterSubSchema) Reset()

func (*HeaderParameterSubSchema) ResolveReferences

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

ResolveReferences resolves references found inside HeaderParameterSubSchema objects.

func (*HeaderParameterSubSchema) String

func (m *HeaderParameterSubSchema) String() string

func (*HeaderParameterSubSchema) ToRawInfo

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

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

type Headers

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

func NewHeaders

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.

type Info

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

General information about the API.

func NewInfo

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

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.

type ItemsItem

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

func NewItemsItem

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

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.

type JsonReference

type JsonReference struct {
	XRef        string `protobuf:"bytes,1,opt,name=_ref,json=Ref" json:"_ref,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
}

func NewJsonReference

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

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

func (*JsonReference) Descriptor

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

func (*JsonReference) GetDescription

func (m *JsonReference) GetDescription() string

func (*JsonReference) GetXRef

func (m *JsonReference) GetXRef() string

func (*JsonReference) ProtoMessage

func (*JsonReference) ProtoMessage()

func (*JsonReference) Reset

func (m *JsonReference) Reset()

func (*JsonReference) ResolveReferences

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

ResolveReferences resolves references found inside JsonReference objects.

func (*JsonReference) String

func (m *JsonReference) String() string

func (*JsonReference) ToRawInfo

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

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

type License

type License struct {
	// The name of the license type. It's encouraged to use an OSI compatible license.
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// The URL pointing to the license.
	Url             string      `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
	VendorExtension []*NamedAny `protobuf:"bytes,3,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"`
}

func NewLicense

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.

type NamedAny

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

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

func NewNamedAny

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

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.

type NamedHeader

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

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

func NewNamedHeader

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

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

func (*NamedHeader) Descriptor

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

func (*NamedHeader) GetName

func (m *NamedHeader) GetName() string

func (*NamedHeader) GetValue

func (m *NamedHeader) GetValue() *Header

func (*NamedHeader) ProtoMessage

func (*NamedHeader) ProtoMessage()

func (*NamedHeader) Reset

func (m *NamedHeader) Reset()

func (*NamedHeader) ResolveReferences

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

ResolveReferences resolves references found inside NamedHeader objects.

func (*NamedHeader) String

func (m *NamedHeader) String() string

func (*NamedHeader) ToRawInfo

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

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

type NamedParameter

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

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

func NewNamedParameter

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

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

func (*NamedParameter) Descriptor

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

func (*NamedParameter) GetName

func (m *NamedParameter) GetName() string

func (*NamedParameter) GetValue

func (m *NamedParameter) GetValue() *Parameter

func (*NamedParameter) ProtoMessage

func (*NamedParameter) ProtoMessage()

func (*NamedParameter) Reset

func (m *NamedParameter) Reset()

func (*NamedParameter) ResolveReferences

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

ResolveReferences resolves references found inside NamedParameter objects.

func (*NamedParameter) String

func (m *NamedParameter) String() string

func (*NamedParameter) ToRawInfo

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

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

type NamedPathItem

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

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

func NewNamedPathItem

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

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

func (*NamedPathItem) Descriptor

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

func (*NamedPathItem) GetName

func (m *NamedPathItem) GetName() string

func (*NamedPathItem) GetValue

func (m *NamedPathItem) GetValue() *PathItem

func (*NamedPathItem) ProtoMessage

func (*NamedPathItem) ProtoMessage()

func (*NamedPathItem) Reset

func (m *NamedPathItem) Reset()

func (*NamedPathItem) ResolveReferences

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

ResolveReferences resolves references found inside NamedPathItem objects.

func (*NamedPathItem) String

func (m *NamedPathItem) String() string

func (*NamedPathItem) ToRawInfo

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

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

type NamedResponse

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

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

func NewNamedResponse

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

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

func (*NamedResponse) Descriptor

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

func (*NamedResponse) GetName

func (m *NamedResponse) GetName() string

func (*NamedResponse) GetValue

func (m *NamedResponse) GetValue() *Response

func (*NamedResponse) ProtoMessage

func (*NamedResponse) ProtoMessage()

func (*NamedResponse) Reset

func (m *NamedResponse) Reset()

func (*NamedResponse) ResolveReferences

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

ResolveReferences resolves references found inside NamedResponse objects.

func (*NamedResponse) String

func (m *NamedResponse) String() string

func (*NamedResponse) ToRawInfo

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

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

type NamedResponseValue

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

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

func NewNamedResponseValue

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

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

func (*NamedResponseValue) Descriptor

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

func (*NamedResponseValue) GetName

func (m *NamedResponseValue) GetName() string

func (*NamedResponseValue) GetValue

func (m *NamedResponseValue) GetValue() *ResponseValue

func (*NamedResponseValue) ProtoMessage

func (*NamedResponseValue) ProtoMessage()

func (*NamedResponseValue) Reset

func (m *NamedResponseValue) Reset()

func (*NamedResponseValue) ResolveReferences

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

ResolveReferences resolves references found inside NamedResponseValue objects.

func (*NamedResponseValue) String

func (m *NamedResponseValue) String() string

func (*NamedResponseValue) ToRawInfo

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

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

type NamedSchema

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

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

func NewNamedSchema

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

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

func (*NamedSchema) Descriptor

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

func (*NamedSchema) GetName

func (m *NamedSchema) GetName() string

func (*NamedSchema) GetValue

func (m *NamedSchema) GetValue() *Schema

func (*NamedSchema) ProtoMessage

func (*NamedSchema) ProtoMessage()

func (*NamedSchema) Reset

func (m *NamedSchema) Reset()

func (*NamedSchema) ResolveReferences

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

ResolveReferences resolves references found inside NamedSchema objects.

func (*NamedSchema) String

func (m *NamedSchema) String() string

func (*NamedSchema) ToRawInfo

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

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

type NamedSecurityDefinitionsItem

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

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

func NewNamedSecurityDefinitionsItem

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

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

func (*NamedSecurityDefinitionsItem) Descriptor

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

func (*NamedSecurityDefinitionsItem) GetName

func (m *NamedSecurityDefinitionsItem) GetName() string

func (*NamedSecurityDefinitionsItem) GetValue

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

type NamedString

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

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

func NewNamedString

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

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

func (*NamedString) Descriptor

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

func (*NamedString) GetName

func (m *NamedString) GetName() string

func (*NamedString) GetValue

func (m *NamedString) GetValue() string

func (*NamedString) ProtoMessage

func (*NamedString) ProtoMessage()

func (*NamedString) Reset

func (m *NamedString) Reset()

func (*NamedString) ResolveReferences

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

ResolveReferences resolves references found inside NamedString objects.

func (*NamedString) String

func (m *NamedString) String() string

func (*NamedString) ToRawInfo

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

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

type NamedStringArray

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

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

func NewNamedStringArray

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

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

func (*NamedStringArray) Descriptor

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

func (*NamedStringArray) GetName

func (m *NamedStringArray) GetName() string

func (*NamedStringArray) GetValue

func (m *NamedStringArray) GetValue() *StringArray

func (*NamedStringArray) ProtoMessage

func (*NamedStringArray) ProtoMessage()

func (*NamedStringArray) Reset

func (m *NamedStringArray) Reset()

func (*NamedStringArray) ResolveReferences

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

ResolveReferences resolves references found inside NamedStringArray objects.

func (*NamedStringArray) String

func (m *NamedStringArray) String() string

func (*NamedStringArray) ToRawInfo

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

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

type NonBodyParameter

type NonBodyParameter struct {
	// Types that are valid to be assigned to Oneof:
	//	*NonBodyParameter_HeaderParameterSubSchema
	//	*NonBodyParameter_FormDataParameterSubSchema
	//	*NonBodyParameter_QueryParameterSubSchema
	//	*NonBodyParameter_PathParameterSubSchema
	Oneof isNonBodyParameter_Oneof `protobuf_oneof:"oneof"`
}

func NewNonBodyParameter

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

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

func (*NonBodyParameter) Descriptor

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

func (*NonBodyParameter) GetFormDataParameterSubSchema

func (m *NonBodyParameter) GetFormDataParameterSubSchema() *FormDataParameterSubSchema

func (*NonBodyParameter) GetHeaderParameterSubSchema

func (m *NonBodyParameter) GetHeaderParameterSubSchema() *HeaderParameterSubSchema

func (*NonBodyParameter) GetOneof

func (m *NonBodyParameter) GetOneof() isNonBodyParameter_Oneof

func (*NonBodyParameter) GetPathParameterSubSchema

func (m *NonBodyParameter) GetPathParameterSubSchema() *PathParameterSubSchema

func (*NonBodyParameter) GetQueryParameterSubSchema

func (m *NonBodyParameter) GetQueryParameterSubSchema() *QueryParameterSubSchema

func (*NonBodyParameter) ProtoMessage

func (*NonBodyParameter) ProtoMessage()

func (*NonBodyParameter) Reset

func (m *NonBodyParameter) Reset()

func (*NonBodyParameter) ResolveReferences

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

ResolveReferences resolves references found inside NonBodyParameter objects.

func (*NonBodyParameter) String

func (m *NonBodyParameter) String() string

func (*NonBodyParameter) ToRawInfo

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

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

func (*NonBodyParameter) XXX_OneofFuncs

func (*NonBodyParameter) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type NonBodyParameter_FormDataParameterSubSchema

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

type NonBodyParameter_HeaderParameterSubSchema

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

type NonBodyParameter_PathParameterSubSchema

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

type NonBodyParameter_QueryParameterSubSchema

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

type Oauth2AccessCodeSecurity

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

func NewOauth2AccessCodeSecurity

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

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

func (*Oauth2AccessCodeSecurity) Descriptor

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

func (*Oauth2AccessCodeSecurity) GetAuthorizationUrl

func (m *Oauth2AccessCodeSecurity) GetAuthorizationUrl() string

func (*Oauth2AccessCodeSecurity) GetDescription

func (m *Oauth2AccessCodeSecurity) GetDescription() string

func (*Oauth2AccessCodeSecurity) GetFlow

func (m *Oauth2AccessCodeSecurity) GetFlow() string

func (*Oauth2AccessCodeSecurity) GetScopes

func (m *Oauth2AccessCodeSecurity) GetScopes() *Oauth2Scopes

func (*Oauth2AccessCodeSecurity) GetTokenUrl

func (m *Oauth2AccessCodeSecurity) GetTokenUrl() string

func (*Oauth2AccessCodeSecurity) GetType

func (m *Oauth2AccessCodeSecurity) GetType() string

func (*Oauth2AccessCodeSecurity) GetVendorExtension

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

func (*Oauth2AccessCodeSecurity) ProtoMessage

func (*Oauth2AccessCodeSecurity) ProtoMessage()

func (*Oauth2AccessCodeSecurity) Reset

func (m *Oauth2AccessCodeSecurity) Reset()

func (*Oauth2AccessCodeSecurity) ResolveReferences

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

ResolveReferences resolves references found inside Oauth2AccessCodeSecurity objects.

func (*Oauth2AccessCodeSecurity) String

func (m *Oauth2AccessCodeSecurity) String() string

func (*Oauth2AccessCodeSecurity) ToRawInfo

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

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

type Oauth2ApplicationSecurity

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

func NewOauth2ApplicationSecurity

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

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

func (*Oauth2ApplicationSecurity) Descriptor

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

func (*Oauth2ApplicationSecurity) GetDescription

func (m *Oauth2ApplicationSecurity) GetDescription() string

func (*Oauth2ApplicationSecurity) GetFlow

func (m *Oauth2ApplicationSecurity) GetFlow() string

func (*Oauth2ApplicationSecurity) GetScopes

func (m *Oauth2ApplicationSecurity) GetScopes() *Oauth2Scopes

func (*Oauth2ApplicationSecurity) GetTokenUrl

func (m *Oauth2ApplicationSecurity) GetTokenUrl() string

func (*Oauth2ApplicationSecurity) GetType

func (m *Oauth2ApplicationSecurity) GetType() string

func (*Oauth2ApplicationSecurity) GetVendorExtension

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

func (*Oauth2ApplicationSecurity) ProtoMessage

func (*Oauth2ApplicationSecurity) ProtoMessage()

func (*Oauth2ApplicationSecurity) Reset

func (m *Oauth2ApplicationSecurity) Reset()

func (*Oauth2ApplicationSecurity) ResolveReferences

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

ResolveReferences resolves references found inside Oauth2ApplicationSecurity objects.

func (*Oauth2ApplicationSecurity) String

func (m *Oauth2ApplicationSecurity) String() string

func (*Oauth2ApplicationSecurity) ToRawInfo

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

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

type Oauth2ImplicitSecurity

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

func NewOauth2ImplicitSecurity

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

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

func (*Oauth2ImplicitSecurity) Descriptor

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

func (*Oauth2ImplicitSecurity) GetAuthorizationUrl

func (m *Oauth2ImplicitSecurity) GetAuthorizationUrl() string

func (*Oauth2ImplicitSecurity) GetDescription

func (m *Oauth2ImplicitSecurity) GetDescription() string

func (*Oauth2ImplicitSecurity) GetFlow

func (m *Oauth2ImplicitSecurity) GetFlow() string

func (*Oauth2ImplicitSecurity) GetScopes

func (m *Oauth2ImplicitSecurity) GetScopes() *Oauth2Scopes

func (*Oauth2ImplicitSecurity) GetType

func (m *Oauth2ImplicitSecurity) GetType() string

func (*Oauth2ImplicitSecurity) GetVendorExtension

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

func (*Oauth2ImplicitSecurity) ProtoMessage

func (*Oauth2ImplicitSecurity) ProtoMessage()

func (*Oauth2ImplicitSecurity) Reset

func (m *Oauth2ImplicitSecurity) Reset()

func (*Oauth2ImplicitSecurity) ResolveReferences

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

ResolveReferences resolves references found inside Oauth2ImplicitSecurity objects.

func (*Oauth2ImplicitSecurity) String

func (m *Oauth2ImplicitSecurity) String() string

func (*Oauth2ImplicitSecurity) ToRawInfo

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

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

type Oauth2PasswordSecurity

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

func NewOauth2PasswordSecurity

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

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

func (*Oauth2PasswordSecurity) Descriptor

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

func (*Oauth2PasswordSecurity) GetDescription

func (m *Oauth2PasswordSecurity) GetDescription() string

func (*Oauth2PasswordSecurity) GetFlow

func (m *Oauth2PasswordSecurity) GetFlow() string

func (*Oauth2PasswordSecurity) GetScopes

func (m *Oauth2PasswordSecurity) GetScopes() *Oauth2Scopes

func (*Oauth2PasswordSecurity) GetTokenUrl

func (m *Oauth2PasswordSecurity) GetTokenUrl() string

func (*Oauth2PasswordSecurity) GetType

func (m *Oauth2PasswordSecurity) GetType() string

func (*Oauth2PasswordSecurity) GetVendorExtension

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

func (*Oauth2PasswordSecurity) ProtoMessage

func (*Oauth2PasswordSecurity) ProtoMessage()

func (*Oauth2PasswordSecurity) Reset

func (m *Oauth2PasswordSecurity) Reset()

func (*Oauth2PasswordSecurity) ResolveReferences

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

ResolveReferences resolves references found inside Oauth2PasswordSecurity objects.

func (*Oauth2PasswordSecurity) String

func (m *Oauth2PasswordSecurity) String() string

func (*Oauth2PasswordSecurity) ToRawInfo

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

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

type Oauth2Scopes

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

func NewOauth2Scopes

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

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

func (*Oauth2Scopes) Descriptor

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

func (*Oauth2Scopes) GetAdditionalProperties

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

func (*Oauth2Scopes) ProtoMessage

func (*Oauth2Scopes) ProtoMessage()

func (*Oauth2Scopes) Reset

func (m *Oauth2Scopes) Reset()

func (*Oauth2Scopes) ResolveReferences

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

ResolveReferences resolves references found inside Oauth2Scopes objects.

func (*Oauth2Scopes) String

func (m *Oauth2Scopes) String() string

func (*Oauth2Scopes) ToRawInfo

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

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

type Operation

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

func NewOperation

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.

type Parameter

type Parameter struct {
	// Types that are valid to be assigned to Oneof:
	//	*Parameter_BodyParameter
	//	*Parameter_NonBodyParameter
	Oneof isParameter_Oneof `protobuf_oneof:"oneof"`
}

func NewParameter

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

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_OneofFuncs

func (*Parameter) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type ParameterDefinitions

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

One or more JSON representations for parameters

func NewParameterDefinitions

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

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

func (*ParameterDefinitions) Descriptor

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

func (*ParameterDefinitions) GetAdditionalProperties

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

func (*ParameterDefinitions) ProtoMessage

func (*ParameterDefinitions) ProtoMessage()

func (*ParameterDefinitions) Reset

func (m *ParameterDefinitions) Reset()

func (*ParameterDefinitions) ResolveReferences

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

ResolveReferences resolves references found inside ParameterDefinitions objects.

func (*ParameterDefinitions) String

func (m *ParameterDefinitions) String() string

func (*ParameterDefinitions) ToRawInfo

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

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

type Parameter_BodyParameter

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

type Parameter_NonBodyParameter

type Parameter_NonBodyParameter struct {
	NonBodyParameter *NonBodyParameter `protobuf:"bytes,2,opt,name=non_body_parameter,json=nonBodyParameter,oneof"`
}

type ParametersItem

type ParametersItem struct {
	// Types that are valid to be assigned to Oneof:
	//	*ParametersItem_Parameter
	//	*ParametersItem_JsonReference
	Oneof isParametersItem_Oneof `protobuf_oneof:"oneof"`
}

func NewParametersItem

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

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

func (*ParametersItem) Descriptor

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

func (*ParametersItem) GetJsonReference

func (m *ParametersItem) GetJsonReference() *JsonReference

func (*ParametersItem) GetOneof

func (m *ParametersItem) GetOneof() isParametersItem_Oneof

func (*ParametersItem) GetParameter

func (m *ParametersItem) GetParameter() *Parameter

func (*ParametersItem) ProtoMessage

func (*ParametersItem) ProtoMessage()

func (*ParametersItem) Reset

func (m *ParametersItem) Reset()

func (*ParametersItem) ResolveReferences

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

ResolveReferences resolves references found inside ParametersItem objects.

func (*ParametersItem) String

func (m *ParametersItem) String() string

func (*ParametersItem) ToRawInfo

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

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

func (*ParametersItem) XXX_OneofFuncs

func (*ParametersItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type ParametersItem_JsonReference

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

type ParametersItem_Parameter

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

type PathItem

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

func NewPathItem

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.

type PathParameterSubSchema

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

func NewPathParameterSubSchema

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

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

func (*PathParameterSubSchema) Descriptor

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

func (*PathParameterSubSchema) GetCollectionFormat

func (m *PathParameterSubSchema) GetCollectionFormat() string

func (*PathParameterSubSchema) GetDefault

func (m *PathParameterSubSchema) GetDefault() *Any

func (*PathParameterSubSchema) GetDescription

func (m *PathParameterSubSchema) GetDescription() string

func (*PathParameterSubSchema) GetEnum

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

func (*PathParameterSubSchema) GetExclusiveMaximum

func (m *PathParameterSubSchema) GetExclusiveMaximum() bool

func (*PathParameterSubSchema) GetExclusiveMinimum

func (m *PathParameterSubSchema) GetExclusiveMinimum() bool

func (*PathParameterSubSchema) GetFormat

func (m *PathParameterSubSchema) GetFormat() string

func (*PathParameterSubSchema) GetIn

func (m *PathParameterSubSchema) GetIn() string

func (*PathParameterSubSchema) GetItems

func (m *PathParameterSubSchema) GetItems() *PrimitivesItems

func (*PathParameterSubSchema) GetMaxItems

func (m *PathParameterSubSchema) GetMaxItems() int64

func (*PathParameterSubSchema) GetMaxLength

func (m *PathParameterSubSchema) GetMaxLength() int64

func (*PathParameterSubSchema) GetMaximum

func (m *PathParameterSubSchema) GetMaximum() float64

func (*PathParameterSubSchema) GetMinItems

func (m *PathParameterSubSchema) GetMinItems() int64

func (*PathParameterSubSchema) GetMinLength

func (m *PathParameterSubSchema) GetMinLength() int64

func (*PathParameterSubSchema) GetMinimum

func (m *PathParameterSubSchema) GetMinimum() float64

func (*PathParameterSubSchema) GetMultipleOf

func (m *PathParameterSubSchema) GetMultipleOf() float64

func (*PathParameterSubSchema) GetName

func (m *PathParameterSubSchema) GetName() string

func (*PathParameterSubSchema) GetPattern

func (m *PathParameterSubSchema) GetPattern() string

func (*PathParameterSubSchema) GetRequired

func (m *PathParameterSubSchema) GetRequired() bool

func (*PathParameterSubSchema) GetType

func (m *PathParameterSubSchema) GetType() string

func (*PathParameterSubSchema) GetUniqueItems

func (m *PathParameterSubSchema) GetUniqueItems() bool

func (*PathParameterSubSchema) GetVendorExtension

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

func (*PathParameterSubSchema) ProtoMessage

func (*PathParameterSubSchema) ProtoMessage()

func (*PathParameterSubSchema) Reset

func (m *PathParameterSubSchema) Reset()

func (*PathParameterSubSchema) ResolveReferences

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

ResolveReferences resolves references found inside PathParameterSubSchema objects.

func (*PathParameterSubSchema) String

func (m *PathParameterSubSchema) String() string

func (*PathParameterSubSchema) ToRawInfo

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

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

type Paths

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

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

func NewPaths

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.

type PrimitivesItems

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

func NewPrimitivesItems

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

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

func (*PrimitivesItems) Descriptor

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

func (*PrimitivesItems) GetCollectionFormat

func (m *PrimitivesItems) GetCollectionFormat() string

func (*PrimitivesItems) GetDefault

func (m *PrimitivesItems) GetDefault() *Any

func (*PrimitivesItems) GetEnum

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

func (*PrimitivesItems) GetExclusiveMaximum

func (m *PrimitivesItems) GetExclusiveMaximum() bool

func (*PrimitivesItems) GetExclusiveMinimum

func (m *PrimitivesItems) GetExclusiveMinimum() bool

func (*PrimitivesItems) GetFormat

func (m *PrimitivesItems) GetFormat() string

func (*PrimitivesItems) GetItems

func (m *PrimitivesItems) GetItems() *PrimitivesItems

func (*PrimitivesItems) GetMaxItems

func (m *PrimitivesItems) GetMaxItems() int64

func (*PrimitivesItems) GetMaxLength

func (m *PrimitivesItems) GetMaxLength() int64

func (*PrimitivesItems) GetMaximum

func (m *PrimitivesItems) GetMaximum() float64

func (*PrimitivesItems) GetMinItems

func (m *PrimitivesItems) GetMinItems() int64

func (*PrimitivesItems) GetMinLength

func (m *PrimitivesItems) GetMinLength() int64

func (*PrimitivesItems) GetMinimum

func (m *PrimitivesItems) GetMinimum() float64

func (*PrimitivesItems) GetMultipleOf

func (m *PrimitivesItems) GetMultipleOf() float64

func (*PrimitivesItems) GetPattern

func (m *PrimitivesItems) GetPattern() string

func (*PrimitivesItems) GetType

func (m *PrimitivesItems) GetType() string

func (*PrimitivesItems) GetUniqueItems

func (m *PrimitivesItems) GetUniqueItems() bool

func (*PrimitivesItems) GetVendorExtension

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

func (*PrimitivesItems) ProtoMessage

func (*PrimitivesItems) ProtoMessage()

func (*PrimitivesItems) Reset

func (m *PrimitivesItems) Reset()

func (*PrimitivesItems) ResolveReferences

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

ResolveReferences resolves references found inside PrimitivesItems objects.

func (*PrimitivesItems) String

func (m *PrimitivesItems) String() string

func (*PrimitivesItems) ToRawInfo

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

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

type Properties

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

func NewProperties

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

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

func (*Properties) Descriptor

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

func (*Properties) GetAdditionalProperties

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

func (*Properties) ProtoMessage

func (*Properties) ProtoMessage()

func (*Properties) Reset

func (m *Properties) Reset()

func (*Properties) ResolveReferences

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

ResolveReferences resolves references found inside Properties objects.

func (*Properties) String

func (m *Properties) String() string

func (*Properties) ToRawInfo

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

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

type QueryParameterSubSchema

type QueryParameterSubSchema struct {
	// Determines whether or not this parameter is required or optional.
	Required bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"`
	// Determines the location of the parameter.
	In string `protobuf:"bytes,2,opt,name=in" json:"in,omitempty"`
	// A brief description of the parameter. This could contain examples of use.  GitHub Flavored Markdown is allowed.
	Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
	// The name of the parameter.
	Name string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
	// allows sending a parameter by name only or with an empty value.
	AllowEmptyValue  bool             `protobuf:"varint,5,opt,name=allow_empty_value,json=allowEmptyValue" json:"allow_empty_value,omitempty"`
	Type             string           `protobuf:"bytes,6,opt,name=type" json:"type,omitempty"`
	Format           string           `protobuf:"bytes,7,opt,name=format" json:"format,omitempty"`
	Items            *PrimitivesItems `protobuf:"bytes,8,opt,name=items" json:"items,omitempty"`
	CollectionFormat string           `protobuf:"bytes,9,opt,name=collection_format,json=collectionFormat" json:"collection_format,omitempty"`
	Default          *Any             `protobuf:"bytes,10,opt,name=default" json:"default,omitempty"`
	Maximum          float64          `protobuf:"fixed64,11,opt,name=maximum" json:"maximum,omitempty"`
	ExclusiveMaximum bool             `protobuf:"varint,12,opt,name=exclusive_maximum,json=exclusiveMaximum" json:"exclusive_maximum,omitempty"`
	Minimum          float64          `protobuf:"fixed64,13,opt,name=minimum" json:"minimum,omitempty"`
	ExclusiveMinimum bool             `protobuf:"varint,14,opt,name=exclusive_minimum,json=exclusiveMinimum" json:"exclusive_minimum,omitempty"`
	MaxLength        int64            `protobuf:"varint,15,opt,name=max_length,json=maxLength" json:"max_length,omitempty"`
	MinLength        int64            `protobuf:"varint,16,opt,name=min_length,json=minLength" json:"min_length,omitempty"`
	Pattern          string           `protobuf:"bytes,17,opt,name=pattern" json:"pattern,omitempty"`
	MaxItems         int64            `protobuf:"varint,18,opt,name=max_items,json=maxItems" json:"max_items,omitempty"`
	MinItems         int64            `protobuf:"varint,19,opt,name=min_items,json=minItems" json:"min_items,omitempty"`
	UniqueItems      bool             `protobuf:"varint,20,opt,name=unique_items,json=uniqueItems" json:"unique_items,omitempty"`
	Enum             []*Any           `protobuf:"bytes,21,rep,name=enum" json:"enum,omitempty"`
	MultipleOf       float64          `protobuf:"fixed64,22,opt,name=multiple_of,json=multipleOf" json:"multiple_of,omitempty"`
	VendorExtension  []*NamedAny      `protobuf:"bytes,23,rep,name=vendor_extension,json=vendorExtension" json:"vendor_extension,omitempty"`
}

func NewQueryParameterSubSchema

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

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

func (*QueryParameterSubSchema) Descriptor

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

func (*QueryParameterSubSchema) GetAllowEmptyValue

func (m *QueryParameterSubSchema) GetAllowEmptyValue() bool

func (*QueryParameterSubSchema) GetCollectionFormat

func (m *QueryParameterSubSchema) GetCollectionFormat() string

func (*QueryParameterSubSchema) GetDefault

func (m *QueryParameterSubSchema) GetDefault() *Any

func (*QueryParameterSubSchema) GetDescription

func (m *QueryParameterSubSchema) GetDescription() string

func (*QueryParameterSubSchema) GetEnum

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

func (*QueryParameterSubSchema) GetExclusiveMaximum

func (m *QueryParameterSubSchema) GetExclusiveMaximum() bool

func (*QueryParameterSubSchema) GetExclusiveMinimum

func (m *QueryParameterSubSchema) GetExclusiveMinimum() bool

func (*QueryParameterSubSchema) GetFormat

func (m *QueryParameterSubSchema) GetFormat() string

func (*QueryParameterSubSchema) GetIn

func (m *QueryParameterSubSchema) GetIn() string

func (*QueryParameterSubSchema) GetItems

func (*QueryParameterSubSchema) GetMaxItems

func (m *QueryParameterSubSchema) GetMaxItems() int64

func (*QueryParameterSubSchema) GetMaxLength

func (m *QueryParameterSubSchema) GetMaxLength() int64

func (*QueryParameterSubSchema) GetMaximum

func (m *QueryParameterSubSchema) GetMaximum() float64

func (*QueryParameterSubSchema) GetMinItems

func (m *QueryParameterSubSchema) GetMinItems() int64

func (*QueryParameterSubSchema) GetMinLength

func (m *QueryParameterSubSchema) GetMinLength() int64

func (*QueryParameterSubSchema) GetMinimum

func (m *QueryParameterSubSchema) GetMinimum() float64

func (*QueryParameterSubSchema) GetMultipleOf

func (m *QueryParameterSubSchema) GetMultipleOf() float64

func (*QueryParameterSubSchema) GetName

func (m *QueryParameterSubSchema) GetName() string

func (*QueryParameterSubSchema) GetPattern

func (m *QueryParameterSubSchema) GetPattern() string

func (*QueryParameterSubSchema) GetRequired

func (m *QueryParameterSubSchema) GetRequired() bool

func (*QueryParameterSubSchema) GetType

func (m *QueryParameterSubSchema) GetType() string

func (*QueryParameterSubSchema) GetUniqueItems

func (m *QueryParameterSubSchema) GetUniqueItems() bool

func (*QueryParameterSubSchema) GetVendorExtension

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

func (*QueryParameterSubSchema) ProtoMessage

func (*QueryParameterSubSchema) ProtoMessage()

func (*QueryParameterSubSchema) Reset

func (m *QueryParameterSubSchema) Reset()

func (*QueryParameterSubSchema) ResolveReferences

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

ResolveReferences resolves references found inside QueryParameterSubSchema objects.

func (*QueryParameterSubSchema) String

func (m *QueryParameterSubSchema) String() string

func (*QueryParameterSubSchema) ToRawInfo

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

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

type Response

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

func NewResponse

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.

type ResponseDefinitions

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

One or more JSON representations for parameters

func NewResponseDefinitions

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

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

func (*ResponseDefinitions) Descriptor

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

func (*ResponseDefinitions) GetAdditionalProperties

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

func (*ResponseDefinitions) ProtoMessage

func (*ResponseDefinitions) ProtoMessage()

func (*ResponseDefinitions) Reset

func (m *ResponseDefinitions) Reset()

func (*ResponseDefinitions) ResolveReferences

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

ResolveReferences resolves references found inside ResponseDefinitions objects.

func (*ResponseDefinitions) String

func (m *ResponseDefinitions) String() string

func (*ResponseDefinitions) ToRawInfo

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

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

type ResponseValue

type ResponseValue struct {
	// Types that are valid to be assigned to Oneof:
	//	*ResponseValue_Response
	//	*ResponseValue_JsonReference
	Oneof isResponseValue_Oneof `protobuf_oneof:"oneof"`
}

func NewResponseValue

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

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

func (*ResponseValue) Descriptor

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

func (*ResponseValue) GetJsonReference

func (m *ResponseValue) GetJsonReference() *JsonReference

func (*ResponseValue) GetOneof

func (m *ResponseValue) GetOneof() isResponseValue_Oneof

func (*ResponseValue) GetResponse

func (m *ResponseValue) GetResponse() *Response

func (*ResponseValue) ProtoMessage

func (*ResponseValue) ProtoMessage()

func (*ResponseValue) Reset

func (m *ResponseValue) Reset()

func (*ResponseValue) ResolveReferences

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

ResolveReferences resolves references found inside ResponseValue objects.

func (*ResponseValue) String

func (m *ResponseValue) String() string

func (*ResponseValue) ToRawInfo

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

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

func (*ResponseValue) XXX_OneofFuncs

func (*ResponseValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type ResponseValue_JsonReference

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

type ResponseValue_Response

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

type Responses

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

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

func NewResponses

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.

type Schema

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

A deterministic version of a JSON Schema object.

func NewSchema

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

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.

type SchemaItem

type SchemaItem struct {
	// Types that are valid to be assigned to Oneof:
	//	*SchemaItem_Schema
	//	*SchemaItem_FileSchema
	Oneof isSchemaItem_Oneof `protobuf_oneof:"oneof"`
}

func NewSchemaItem

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

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

func (*SchemaItem) Descriptor

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

func (*SchemaItem) GetFileSchema

func (m *SchemaItem) GetFileSchema() *FileSchema

func (*SchemaItem) GetOneof

func (m *SchemaItem) GetOneof() isSchemaItem_Oneof

func (*SchemaItem) GetSchema

func (m *SchemaItem) GetSchema() *Schema

func (*SchemaItem) ProtoMessage

func (*SchemaItem) ProtoMessage()

func (*SchemaItem) Reset

func (m *SchemaItem) Reset()

func (*SchemaItem) ResolveReferences

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

ResolveReferences resolves references found inside SchemaItem objects.

func (*SchemaItem) String

func (m *SchemaItem) String() string

func (*SchemaItem) ToRawInfo

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

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

func (*SchemaItem) XXX_OneofFuncs

func (*SchemaItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type SchemaItem_FileSchema

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

type SchemaItem_Schema

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

type SecurityDefinitions

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

func NewSecurityDefinitions

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

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

func (*SecurityDefinitions) Descriptor

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

func (*SecurityDefinitions) GetAdditionalProperties

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

func (*SecurityDefinitions) ProtoMessage

func (*SecurityDefinitions) ProtoMessage()

func (*SecurityDefinitions) Reset

func (m *SecurityDefinitions) Reset()

func (*SecurityDefinitions) ResolveReferences

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

ResolveReferences resolves references found inside SecurityDefinitions objects.

func (*SecurityDefinitions) String

func (m *SecurityDefinitions) String() string

func (*SecurityDefinitions) ToRawInfo

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

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

type SecurityDefinitionsItem

type SecurityDefinitionsItem struct {
	// Types that are valid to be assigned to Oneof:
	//	*SecurityDefinitionsItem_BasicAuthenticationSecurity
	//	*SecurityDefinitionsItem_ApiKeySecurity
	//	*SecurityDefinitionsItem_Oauth2ImplicitSecurity
	//	*SecurityDefinitionsItem_Oauth2PasswordSecurity
	//	*SecurityDefinitionsItem_Oauth2ApplicationSecurity
	//	*SecurityDefinitionsItem_Oauth2AccessCodeSecurity
	Oneof isSecurityDefinitionsItem_Oneof `protobuf_oneof:"oneof"`
}

func NewSecurityDefinitionsItem

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

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

func (*SecurityDefinitionsItem) Descriptor

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

func (*SecurityDefinitionsItem) GetApiKeySecurity

func (m *SecurityDefinitionsItem) GetApiKeySecurity() *ApiKeySecurity

func (*SecurityDefinitionsItem) GetBasicAuthenticationSecurity

func (m *SecurityDefinitionsItem) GetBasicAuthenticationSecurity() *BasicAuthenticationSecurity

func (*SecurityDefinitionsItem) GetOauth2AccessCodeSecurity

func (m *SecurityDefinitionsItem) GetOauth2AccessCodeSecurity() *Oauth2AccessCodeSecurity

func (*SecurityDefinitionsItem) GetOauth2ApplicationSecurity

func (m *SecurityDefinitionsItem) GetOauth2ApplicationSecurity() *Oauth2ApplicationSecurity

func (*SecurityDefinitionsItem) GetOauth2ImplicitSecurity

func (m *SecurityDefinitionsItem) GetOauth2ImplicitSecurity() *Oauth2ImplicitSecurity

func (*SecurityDefinitionsItem) GetOauth2PasswordSecurity

func (m *SecurityDefinitionsItem) GetOauth2PasswordSecurity() *Oauth2PasswordSecurity

func (*SecurityDefinitionsItem) GetOneof

func (m *SecurityDefinitionsItem) GetOneof() isSecurityDefinitionsItem_Oneof

func (*SecurityDefinitionsItem) ProtoMessage

func (*SecurityDefinitionsItem) ProtoMessage()

func (*SecurityDefinitionsItem) Reset

func (m *SecurityDefinitionsItem) Reset()

func (*SecurityDefinitionsItem) ResolveReferences

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

ResolveReferences resolves references found inside SecurityDefinitionsItem objects.

func (*SecurityDefinitionsItem) String

func (m *SecurityDefinitionsItem) String() string

func (*SecurityDefinitionsItem) ToRawInfo

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

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

func (*SecurityDefinitionsItem) XXX_OneofFuncs

func (*SecurityDefinitionsItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type SecurityDefinitionsItem_ApiKeySecurity

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

type SecurityDefinitionsItem_BasicAuthenticationSecurity

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

type SecurityDefinitionsItem_Oauth2AccessCodeSecurity

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

type SecurityDefinitionsItem_Oauth2ApplicationSecurity

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

type SecurityDefinitionsItem_Oauth2ImplicitSecurity

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

type SecurityDefinitionsItem_Oauth2PasswordSecurity

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

type SecurityRequirement

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

func NewSecurityRequirement

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

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

func (*SecurityRequirement) Descriptor

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

func (*SecurityRequirement) GetAdditionalProperties

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

func (*SecurityRequirement) ProtoMessage

func (*SecurityRequirement) ProtoMessage()

func (*SecurityRequirement) Reset

func (m *SecurityRequirement) Reset()

func (*SecurityRequirement) ResolveReferences

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

ResolveReferences resolves references found inside SecurityRequirement objects.

func (*SecurityRequirement) String

func (m *SecurityRequirement) String() string

func (*SecurityRequirement) ToRawInfo

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

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

type StringArray

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

func NewStringArray

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

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

func (*StringArray) Descriptor

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

func (*StringArray) GetValue

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

func (*StringArray) ProtoMessage

func (*StringArray) ProtoMessage()

func (*StringArray) Reset

func (m *StringArray) Reset()

func (*StringArray) ResolveReferences

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

ResolveReferences resolves references found inside StringArray objects.

func (*StringArray) String

func (m *StringArray) String() string

func (*StringArray) ToRawInfo

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

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

type Tag

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

func NewTag

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.

type TypeItem

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

func NewTypeItem

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

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.

type VendorExtension

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

Any property starting with x- is valid.

func NewVendorExtension

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

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

func (*VendorExtension) Descriptor

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

func (*VendorExtension) GetAdditionalProperties

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

func (*VendorExtension) ProtoMessage

func (*VendorExtension) ProtoMessage()

func (*VendorExtension) Reset

func (m *VendorExtension) Reset()

func (*VendorExtension) ResolveReferences

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

ResolveReferences resolves references found inside VendorExtension objects.

func (*VendorExtension) String

func (m *VendorExtension) String() string

func (*VendorExtension) ToRawInfo

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

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

type Xml

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

func NewXml

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.

Jump to

Keyboard shortcuts

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