openapi_v2

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

README

OpenAPI v2 Protocol Buffer Models

This directory contains a Protocol Buffer-language model and related code for supporting OpenAPI v2.

Gnostic applications and plugins can use OpenAPIv2.proto to generate Protocol Buffer support code for their preferred languages.

OpenAPIv2.go is used by Gnostic to read JSON and YAML OpenAPI descriptions into the Protocol Buffer-based datastructures generated from OpenAPIv2.proto.

OpenAPIv2.proto and OpenAPIv2.go are generated by the Gnostic compiler generator, and OpenAPIv2.pb.go is generated by protoc, the Protocol Buffer compiler, and protoc-gen-go, the Protocol Buffer Go code generation plugin.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_openapiv2_OpenAPIv2_proto protoreflect.FileDescriptor

Functions

func Version

func Version() string

Version returns the package name (and OpenAPI version).

Types

type AdditionalPropertiesItem

type AdditionalPropertiesItem struct {

	// Types that are assignable to Oneof:
	//	*AdditionalPropertiesItem_Schema
	//	*AdditionalPropertiesItem_Boolean
	Oneof isAdditionalPropertiesItem_Oneof `protobuf_oneof:"oneof"`
	// contains filtered or unexported fields
}

func NewAdditionalPropertiesItem

func NewAdditionalPropertiesItem(in *yaml.Node, context *compiler.Context) (*AdditionalPropertiesItem, error)

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

func (*AdditionalPropertiesItem) Descriptor deprecated

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

Deprecated: Use AdditionalPropertiesItem.ProtoReflect.Descriptor instead.

func (*AdditionalPropertiesItem) GetBoolean

func (x *AdditionalPropertiesItem) GetBoolean() bool

func (*AdditionalPropertiesItem) GetOneof

func (m *AdditionalPropertiesItem) GetOneof() isAdditionalPropertiesItem_Oneof

func (*AdditionalPropertiesItem) GetSchema

func (x *AdditionalPropertiesItem) GetSchema() *Schema

func (*AdditionalPropertiesItem) ProtoMessage

func (*AdditionalPropertiesItem) ProtoMessage()

func (*AdditionalPropertiesItem) ProtoReflect added in v0.4.2

func (x *AdditionalPropertiesItem) ProtoReflect() protoreflect.Message

func (*AdditionalPropertiesItem) Reset

func (x *AdditionalPropertiesItem) Reset()

func (*AdditionalPropertiesItem) ResolveReferences

func (m *AdditionalPropertiesItem) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside AdditionalPropertiesItem objects.

func (*AdditionalPropertiesItem) String

func (x *AdditionalPropertiesItem) String() string

func (*AdditionalPropertiesItem) ToRawInfo

func (m *AdditionalPropertiesItem) ToRawInfo() *yaml.Node

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

type AdditionalPropertiesItem_Boolean

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

type AdditionalPropertiesItem_Schema

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

type Any

type Any struct {
	Value *anypb.Any `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	Yaml  string     `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"`
	// contains filtered or unexported fields
}

func NewAny

func NewAny(in *yaml.Node, context *compiler.Context) (*Any, error)

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

func (*Any) Descriptor deprecated

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

Deprecated: Use Any.ProtoReflect.Descriptor instead.

func (*Any) GetValue

func (x *Any) GetValue() *anypb.Any

func (*Any) GetYaml

func (x *Any) GetYaml() string

func (*Any) ProtoMessage

func (*Any) ProtoMessage()

func (*Any) ProtoReflect added in v0.4.2

func (x *Any) ProtoReflect() protoreflect.Message

func (*Any) Reset

func (x *Any) Reset()

func (*Any) ResolveReferences

func (m *Any) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Any objects.

func (*Any) String

func (x *Any) String() string

func (*Any) ToRawInfo

func (m *Any) ToRawInfo() *yaml.Node

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,proto3" json:"type,omitempty"`
	Name            string      `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	In              string      `protobuf:"bytes,3,opt,name=in,proto3" json:"in,omitempty"`
	Description     string      `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	VendorExtension []*NamedAny `protobuf:"bytes,5,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	// contains filtered or unexported fields
}

func NewApiKeySecurity

func NewApiKeySecurity(in *yaml.Node, context *compiler.Context) (*ApiKeySecurity, error)

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

func (*ApiKeySecurity) Descriptor deprecated

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

Deprecated: Use ApiKeySecurity.ProtoReflect.Descriptor instead.

func (*ApiKeySecurity) GetDescription

func (x *ApiKeySecurity) GetDescription() string

func (*ApiKeySecurity) GetIn

func (x *ApiKeySecurity) GetIn() string

func (*ApiKeySecurity) GetName

func (x *ApiKeySecurity) GetName() string

func (*ApiKeySecurity) GetType

func (x *ApiKeySecurity) GetType() string

func (*ApiKeySecurity) GetVendorExtension

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

func (*ApiKeySecurity) ProtoMessage

func (*ApiKeySecurity) ProtoMessage()

func (*ApiKeySecurity) ProtoReflect added in v0.4.2

func (x *ApiKeySecurity) ProtoReflect() protoreflect.Message

func (*ApiKeySecurity) Reset

func (x *ApiKeySecurity) Reset()

func (*ApiKeySecurity) ResolveReferences

func (m *ApiKeySecurity) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside ApiKeySecurity objects.

func (*ApiKeySecurity) String

func (x *ApiKeySecurity) String() string

func (*ApiKeySecurity) ToRawInfo

func (m *ApiKeySecurity) ToRawInfo() *yaml.Node

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,proto3" json:"type,omitempty"`
	Description     string      `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	VendorExtension []*NamedAny `protobuf:"bytes,3,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	// contains filtered or unexported fields
}

func NewBasicAuthenticationSecurity

func NewBasicAuthenticationSecurity(in *yaml.Node, context *compiler.Context) (*BasicAuthenticationSecurity, error)

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

func (*BasicAuthenticationSecurity) Descriptor deprecated

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

Deprecated: Use BasicAuthenticationSecurity.ProtoReflect.Descriptor instead.

func (*BasicAuthenticationSecurity) GetDescription

func (x *BasicAuthenticationSecurity) GetDescription() string

func (*BasicAuthenticationSecurity) GetType

func (x *BasicAuthenticationSecurity) GetType() string

func (*BasicAuthenticationSecurity) GetVendorExtension

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

func (*BasicAuthenticationSecurity) ProtoMessage

func (*BasicAuthenticationSecurity) ProtoMessage()

func (*BasicAuthenticationSecurity) ProtoReflect added in v0.4.2

func (*BasicAuthenticationSecurity) Reset

func (x *BasicAuthenticationSecurity) Reset()

func (*BasicAuthenticationSecurity) ResolveReferences

func (m *BasicAuthenticationSecurity) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside BasicAuthenticationSecurity objects.

func (*BasicAuthenticationSecurity) String

func (x *BasicAuthenticationSecurity) String() string

func (*BasicAuthenticationSecurity) ToRawInfo

func (m *BasicAuthenticationSecurity) ToRawInfo() *yaml.Node

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

func NewBodyParameter

func NewBodyParameter(in *yaml.Node, context *compiler.Context) (*BodyParameter, error)

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

func (*BodyParameter) Descriptor deprecated

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

Deprecated: Use BodyParameter.ProtoReflect.Descriptor instead.

func (*BodyParameter) GetDescription

func (x *BodyParameter) GetDescription() string

func (*BodyParameter) GetIn

func (x *BodyParameter) GetIn() string

func (*BodyParameter) GetName

func (x *BodyParameter) GetName() string

func (*BodyParameter) GetRequired

func (x *BodyParameter) GetRequired() bool

func (*BodyParameter) GetSchema

func (x *BodyParameter) GetSchema() *Schema

func (*BodyParameter) GetVendorExtension

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

func (*BodyParameter) ProtoMessage

func (*BodyParameter) ProtoMessage()

func (*BodyParameter) ProtoReflect added in v0.4.2

func (x *BodyParameter) ProtoReflect() protoreflect.Message

func (*BodyParameter) Reset

func (x *BodyParameter) Reset()

func (*BodyParameter) ResolveReferences

func (m *BodyParameter) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside BodyParameter objects.

func (*BodyParameter) String

func (x *BodyParameter) String() string

func (*BodyParameter) ToRawInfo

func (m *BodyParameter) ToRawInfo() *yaml.Node

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,proto3" json:"name,omitempty"`
	// The URL pointing to the contact information.
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// The email address of the contact person/organization.
	Email           string      `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	VendorExtension []*NamedAny `protobuf:"bytes,4,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	// contains filtered or unexported fields
}

Contact information for the owners of the API.

func NewContact

func NewContact(in *yaml.Node, context *compiler.Context) (*Contact, error)

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

func (*Contact) Descriptor deprecated

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

Deprecated: Use Contact.ProtoReflect.Descriptor instead.

func (*Contact) GetEmail

func (x *Contact) GetEmail() string

func (*Contact) GetName

func (x *Contact) GetName() string

func (*Contact) GetUrl

func (x *Contact) GetUrl() string

func (*Contact) GetVendorExtension

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

func (*Contact) ProtoMessage

func (*Contact) ProtoMessage()

func (*Contact) ProtoReflect added in v0.4.2

func (x *Contact) ProtoReflect() protoreflect.Message

func (*Contact) Reset

func (x *Contact) Reset()

func (*Contact) ResolveReferences

func (m *Contact) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Contact objects.

func (*Contact) String

func (x *Contact) String() string

func (*Contact) ToRawInfo

func (m *Contact) ToRawInfo() *yaml.Node

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,proto3" json:"additional_properties,omitempty"`
	// contains filtered or unexported fields
}

func NewDefault

func NewDefault(in *yaml.Node, context *compiler.Context) (*Default, error)

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

func (*Default) Descriptor deprecated

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

Deprecated: Use Default.ProtoReflect.Descriptor instead.

func (*Default) GetAdditionalProperties

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

func (*Default) ProtoMessage

func (*Default) ProtoMessage()

func (*Default) ProtoReflect added in v0.4.2

func (x *Default) ProtoReflect() protoreflect.Message

func (*Default) Reset

func (x *Default) Reset()

func (*Default) ResolveReferences

func (m *Default) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Default objects.

func (*Default) String

func (x *Default) String() string

func (*Default) ToRawInfo

func (m *Default) ToRawInfo() *yaml.Node

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,proto3" json:"additional_properties,omitempty"`
	// contains filtered or unexported fields
}

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

func NewDefinitions

func NewDefinitions(in *yaml.Node, context *compiler.Context) (*Definitions, error)

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

func (*Definitions) Descriptor deprecated

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

Deprecated: Use Definitions.ProtoReflect.Descriptor instead.

func (*Definitions) GetAdditionalProperties

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

func (*Definitions) ProtoMessage

func (*Definitions) ProtoMessage()

func (*Definitions) ProtoReflect added in v0.4.2

func (x *Definitions) ProtoReflect() protoreflect.Message

func (*Definitions) Reset

func (x *Definitions) Reset()

func (*Definitions) ResolveReferences

func (m *Definitions) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Definitions objects.

func (*Definitions) String

func (x *Definitions) String() string

func (*Definitions) ToRawInfo

func (m *Definitions) ToRawInfo() *yaml.Node

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

func NewDocument

func NewDocument(in *yaml.Node, context *compiler.Context) (*Document, error)

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

func ParseDocument added in v0.5.0

func ParseDocument(b []byte) (*Document, error)

ParseDocument reads an OpenAPI v2 description from a YAML/JSON representation.

func (*Document) Descriptor deprecated

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

Deprecated: Use Document.ProtoReflect.Descriptor instead.

func (*Document) GetBasePath

func (x *Document) GetBasePath() string

func (*Document) GetConsumes

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

func (*Document) GetDefinitions

func (x *Document) GetDefinitions() *Definitions

func (*Document) GetExternalDocs

func (x *Document) GetExternalDocs() *ExternalDocs

func (*Document) GetHost

func (x *Document) GetHost() string

func (*Document) GetInfo

func (x *Document) GetInfo() *Info

func (*Document) GetParameters

func (x *Document) GetParameters() *ParameterDefinitions

func (*Document) GetPaths

func (x *Document) GetPaths() *Paths

func (*Document) GetProduces

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

func (*Document) GetResponses

func (x *Document) GetResponses() *ResponseDefinitions

func (*Document) GetSchemes

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

func (*Document) GetSecurity

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

func (*Document) GetSecurityDefinitions

func (x *Document) GetSecurityDefinitions() *SecurityDefinitions

func (*Document) GetSwagger

func (x *Document) GetSwagger() string

func (*Document) GetTags

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

func (*Document) GetVendorExtension

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

func (*Document) ProtoMessage

func (*Document) ProtoMessage()

func (*Document) ProtoReflect added in v0.4.2

func (x *Document) ProtoReflect() protoreflect.Message

func (*Document) Reset

func (x *Document) Reset()

func (*Document) ResolveReferences

func (m *Document) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Document objects.

func (*Document) String

func (x *Document) String() string

func (*Document) ToRawInfo

func (m *Document) ToRawInfo() *yaml.Node

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

func (*Document) YAMLValue added in v0.5.3

func (d *Document) YAMLValue(comment string) ([]byte, error)

YAMLValue produces a serialized YAML representation of the document.

type Examples

type Examples struct {
	AdditionalProperties []*NamedAny `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"`
	// contains filtered or unexported fields
}

func NewExamples

func NewExamples(in *yaml.Node, context *compiler.Context) (*Examples, error)

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

func (*Examples) Descriptor deprecated

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

Deprecated: Use Examples.ProtoReflect.Descriptor instead.

func (*Examples) GetAdditionalProperties

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

func (*Examples) ProtoMessage

func (*Examples) ProtoMessage()

func (*Examples) ProtoReflect added in v0.4.2

func (x *Examples) ProtoReflect() protoreflect.Message

func (*Examples) Reset

func (x *Examples) Reset()

func (*Examples) ResolveReferences

func (m *Examples) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Examples objects.

func (*Examples) String

func (x *Examples) String() string

func (*Examples) ToRawInfo

func (m *Examples) ToRawInfo() *yaml.Node

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,proto3" json:"description,omitempty"`
	Url             string      `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	VendorExtension []*NamedAny `protobuf:"bytes,3,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	// contains filtered or unexported fields
}

information about external documentation

func NewExternalDocs

func NewExternalDocs(in *yaml.Node, context *compiler.Context) (*ExternalDocs, error)

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

func (*ExternalDocs) Descriptor deprecated

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

Deprecated: Use ExternalDocs.ProtoReflect.Descriptor instead.

func (*ExternalDocs) GetDescription

func (x *ExternalDocs) GetDescription() string

func (*ExternalDocs) GetUrl

func (x *ExternalDocs) GetUrl() string

func (*ExternalDocs) GetVendorExtension

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

func (*ExternalDocs) ProtoMessage

func (*ExternalDocs) ProtoMessage()

func (*ExternalDocs) ProtoReflect added in v0.4.2

func (x *ExternalDocs) ProtoReflect() protoreflect.Message

func (*ExternalDocs) Reset

func (x *ExternalDocs) Reset()

func (*ExternalDocs) ResolveReferences

func (m *ExternalDocs) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside ExternalDocs objects.

func (*ExternalDocs) String

func (x *ExternalDocs) String() string

func (*ExternalDocs) ToRawInfo

func (m *ExternalDocs) ToRawInfo() *yaml.Node

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,proto3" json:"format,omitempty"`
	Title           string        `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Description     string        `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Default         *Any          `protobuf:"bytes,4,opt,name=default,proto3" json:"default,omitempty"`
	Required        []string      `protobuf:"bytes,5,rep,name=required,proto3" json:"required,omitempty"`
	Type            string        `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	ReadOnly        bool          `protobuf:"varint,7,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
	ExternalDocs    *ExternalDocs `protobuf:"bytes,8,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"`
	Example         *Any          `protobuf:"bytes,9,opt,name=example,proto3" json:"example,omitempty"`
	VendorExtension []*NamedAny   `protobuf:"bytes,10,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	// contains filtered or unexported fields
}

A deterministic version of a JSON Schema object.

func NewFileSchema

func NewFileSchema(in *yaml.Node, context *compiler.Context) (*FileSchema, error)

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

func (*FileSchema) Descriptor deprecated

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

Deprecated: Use FileSchema.ProtoReflect.Descriptor instead.

func (*FileSchema) GetDefault

func (x *FileSchema) GetDefault() *Any

func (*FileSchema) GetDescription

func (x *FileSchema) GetDescription() string

func (*FileSchema) GetExample

func (x *FileSchema) GetExample() *Any

func (*FileSchema) GetExternalDocs

func (x *FileSchema) GetExternalDocs() *ExternalDocs

func (*FileSchema) GetFormat

func (x *FileSchema) GetFormat() string

func (*FileSchema) GetReadOnly

func (x *FileSchema) GetReadOnly() bool

func (*FileSchema) GetRequired

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

func (*FileSchema) GetTitle

func (x *FileSchema) GetTitle() string

func (*FileSchema) GetType

func (x *FileSchema) GetType() string

func (*FileSchema) GetVendorExtension

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

func (*FileSchema) ProtoMessage

func (*FileSchema) ProtoMessage()

func (*FileSchema) ProtoReflect added in v0.4.2

func (x *FileSchema) ProtoReflect() protoreflect.Message

func (*FileSchema) Reset

func (x *FileSchema) Reset()

func (*FileSchema) ResolveReferences

func (m *FileSchema) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside FileSchema objects.

func (*FileSchema) String

func (x *FileSchema) String() string

func (*FileSchema) ToRawInfo

func (m *FileSchema) ToRawInfo() *yaml.Node

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

func NewFormDataParameterSubSchema

func NewFormDataParameterSubSchema(in *yaml.Node, context *compiler.Context) (*FormDataParameterSubSchema, error)

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

func (*FormDataParameterSubSchema) Descriptor deprecated

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

Deprecated: Use FormDataParameterSubSchema.ProtoReflect.Descriptor instead.

func (*FormDataParameterSubSchema) GetAllowEmptyValue

func (x *FormDataParameterSubSchema) GetAllowEmptyValue() bool

func (*FormDataParameterSubSchema) GetCollectionFormat

func (x *FormDataParameterSubSchema) GetCollectionFormat() string

func (*FormDataParameterSubSchema) GetDefault

func (x *FormDataParameterSubSchema) GetDefault() *Any

func (*FormDataParameterSubSchema) GetDescription

func (x *FormDataParameterSubSchema) GetDescription() string

func (*FormDataParameterSubSchema) GetEnum

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

func (*FormDataParameterSubSchema) GetExclusiveMaximum

func (x *FormDataParameterSubSchema) GetExclusiveMaximum() bool

func (*FormDataParameterSubSchema) GetExclusiveMinimum

func (x *FormDataParameterSubSchema) GetExclusiveMinimum() bool

func (*FormDataParameterSubSchema) GetFormat

func (x *FormDataParameterSubSchema) GetFormat() string

func (*FormDataParameterSubSchema) GetIn

func (*FormDataParameterSubSchema) GetItems

func (*FormDataParameterSubSchema) GetMaxItems

func (x *FormDataParameterSubSchema) GetMaxItems() int64

func (*FormDataParameterSubSchema) GetMaxLength

func (x *FormDataParameterSubSchema) GetMaxLength() int64

func (*FormDataParameterSubSchema) GetMaximum

func (x *FormDataParameterSubSchema) GetMaximum() float64

func (*FormDataParameterSubSchema) GetMinItems

func (x *FormDataParameterSubSchema) GetMinItems() int64

func (*FormDataParameterSubSchema) GetMinLength

func (x *FormDataParameterSubSchema) GetMinLength() int64

func (*FormDataParameterSubSchema) GetMinimum

func (x *FormDataParameterSubSchema) GetMinimum() float64

func (*FormDataParameterSubSchema) GetMultipleOf

func (x *FormDataParameterSubSchema) GetMultipleOf() float64

func (*FormDataParameterSubSchema) GetName

func (x *FormDataParameterSubSchema) GetName() string

func (*FormDataParameterSubSchema) GetPattern

func (x *FormDataParameterSubSchema) GetPattern() string

func (*FormDataParameterSubSchema) GetRequired

func (x *FormDataParameterSubSchema) GetRequired() bool

func (*FormDataParameterSubSchema) GetType

func (x *FormDataParameterSubSchema) GetType() string

func (*FormDataParameterSubSchema) GetUniqueItems

func (x *FormDataParameterSubSchema) GetUniqueItems() bool

func (*FormDataParameterSubSchema) GetVendorExtension

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

func (*FormDataParameterSubSchema) ProtoMessage

func (*FormDataParameterSubSchema) ProtoMessage()

func (*FormDataParameterSubSchema) ProtoReflect added in v0.4.2

func (*FormDataParameterSubSchema) Reset

func (x *FormDataParameterSubSchema) Reset()

func (*FormDataParameterSubSchema) ResolveReferences

func (m *FormDataParameterSubSchema) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside FormDataParameterSubSchema objects.

func (*FormDataParameterSubSchema) String

func (x *FormDataParameterSubSchema) String() string

func (*FormDataParameterSubSchema) ToRawInfo

func (m *FormDataParameterSubSchema) ToRawInfo() *yaml.Node

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

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

func NewHeader

func NewHeader(in *yaml.Node, context *compiler.Context) (*Header, error)

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

func (*Header) Descriptor deprecated

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

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetCollectionFormat

func (x *Header) GetCollectionFormat() string

func (*Header) GetDefault

func (x *Header) GetDefault() *Any

func (*Header) GetDescription

func (x *Header) GetDescription() string

func (*Header) GetEnum

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

func (*Header) GetExclusiveMaximum

func (x *Header) GetExclusiveMaximum() bool

func (*Header) GetExclusiveMinimum

func (x *Header) GetExclusiveMinimum() bool

func (*Header) GetFormat

func (x *Header) GetFormat() string

func (*Header) GetItems

func (x *Header) GetItems() *PrimitivesItems

func (*Header) GetMaxItems

func (x *Header) GetMaxItems() int64

func (*Header) GetMaxLength

func (x *Header) GetMaxLength() int64

func (*Header) GetMaximum

func (x *Header) GetMaximum() float64

func (*Header) GetMinItems

func (x *Header) GetMinItems() int64

func (*Header) GetMinLength

func (x *Header) GetMinLength() int64

func (*Header) GetMinimum

func (x *Header) GetMinimum() float64

func (*Header) GetMultipleOf

func (x *Header) GetMultipleOf() float64

func (*Header) GetPattern

func (x *Header) GetPattern() string

func (*Header) GetType

func (x *Header) GetType() string

func (*Header) GetUniqueItems

func (x *Header) GetUniqueItems() bool

func (*Header) GetVendorExtension

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

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) ProtoReflect added in v0.4.2

func (x *Header) ProtoReflect() protoreflect.Message

func (*Header) Reset

func (x *Header) Reset()

func (*Header) ResolveReferences

func (m *Header) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Header objects.

func (*Header) String

func (x *Header) String() string

func (*Header) ToRawInfo

func (m *Header) ToRawInfo() *yaml.Node

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

func NewHeaderParameterSubSchema

func NewHeaderParameterSubSchema(in *yaml.Node, context *compiler.Context) (*HeaderParameterSubSchema, error)

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

func (*HeaderParameterSubSchema) Descriptor deprecated

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

Deprecated: Use HeaderParameterSubSchema.ProtoReflect.Descriptor instead.

func (*HeaderParameterSubSchema) GetCollectionFormat

func (x *HeaderParameterSubSchema) GetCollectionFormat() string

func (*HeaderParameterSubSchema) GetDefault

func (x *HeaderParameterSubSchema) GetDefault() *Any

func (*HeaderParameterSubSchema) GetDescription

func (x *HeaderParameterSubSchema) GetDescription() string

func (*HeaderParameterSubSchema) GetEnum

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

func (*HeaderParameterSubSchema) GetExclusiveMaximum

func (x *HeaderParameterSubSchema) GetExclusiveMaximum() bool

func (*HeaderParameterSubSchema) GetExclusiveMinimum

func (x *HeaderParameterSubSchema) GetExclusiveMinimum() bool

func (*HeaderParameterSubSchema) GetFormat

func (x *HeaderParameterSubSchema) GetFormat() string

func (*HeaderParameterSubSchema) GetIn

func (x *HeaderParameterSubSchema) GetIn() string

func (*HeaderParameterSubSchema) GetItems

func (*HeaderParameterSubSchema) GetMaxItems

func (x *HeaderParameterSubSchema) GetMaxItems() int64

func (*HeaderParameterSubSchema) GetMaxLength

func (x *HeaderParameterSubSchema) GetMaxLength() int64

func (*HeaderParameterSubSchema) GetMaximum

func (x *HeaderParameterSubSchema) GetMaximum() float64

func (*HeaderParameterSubSchema) GetMinItems

func (x *HeaderParameterSubSchema) GetMinItems() int64

func (*HeaderParameterSubSchema) GetMinLength

func (x *HeaderParameterSubSchema) GetMinLength() int64

func (*HeaderParameterSubSchema) GetMinimum

func (x *HeaderParameterSubSchema) GetMinimum() float64

func (*HeaderParameterSubSchema) GetMultipleOf

func (x *HeaderParameterSubSchema) GetMultipleOf() float64

func (*HeaderParameterSubSchema) GetName

func (x *HeaderParameterSubSchema) GetName() string

func (*HeaderParameterSubSchema) GetPattern

func (x *HeaderParameterSubSchema) GetPattern() string

func (*HeaderParameterSubSchema) GetRequired

func (x *HeaderParameterSubSchema) GetRequired() bool

func (*HeaderParameterSubSchema) GetType

func (x *HeaderParameterSubSchema) GetType() string

func (*HeaderParameterSubSchema) GetUniqueItems

func (x *HeaderParameterSubSchema) GetUniqueItems() bool

func (*HeaderParameterSubSchema) GetVendorExtension

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

func (*HeaderParameterSubSchema) ProtoMessage

func (*HeaderParameterSubSchema) ProtoMessage()

func (*HeaderParameterSubSchema) ProtoReflect added in v0.4.2

func (x *HeaderParameterSubSchema) ProtoReflect() protoreflect.Message

func (*HeaderParameterSubSchema) Reset

func (x *HeaderParameterSubSchema) Reset()

func (*HeaderParameterSubSchema) ResolveReferences

func (m *HeaderParameterSubSchema) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside HeaderParameterSubSchema objects.

func (*HeaderParameterSubSchema) String

func (x *HeaderParameterSubSchema) String() string

func (*HeaderParameterSubSchema) ToRawInfo

func (m *HeaderParameterSubSchema) ToRawInfo() *yaml.Node

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,proto3" json:"additional_properties,omitempty"`
	// contains filtered or unexported fields
}

func NewHeaders

func NewHeaders(in *yaml.Node, context *compiler.Context) (*Headers, error)

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

func (*Headers) Descriptor deprecated

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

Deprecated: Use Headers.ProtoReflect.Descriptor instead.

func (*Headers) GetAdditionalProperties

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

func (*Headers) ProtoMessage

func (*Headers) ProtoMessage()

func (*Headers) ProtoReflect added in v0.4.2

func (x *Headers) ProtoReflect() protoreflect.Message

func (*Headers) Reset

func (x *Headers) Reset()

func (*Headers) ResolveReferences

func (m *Headers) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Headers objects.

func (*Headers) String

func (x *Headers) String() string

func (*Headers) ToRawInfo

func (m *Headers) ToRawInfo() *yaml.Node

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,proto3" json:"title,omitempty"`
	// A semantic version number of the API.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// A longer description of the API. Should be different from the title.  GitHub Flavored Markdown is allowed.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// The terms of service for the API.
	TermsOfService  string      `protobuf:"bytes,4,opt,name=terms_of_service,json=termsOfService,proto3" json:"terms_of_service,omitempty"`
	Contact         *Contact    `protobuf:"bytes,5,opt,name=contact,proto3" json:"contact,omitempty"`
	License         *License    `protobuf:"bytes,6,opt,name=license,proto3" json:"license,omitempty"`
	VendorExtension []*NamedAny `protobuf:"bytes,7,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	// contains filtered or unexported fields
}

General information about the API.

func NewInfo

func NewInfo(in *yaml.Node, context *compiler.Context) (*Info, error)

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

func (*Info) Descriptor deprecated

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

Deprecated: Use Info.ProtoReflect.Descriptor instead.

func (*Info) GetContact

func (x *Info) GetContact() *Contact

func (*Info) GetDescription

func (x *Info) GetDescription() string

func (*Info) GetLicense

func (x *Info) GetLicense() *License

func (*Info) GetTermsOfService

func (x *Info) GetTermsOfService() string

func (*Info) GetTitle

func (x *Info) GetTitle() string

func (*Info) GetVendorExtension

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

func (*Info) GetVersion

func (x *Info) GetVersion() string

func (*Info) ProtoMessage

func (*Info) ProtoMessage()

func (*Info) ProtoReflect added in v0.4.2

func (x *Info) ProtoReflect() protoreflect.Message

func (*Info) Reset

func (x *Info) Reset()

func (*Info) ResolveReferences

func (m *Info) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Info objects.

func (*Info) String

func (x *Info) String() string

func (*Info) ToRawInfo

func (m *Info) ToRawInfo() *yaml.Node

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,proto3" json:"schema,omitempty"`
	// contains filtered or unexported fields
}

func NewItemsItem

func NewItemsItem(in *yaml.Node, context *compiler.Context) (*ItemsItem, error)

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

func (*ItemsItem) Descriptor deprecated

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

Deprecated: Use ItemsItem.ProtoReflect.Descriptor instead.

func (*ItemsItem) GetSchema

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

func (*ItemsItem) ProtoMessage

func (*ItemsItem) ProtoMessage()

func (*ItemsItem) ProtoReflect added in v0.4.2

func (x *ItemsItem) ProtoReflect() protoreflect.Message

func (*ItemsItem) Reset

func (x *ItemsItem) Reset()

func (*ItemsItem) ResolveReferences

func (m *ItemsItem) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside ItemsItem objects.

func (*ItemsItem) String

func (x *ItemsItem) String() string

func (*ItemsItem) ToRawInfo

func (m *ItemsItem) ToRawInfo() *yaml.Node

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,proto3" json:"_ref,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func NewJsonReference

func NewJsonReference(in *yaml.Node, context *compiler.Context) (*JsonReference, error)

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

func (*JsonReference) Descriptor deprecated

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

Deprecated: Use JsonReference.ProtoReflect.Descriptor instead.

func (*JsonReference) GetDescription

func (x *JsonReference) GetDescription() string

func (*JsonReference) GetXRef

func (x *JsonReference) GetXRef() string

func (*JsonReference) ProtoMessage

func (*JsonReference) ProtoMessage()

func (*JsonReference) ProtoReflect added in v0.4.2

func (x *JsonReference) ProtoReflect() protoreflect.Message

func (*JsonReference) Reset

func (x *JsonReference) Reset()

func (*JsonReference) ResolveReferences

func (m *JsonReference) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside JsonReference objects.

func (*JsonReference) String

func (x *JsonReference) String() string

func (*JsonReference) ToRawInfo

func (m *JsonReference) ToRawInfo() *yaml.Node

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,proto3" json:"name,omitempty"`
	// The URL pointing to the license.
	Url             string      `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	VendorExtension []*NamedAny `protobuf:"bytes,3,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	// contains filtered or unexported fields
}

func NewLicense

func NewLicense(in *yaml.Node, context *compiler.Context) (*License, error)

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

func (*License) Descriptor deprecated

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

Deprecated: Use License.ProtoReflect.Descriptor instead.

func (*License) GetName

func (x *License) GetName() string

func (*License) GetUrl

func (x *License) GetUrl() string

func (*License) GetVendorExtension

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

func (*License) ProtoMessage

func (*License) ProtoMessage()

func (*License) ProtoReflect added in v0.4.2

func (x *License) ProtoReflect() protoreflect.Message

func (*License) Reset

func (x *License) Reset()

func (*License) ResolveReferences

func (m *License) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside License objects.

func (*License) String

func (x *License) String() string

func (*License) ToRawInfo

func (m *License) ToRawInfo() *yaml.Node

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,proto3" json:"name,omitempty"`
	// Mapped value
	Value *Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

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

func NewNamedAny

func NewNamedAny(in *yaml.Node, context *compiler.Context) (*NamedAny, error)

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

func (*NamedAny) Descriptor deprecated

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

Deprecated: Use NamedAny.ProtoReflect.Descriptor instead.

func (*NamedAny) GetName

func (x *NamedAny) GetName() string

func (*NamedAny) GetValue

func (x *NamedAny) GetValue() *Any

func (*NamedAny) ProtoMessage

func (*NamedAny) ProtoMessage()

func (*NamedAny) ProtoReflect added in v0.4.2

func (x *NamedAny) ProtoReflect() protoreflect.Message

func (*NamedAny) Reset

func (x *NamedAny) Reset()

func (*NamedAny) ResolveReferences

func (m *NamedAny) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside NamedAny objects.

func (*NamedAny) String

func (x *NamedAny) String() string

func (*NamedAny) ToRawInfo

func (m *NamedAny) ToRawInfo() *yaml.Node

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,proto3" json:"name,omitempty"`
	// Mapped value
	Value *Header `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

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

func NewNamedHeader

func NewNamedHeader(in *yaml.Node, context *compiler.Context) (*NamedHeader, error)

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

func (*NamedHeader) Descriptor deprecated

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

Deprecated: Use NamedHeader.ProtoReflect.Descriptor instead.

func (*NamedHeader) GetName

func (x *NamedHeader) GetName() string

func (*NamedHeader) GetValue

func (x *NamedHeader) GetValue() *Header

func (*NamedHeader) ProtoMessage

func (*NamedHeader) ProtoMessage()

func (*NamedHeader) ProtoReflect added in v0.4.2

func (x *NamedHeader) ProtoReflect() protoreflect.Message

func (*NamedHeader) Reset

func (x *NamedHeader) Reset()

func (*NamedHeader) ResolveReferences

func (m *NamedHeader) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside NamedHeader objects.

func (*NamedHeader) String

func (x *NamedHeader) String() string

func (*NamedHeader) ToRawInfo

func (m *NamedHeader) ToRawInfo() *yaml.Node

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,proto3" json:"name,omitempty"`
	// Mapped value
	Value *Parameter `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

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

func NewNamedParameter

func NewNamedParameter(in *yaml.Node, context *compiler.Context) (*NamedParameter, error)

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

func (*NamedParameter) Descriptor deprecated

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

Deprecated: Use NamedParameter.ProtoReflect.Descriptor instead.

func (*NamedParameter) GetName

func (x *NamedParameter) GetName() string

func (*NamedParameter) GetValue

func (x *NamedParameter) GetValue() *Parameter

func (*NamedParameter) ProtoMessage

func (*NamedParameter) ProtoMessage()

func (*NamedParameter) ProtoReflect added in v0.4.2

func (x *NamedParameter) ProtoReflect() protoreflect.Message

func (*NamedParameter) Reset

func (x *NamedParameter) Reset()

func (*NamedParameter) ResolveReferences

func (m *NamedParameter) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside NamedParameter objects.

func (*NamedParameter) String

func (x *NamedParameter) String() string

func (*NamedParameter) ToRawInfo

func (m *NamedParameter) ToRawInfo() *yaml.Node

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,proto3" json:"name,omitempty"`
	// Mapped value
	Value *PathItem `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

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

func NewNamedPathItem

func NewNamedPathItem(in *yaml.Node, context *compiler.Context) (*NamedPathItem, error)

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

func (*NamedPathItem) Descriptor deprecated

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

Deprecated: Use NamedPathItem.ProtoReflect.Descriptor instead.

func (*NamedPathItem) GetName

func (x *NamedPathItem) GetName() string

func (*NamedPathItem) GetValue

func (x *NamedPathItem) GetValue() *PathItem

func (*NamedPathItem) ProtoMessage

func (*NamedPathItem) ProtoMessage()

func (*NamedPathItem) ProtoReflect added in v0.4.2

func (x *NamedPathItem) ProtoReflect() protoreflect.Message

func (*NamedPathItem) Reset

func (x *NamedPathItem) Reset()

func (*NamedPathItem) ResolveReferences

func (m *NamedPathItem) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside NamedPathItem objects.

func (*NamedPathItem) String

func (x *NamedPathItem) String() string

func (*NamedPathItem) ToRawInfo

func (m *NamedPathItem) ToRawInfo() *yaml.Node

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,proto3" json:"name,omitempty"`
	// Mapped value
	Value *Response `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

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

func NewNamedResponse

func NewNamedResponse(in *yaml.Node, context *compiler.Context) (*NamedResponse, error)

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

func (*NamedResponse) Descriptor deprecated

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

Deprecated: Use NamedResponse.ProtoReflect.Descriptor instead.

func (*NamedResponse) GetName

func (x *NamedResponse) GetName() string

func (*NamedResponse) GetValue

func (x *NamedResponse) GetValue() *Response

func (*NamedResponse) ProtoMessage

func (*NamedResponse) ProtoMessage()

func (*NamedResponse) ProtoReflect added in v0.4.2

func (x *NamedResponse) ProtoReflect() protoreflect.Message

func (*NamedResponse) Reset

func (x *NamedResponse) Reset()

func (*NamedResponse) ResolveReferences

func (m *NamedResponse) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside NamedResponse objects.

func (*NamedResponse) String

func (x *NamedResponse) String() string

func (*NamedResponse) ToRawInfo

func (m *NamedResponse) ToRawInfo() *yaml.Node

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,proto3" json:"name,omitempty"`
	// Mapped value
	Value *ResponseValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

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

func NewNamedResponseValue

func NewNamedResponseValue(in *yaml.Node, context *compiler.Context) (*NamedResponseValue, error)

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

func (*NamedResponseValue) Descriptor deprecated

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

Deprecated: Use NamedResponseValue.ProtoReflect.Descriptor instead.

func (*NamedResponseValue) GetName

func (x *NamedResponseValue) GetName() string

func (*NamedResponseValue) GetValue

func (x *NamedResponseValue) GetValue() *ResponseValue

func (*NamedResponseValue) ProtoMessage

func (*NamedResponseValue) ProtoMessage()

func (*NamedResponseValue) ProtoReflect added in v0.4.2

func (x *NamedResponseValue) ProtoReflect() protoreflect.Message

func (*NamedResponseValue) Reset

func (x *NamedResponseValue) Reset()

func (*NamedResponseValue) ResolveReferences

func (m *NamedResponseValue) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside NamedResponseValue objects.

func (*NamedResponseValue) String

func (x *NamedResponseValue) String() string

func (*NamedResponseValue) ToRawInfo

func (m *NamedResponseValue) ToRawInfo() *yaml.Node

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,proto3" json:"name,omitempty"`
	// Mapped value
	Value *Schema `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

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

func NewNamedSchema

func NewNamedSchema(in *yaml.Node, context *compiler.Context) (*NamedSchema, error)

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

func (*NamedSchema) Descriptor deprecated

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

Deprecated: Use NamedSchema.ProtoReflect.Descriptor instead.

func (*NamedSchema) GetName

func (x *NamedSchema) GetName() string

func (*NamedSchema) GetValue

func (x *NamedSchema) GetValue() *Schema

func (*NamedSchema) ProtoMessage

func (*NamedSchema) ProtoMessage()

func (*NamedSchema) ProtoReflect added in v0.4.2

func (x *NamedSchema) ProtoReflect() protoreflect.Message

func (*NamedSchema) Reset

func (x *NamedSchema) Reset()

func (*NamedSchema) ResolveReferences

func (m *NamedSchema) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside NamedSchema objects.

func (*NamedSchema) String

func (x *NamedSchema) String() string

func (*NamedSchema) ToRawInfo

func (m *NamedSchema) ToRawInfo() *yaml.Node

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,proto3" json:"name,omitempty"`
	// Mapped value
	Value *SecurityDefinitionsItem `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

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

func NewNamedSecurityDefinitionsItem

func NewNamedSecurityDefinitionsItem(in *yaml.Node, context *compiler.Context) (*NamedSecurityDefinitionsItem, error)

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

func (*NamedSecurityDefinitionsItem) Descriptor deprecated

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

Deprecated: Use NamedSecurityDefinitionsItem.ProtoReflect.Descriptor instead.

func (*NamedSecurityDefinitionsItem) GetName

func (x *NamedSecurityDefinitionsItem) GetName() string

func (*NamedSecurityDefinitionsItem) GetValue

func (*NamedSecurityDefinitionsItem) ProtoMessage

func (*NamedSecurityDefinitionsItem) ProtoMessage()

func (*NamedSecurityDefinitionsItem) ProtoReflect added in v0.4.2

func (*NamedSecurityDefinitionsItem) Reset

func (x *NamedSecurityDefinitionsItem) Reset()

func (*NamedSecurityDefinitionsItem) ResolveReferences

func (m *NamedSecurityDefinitionsItem) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside NamedSecurityDefinitionsItem objects.

func (*NamedSecurityDefinitionsItem) String

func (*NamedSecurityDefinitionsItem) ToRawInfo

func (m *NamedSecurityDefinitionsItem) ToRawInfo() *yaml.Node

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,proto3" json:"name,omitempty"`
	// Mapped value
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

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

func NewNamedString

func NewNamedString(in *yaml.Node, context *compiler.Context) (*NamedString, error)

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

func (*NamedString) Descriptor deprecated

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

Deprecated: Use NamedString.ProtoReflect.Descriptor instead.

func (*NamedString) GetName

func (x *NamedString) GetName() string

func (*NamedString) GetValue

func (x *NamedString) GetValue() string

func (*NamedString) ProtoMessage

func (*NamedString) ProtoMessage()

func (*NamedString) ProtoReflect added in v0.4.2

func (x *NamedString) ProtoReflect() protoreflect.Message

func (*NamedString) Reset

func (x *NamedString) Reset()

func (*NamedString) ResolveReferences

func (m *NamedString) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside NamedString objects.

func (*NamedString) String

func (x *NamedString) String() string

func (*NamedString) ToRawInfo

func (m *NamedString) ToRawInfo() *yaml.Node

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,proto3" json:"name,omitempty"`
	// Mapped value
	Value *StringArray `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

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

func NewNamedStringArray

func NewNamedStringArray(in *yaml.Node, context *compiler.Context) (*NamedStringArray, error)

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

func (*NamedStringArray) Descriptor deprecated

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

Deprecated: Use NamedStringArray.ProtoReflect.Descriptor instead.

func (*NamedStringArray) GetName

func (x *NamedStringArray) GetName() string

func (*NamedStringArray) GetValue

func (x *NamedStringArray) GetValue() *StringArray

func (*NamedStringArray) ProtoMessage

func (*NamedStringArray) ProtoMessage()

func (*NamedStringArray) ProtoReflect added in v0.4.2

func (x *NamedStringArray) ProtoReflect() protoreflect.Message

func (*NamedStringArray) Reset

func (x *NamedStringArray) Reset()

func (*NamedStringArray) ResolveReferences

func (m *NamedStringArray) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside NamedStringArray objects.

func (*NamedStringArray) String

func (x *NamedStringArray) String() string

func (*NamedStringArray) ToRawInfo

func (m *NamedStringArray) ToRawInfo() *yaml.Node

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

type NonBodyParameter

type NonBodyParameter struct {

	// Types that are assignable to Oneof:
	//	*NonBodyParameter_HeaderParameterSubSchema
	//	*NonBodyParameter_FormDataParameterSubSchema
	//	*NonBodyParameter_QueryParameterSubSchema
	//	*NonBodyParameter_PathParameterSubSchema
	Oneof isNonBodyParameter_Oneof `protobuf_oneof:"oneof"`
	// contains filtered or unexported fields
}

func NewNonBodyParameter

func NewNonBodyParameter(in *yaml.Node, context *compiler.Context) (*NonBodyParameter, error)

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

func (*NonBodyParameter) Descriptor deprecated

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

Deprecated: Use NonBodyParameter.ProtoReflect.Descriptor instead.

func (*NonBodyParameter) GetFormDataParameterSubSchema

func (x *NonBodyParameter) GetFormDataParameterSubSchema() *FormDataParameterSubSchema

func (*NonBodyParameter) GetHeaderParameterSubSchema

func (x *NonBodyParameter) GetHeaderParameterSubSchema() *HeaderParameterSubSchema

func (*NonBodyParameter) GetOneof

func (m *NonBodyParameter) GetOneof() isNonBodyParameter_Oneof

func (*NonBodyParameter) GetPathParameterSubSchema

func (x *NonBodyParameter) GetPathParameterSubSchema() *PathParameterSubSchema

func (*NonBodyParameter) GetQueryParameterSubSchema

func (x *NonBodyParameter) GetQueryParameterSubSchema() *QueryParameterSubSchema

func (*NonBodyParameter) ProtoMessage

func (*NonBodyParameter) ProtoMessage()

func (*NonBodyParameter) ProtoReflect added in v0.4.2

func (x *NonBodyParameter) ProtoReflect() protoreflect.Message

func (*NonBodyParameter) Reset

func (x *NonBodyParameter) Reset()

func (*NonBodyParameter) ResolveReferences

func (m *NonBodyParameter) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside NonBodyParameter objects.

func (*NonBodyParameter) String

func (x *NonBodyParameter) String() string

func (*NonBodyParameter) ToRawInfo

func (m *NonBodyParameter) ToRawInfo() *yaml.Node

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

type NonBodyParameter_FormDataParameterSubSchema

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

type NonBodyParameter_HeaderParameterSubSchema

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

type NonBodyParameter_PathParameterSubSchema

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

type NonBodyParameter_QueryParameterSubSchema

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

type Oauth2AccessCodeSecurity

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

func NewOauth2AccessCodeSecurity

func NewOauth2AccessCodeSecurity(in *yaml.Node, context *compiler.Context) (*Oauth2AccessCodeSecurity, error)

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

func (*Oauth2AccessCodeSecurity) Descriptor deprecated

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

Deprecated: Use Oauth2AccessCodeSecurity.ProtoReflect.Descriptor instead.

func (*Oauth2AccessCodeSecurity) GetAuthorizationUrl

func (x *Oauth2AccessCodeSecurity) GetAuthorizationUrl() string

func (*Oauth2AccessCodeSecurity) GetDescription

func (x *Oauth2AccessCodeSecurity) GetDescription() string

func (*Oauth2AccessCodeSecurity) GetFlow

func (x *Oauth2AccessCodeSecurity) GetFlow() string

func (*Oauth2AccessCodeSecurity) GetScopes

func (x *Oauth2AccessCodeSecurity) GetScopes() *Oauth2Scopes

func (*Oauth2AccessCodeSecurity) GetTokenUrl

func (x *Oauth2AccessCodeSecurity) GetTokenUrl() string

func (*Oauth2AccessCodeSecurity) GetType

func (x *Oauth2AccessCodeSecurity) GetType() string

func (*Oauth2AccessCodeSecurity) GetVendorExtension

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

func (*Oauth2AccessCodeSecurity) ProtoMessage

func (*Oauth2AccessCodeSecurity) ProtoMessage()

func (*Oauth2AccessCodeSecurity) ProtoReflect added in v0.4.2

func (x *Oauth2AccessCodeSecurity) ProtoReflect() protoreflect.Message

func (*Oauth2AccessCodeSecurity) Reset

func (x *Oauth2AccessCodeSecurity) Reset()

func (*Oauth2AccessCodeSecurity) ResolveReferences

func (m *Oauth2AccessCodeSecurity) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Oauth2AccessCodeSecurity objects.

func (*Oauth2AccessCodeSecurity) String

func (x *Oauth2AccessCodeSecurity) String() string

func (*Oauth2AccessCodeSecurity) ToRawInfo

func (m *Oauth2AccessCodeSecurity) ToRawInfo() *yaml.Node

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,proto3" json:"type,omitempty"`
	Flow            string        `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"`
	Scopes          *Oauth2Scopes `protobuf:"bytes,3,opt,name=scopes,proto3" json:"scopes,omitempty"`
	TokenUrl        string        `protobuf:"bytes,4,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
	Description     string        `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	VendorExtension []*NamedAny   `protobuf:"bytes,6,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	// contains filtered or unexported fields
}

func NewOauth2ApplicationSecurity

func NewOauth2ApplicationSecurity(in *yaml.Node, context *compiler.Context) (*Oauth2ApplicationSecurity, error)

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

func (*Oauth2ApplicationSecurity) Descriptor deprecated

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

Deprecated: Use Oauth2ApplicationSecurity.ProtoReflect.Descriptor instead.

func (*Oauth2ApplicationSecurity) GetDescription

func (x *Oauth2ApplicationSecurity) GetDescription() string

func (*Oauth2ApplicationSecurity) GetFlow

func (x *Oauth2ApplicationSecurity) GetFlow() string

func (*Oauth2ApplicationSecurity) GetScopes

func (x *Oauth2ApplicationSecurity) GetScopes() *Oauth2Scopes

func (*Oauth2ApplicationSecurity) GetTokenUrl

func (x *Oauth2ApplicationSecurity) GetTokenUrl() string

func (*Oauth2ApplicationSecurity) GetType

func (x *Oauth2ApplicationSecurity) GetType() string

func (*Oauth2ApplicationSecurity) GetVendorExtension

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

func (*Oauth2ApplicationSecurity) ProtoMessage

func (*Oauth2ApplicationSecurity) ProtoMessage()

func (*Oauth2ApplicationSecurity) ProtoReflect added in v0.4.2

func (*Oauth2ApplicationSecurity) Reset

func (x *Oauth2ApplicationSecurity) Reset()

func (*Oauth2ApplicationSecurity) ResolveReferences

func (m *Oauth2ApplicationSecurity) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Oauth2ApplicationSecurity objects.

func (*Oauth2ApplicationSecurity) String

func (x *Oauth2ApplicationSecurity) String() string

func (*Oauth2ApplicationSecurity) ToRawInfo

func (m *Oauth2ApplicationSecurity) ToRawInfo() *yaml.Node

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,proto3" json:"type,omitempty"`
	Flow             string        `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"`
	Scopes           *Oauth2Scopes `protobuf:"bytes,3,opt,name=scopes,proto3" json:"scopes,omitempty"`
	AuthorizationUrl string        `protobuf:"bytes,4,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"`
	Description      string        `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	VendorExtension  []*NamedAny   `protobuf:"bytes,6,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	// contains filtered or unexported fields
}

func NewOauth2ImplicitSecurity

func NewOauth2ImplicitSecurity(in *yaml.Node, context *compiler.Context) (*Oauth2ImplicitSecurity, error)

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

func (*Oauth2ImplicitSecurity) Descriptor deprecated

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

Deprecated: Use Oauth2ImplicitSecurity.ProtoReflect.Descriptor instead.

func (*Oauth2ImplicitSecurity) GetAuthorizationUrl

func (x *Oauth2ImplicitSecurity) GetAuthorizationUrl() string

func (*Oauth2ImplicitSecurity) GetDescription

func (x *Oauth2ImplicitSecurity) GetDescription() string

func (*Oauth2ImplicitSecurity) GetFlow

func (x *Oauth2ImplicitSecurity) GetFlow() string

func (*Oauth2ImplicitSecurity) GetScopes

func (x *Oauth2ImplicitSecurity) GetScopes() *Oauth2Scopes

func (*Oauth2ImplicitSecurity) GetType

func (x *Oauth2ImplicitSecurity) GetType() string

func (*Oauth2ImplicitSecurity) GetVendorExtension

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

func (*Oauth2ImplicitSecurity) ProtoMessage

func (*Oauth2ImplicitSecurity) ProtoMessage()

func (*Oauth2ImplicitSecurity) ProtoReflect added in v0.4.2

func (x *Oauth2ImplicitSecurity) ProtoReflect() protoreflect.Message

func (*Oauth2ImplicitSecurity) Reset

func (x *Oauth2ImplicitSecurity) Reset()

func (*Oauth2ImplicitSecurity) ResolveReferences

func (m *Oauth2ImplicitSecurity) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Oauth2ImplicitSecurity objects.

func (*Oauth2ImplicitSecurity) String

func (x *Oauth2ImplicitSecurity) String() string

func (*Oauth2ImplicitSecurity) ToRawInfo

func (m *Oauth2ImplicitSecurity) ToRawInfo() *yaml.Node

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,proto3" json:"type,omitempty"`
	Flow            string        `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"`
	Scopes          *Oauth2Scopes `protobuf:"bytes,3,opt,name=scopes,proto3" json:"scopes,omitempty"`
	TokenUrl        string        `protobuf:"bytes,4,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
	Description     string        `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	VendorExtension []*NamedAny   `protobuf:"bytes,6,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	// contains filtered or unexported fields
}

func NewOauth2PasswordSecurity

func NewOauth2PasswordSecurity(in *yaml.Node, context *compiler.Context) (*Oauth2PasswordSecurity, error)

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

func (*Oauth2PasswordSecurity) Descriptor deprecated

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

Deprecated: Use Oauth2PasswordSecurity.ProtoReflect.Descriptor instead.

func (*Oauth2PasswordSecurity) GetDescription

func (x *Oauth2PasswordSecurity) GetDescription() string

func (*Oauth2PasswordSecurity) GetFlow

func (x *Oauth2PasswordSecurity) GetFlow() string

func (*Oauth2PasswordSecurity) GetScopes

func (x *Oauth2PasswordSecurity) GetScopes() *Oauth2Scopes

func (*Oauth2PasswordSecurity) GetTokenUrl

func (x *Oauth2PasswordSecurity) GetTokenUrl() string

func (*Oauth2PasswordSecurity) GetType

func (x *Oauth2PasswordSecurity) GetType() string

func (*Oauth2PasswordSecurity) GetVendorExtension

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

func (*Oauth2PasswordSecurity) ProtoMessage

func (*Oauth2PasswordSecurity) ProtoMessage()

func (*Oauth2PasswordSecurity) ProtoReflect added in v0.4.2

func (x *Oauth2PasswordSecurity) ProtoReflect() protoreflect.Message

func (*Oauth2PasswordSecurity) Reset

func (x *Oauth2PasswordSecurity) Reset()

func (*Oauth2PasswordSecurity) ResolveReferences

func (m *Oauth2PasswordSecurity) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Oauth2PasswordSecurity objects.

func (*Oauth2PasswordSecurity) String

func (x *Oauth2PasswordSecurity) String() string

func (*Oauth2PasswordSecurity) ToRawInfo

func (m *Oauth2PasswordSecurity) ToRawInfo() *yaml.Node

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,proto3" json:"additional_properties,omitempty"`
	// contains filtered or unexported fields
}

func NewOauth2Scopes

func NewOauth2Scopes(in *yaml.Node, context *compiler.Context) (*Oauth2Scopes, error)

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

func (*Oauth2Scopes) Descriptor deprecated

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

Deprecated: Use Oauth2Scopes.ProtoReflect.Descriptor instead.

func (*Oauth2Scopes) GetAdditionalProperties

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

func (*Oauth2Scopes) ProtoMessage

func (*Oauth2Scopes) ProtoMessage()

func (*Oauth2Scopes) ProtoReflect added in v0.4.2

func (x *Oauth2Scopes) ProtoReflect() protoreflect.Message

func (*Oauth2Scopes) Reset

func (x *Oauth2Scopes) Reset()

func (*Oauth2Scopes) ResolveReferences

func (m *Oauth2Scopes) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Oauth2Scopes objects.

func (*Oauth2Scopes) String

func (x *Oauth2Scopes) String() string

func (*Oauth2Scopes) ToRawInfo

func (m *Oauth2Scopes) ToRawInfo() *yaml.Node

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

func NewOperation

func NewOperation(in *yaml.Node, context *compiler.Context) (*Operation, error)

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

func (*Operation) Descriptor deprecated

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

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) GetConsumes

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

func (*Operation) GetDeprecated

func (x *Operation) GetDeprecated() bool

func (*Operation) GetDescription

func (x *Operation) GetDescription() string

func (*Operation) GetExternalDocs

func (x *Operation) GetExternalDocs() *ExternalDocs

func (*Operation) GetOperationId

func (x *Operation) GetOperationId() string

func (*Operation) GetParameters

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

func (*Operation) GetProduces

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

func (*Operation) GetResponses

func (x *Operation) GetResponses() *Responses

func (*Operation) GetSchemes

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

func (*Operation) GetSecurity

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

func (*Operation) GetSummary

func (x *Operation) GetSummary() string

func (*Operation) GetTags

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

func (*Operation) GetVendorExtension

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

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect added in v0.4.2

func (x *Operation) ProtoReflect() protoreflect.Message

func (*Operation) Reset

func (x *Operation) Reset()

func (*Operation) ResolveReferences

func (m *Operation) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Operation objects.

func (*Operation) String

func (x *Operation) String() string

func (*Operation) ToRawInfo

func (m *Operation) ToRawInfo() *yaml.Node

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

type Parameter

type Parameter struct {

	// Types that are assignable to Oneof:
	//	*Parameter_BodyParameter
	//	*Parameter_NonBodyParameter
	Oneof isParameter_Oneof `protobuf_oneof:"oneof"`
	// contains filtered or unexported fields
}

func NewParameter

func NewParameter(in *yaml.Node, context *compiler.Context) (*Parameter, error)

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

func (*Parameter) Descriptor deprecated

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

Deprecated: Use Parameter.ProtoReflect.Descriptor instead.

func (*Parameter) GetBodyParameter

func (x *Parameter) GetBodyParameter() *BodyParameter

func (*Parameter) GetNonBodyParameter

func (x *Parameter) GetNonBodyParameter() *NonBodyParameter

func (*Parameter) GetOneof

func (m *Parameter) GetOneof() isParameter_Oneof

func (*Parameter) ProtoMessage

func (*Parameter) ProtoMessage()

func (*Parameter) ProtoReflect added in v0.4.2

func (x *Parameter) ProtoReflect() protoreflect.Message

func (*Parameter) Reset

func (x *Parameter) Reset()

func (*Parameter) ResolveReferences

func (m *Parameter) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Parameter objects.

func (*Parameter) String

func (x *Parameter) String() string

func (*Parameter) ToRawInfo

func (m *Parameter) ToRawInfo() *yaml.Node

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

type ParameterDefinitions

type ParameterDefinitions struct {
	AdditionalProperties []*NamedParameter `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"`
	// contains filtered or unexported fields
}

One or more JSON representations for parameters

func NewParameterDefinitions

func NewParameterDefinitions(in *yaml.Node, context *compiler.Context) (*ParameterDefinitions, error)

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

func (*ParameterDefinitions) Descriptor deprecated

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

Deprecated: Use ParameterDefinitions.ProtoReflect.Descriptor instead.

func (*ParameterDefinitions) GetAdditionalProperties

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

func (*ParameterDefinitions) ProtoMessage

func (*ParameterDefinitions) ProtoMessage()

func (*ParameterDefinitions) ProtoReflect added in v0.4.2

func (x *ParameterDefinitions) ProtoReflect() protoreflect.Message

func (*ParameterDefinitions) Reset

func (x *ParameterDefinitions) Reset()

func (*ParameterDefinitions) ResolveReferences

func (m *ParameterDefinitions) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside ParameterDefinitions objects.

func (*ParameterDefinitions) String

func (x *ParameterDefinitions) String() string

func (*ParameterDefinitions) ToRawInfo

func (m *ParameterDefinitions) ToRawInfo() *yaml.Node

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,proto3,oneof"`
}

type Parameter_NonBodyParameter

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

type ParametersItem

type ParametersItem struct {

	// Types that are assignable to Oneof:
	//	*ParametersItem_Parameter
	//	*ParametersItem_JsonReference
	Oneof isParametersItem_Oneof `protobuf_oneof:"oneof"`
	// contains filtered or unexported fields
}

func NewParametersItem

func NewParametersItem(in *yaml.Node, context *compiler.Context) (*ParametersItem, error)

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

func (*ParametersItem) Descriptor deprecated

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

Deprecated: Use ParametersItem.ProtoReflect.Descriptor instead.

func (*ParametersItem) GetJsonReference

func (x *ParametersItem) GetJsonReference() *JsonReference

func (*ParametersItem) GetOneof

func (m *ParametersItem) GetOneof() isParametersItem_Oneof

func (*ParametersItem) GetParameter

func (x *ParametersItem) GetParameter() *Parameter

func (*ParametersItem) ProtoMessage

func (*ParametersItem) ProtoMessage()

func (*ParametersItem) ProtoReflect added in v0.4.2

func (x *ParametersItem) ProtoReflect() protoreflect.Message

func (*ParametersItem) Reset

func (x *ParametersItem) Reset()

func (*ParametersItem) ResolveReferences

func (m *ParametersItem) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside ParametersItem objects.

func (*ParametersItem) String

func (x *ParametersItem) String() string

func (*ParametersItem) ToRawInfo

func (m *ParametersItem) ToRawInfo() *yaml.Node

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

type ParametersItem_JsonReference

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

type ParametersItem_Parameter

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

type PathItem

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

func NewPathItem

func NewPathItem(in *yaml.Node, context *compiler.Context) (*PathItem, error)

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

func (*PathItem) Descriptor deprecated

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

Deprecated: Use PathItem.ProtoReflect.Descriptor instead.

func (*PathItem) GetDelete

func (x *PathItem) GetDelete() *Operation

func (*PathItem) GetGet

func (x *PathItem) GetGet() *Operation

func (*PathItem) GetHead

func (x *PathItem) GetHead() *Operation

func (*PathItem) GetOptions

func (x *PathItem) GetOptions() *Operation

func (*PathItem) GetParameters

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

func (*PathItem) GetPatch

func (x *PathItem) GetPatch() *Operation

func (*PathItem) GetPost

func (x *PathItem) GetPost() *Operation

func (*PathItem) GetPut

func (x *PathItem) GetPut() *Operation

func (*PathItem) GetVendorExtension

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

func (*PathItem) GetXRef

func (x *PathItem) GetXRef() string

func (*PathItem) ProtoMessage

func (*PathItem) ProtoMessage()

func (*PathItem) ProtoReflect added in v0.4.2

func (x *PathItem) ProtoReflect() protoreflect.Message

func (*PathItem) Reset

func (x *PathItem) Reset()

func (*PathItem) ResolveReferences

func (m *PathItem) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside PathItem objects.

func (*PathItem) String

func (x *PathItem) String() string

func (*PathItem) ToRawInfo

func (m *PathItem) ToRawInfo() *yaml.Node

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

func NewPathParameterSubSchema

func NewPathParameterSubSchema(in *yaml.Node, context *compiler.Context) (*PathParameterSubSchema, error)

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

func (*PathParameterSubSchema) Descriptor deprecated

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

Deprecated: Use PathParameterSubSchema.ProtoReflect.Descriptor instead.

func (*PathParameterSubSchema) GetCollectionFormat

func (x *PathParameterSubSchema) GetCollectionFormat() string

func (*PathParameterSubSchema) GetDefault

func (x *PathParameterSubSchema) GetDefault() *Any

func (*PathParameterSubSchema) GetDescription

func (x *PathParameterSubSchema) GetDescription() string

func (*PathParameterSubSchema) GetEnum

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

func (*PathParameterSubSchema) GetExclusiveMaximum

func (x *PathParameterSubSchema) GetExclusiveMaximum() bool

func (*PathParameterSubSchema) GetExclusiveMinimum

func (x *PathParameterSubSchema) GetExclusiveMinimum() bool

func (*PathParameterSubSchema) GetFormat

func (x *PathParameterSubSchema) GetFormat() string

func (*PathParameterSubSchema) GetIn

func (x *PathParameterSubSchema) GetIn() string

func (*PathParameterSubSchema) GetItems

func (x *PathParameterSubSchema) GetItems() *PrimitivesItems

func (*PathParameterSubSchema) GetMaxItems

func (x *PathParameterSubSchema) GetMaxItems() int64

func (*PathParameterSubSchema) GetMaxLength

func (x *PathParameterSubSchema) GetMaxLength() int64

func (*PathParameterSubSchema) GetMaximum

func (x *PathParameterSubSchema) GetMaximum() float64

func (*PathParameterSubSchema) GetMinItems

func (x *PathParameterSubSchema) GetMinItems() int64

func (*PathParameterSubSchema) GetMinLength

func (x *PathParameterSubSchema) GetMinLength() int64

func (*PathParameterSubSchema) GetMinimum

func (x *PathParameterSubSchema) GetMinimum() float64

func (*PathParameterSubSchema) GetMultipleOf

func (x *PathParameterSubSchema) GetMultipleOf() float64

func (*PathParameterSubSchema) GetName

func (x *PathParameterSubSchema) GetName() string

func (*PathParameterSubSchema) GetPattern

func (x *PathParameterSubSchema) GetPattern() string

func (*PathParameterSubSchema) GetRequired

func (x *PathParameterSubSchema) GetRequired() bool

func (*PathParameterSubSchema) GetType

func (x *PathParameterSubSchema) GetType() string

func (*PathParameterSubSchema) GetUniqueItems

func (x *PathParameterSubSchema) GetUniqueItems() bool

func (*PathParameterSubSchema) GetVendorExtension

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

func (*PathParameterSubSchema) ProtoMessage

func (*PathParameterSubSchema) ProtoMessage()

func (*PathParameterSubSchema) ProtoReflect added in v0.4.2

func (x *PathParameterSubSchema) ProtoReflect() protoreflect.Message

func (*PathParameterSubSchema) Reset

func (x *PathParameterSubSchema) Reset()

func (*PathParameterSubSchema) ResolveReferences

func (m *PathParameterSubSchema) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside PathParameterSubSchema objects.

func (*PathParameterSubSchema) String

func (x *PathParameterSubSchema) String() string

func (*PathParameterSubSchema) ToRawInfo

func (m *PathParameterSubSchema) ToRawInfo() *yaml.Node

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,proto3" json:"vendor_extension,omitempty"`
	Path            []*NamedPathItem `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

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

func NewPaths

func NewPaths(in *yaml.Node, context *compiler.Context) (*Paths, error)

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

func (*Paths) Descriptor deprecated

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

Deprecated: Use Paths.ProtoReflect.Descriptor instead.

func (*Paths) GetPath

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

func (*Paths) GetVendorExtension

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

func (*Paths) ProtoMessage

func (*Paths) ProtoMessage()

func (*Paths) ProtoReflect added in v0.4.2

func (x *Paths) ProtoReflect() protoreflect.Message

func (*Paths) Reset

func (x *Paths) Reset()

func (*Paths) ResolveReferences

func (m *Paths) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Paths objects.

func (*Paths) String

func (x *Paths) String() string

func (*Paths) ToRawInfo

func (m *Paths) ToRawInfo() *yaml.Node

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

func NewPrimitivesItems

func NewPrimitivesItems(in *yaml.Node, context *compiler.Context) (*PrimitivesItems, error)

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

func (*PrimitivesItems) Descriptor deprecated

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

Deprecated: Use PrimitivesItems.ProtoReflect.Descriptor instead.

func (*PrimitivesItems) GetCollectionFormat

func (x *PrimitivesItems) GetCollectionFormat() string

func (*PrimitivesItems) GetDefault

func (x *PrimitivesItems) GetDefault() *Any

func (*PrimitivesItems) GetEnum

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

func (*PrimitivesItems) GetExclusiveMaximum

func (x *PrimitivesItems) GetExclusiveMaximum() bool

func (*PrimitivesItems) GetExclusiveMinimum

func (x *PrimitivesItems) GetExclusiveMinimum() bool

func (*PrimitivesItems) GetFormat

func (x *PrimitivesItems) GetFormat() string

func (*PrimitivesItems) GetItems

func (x *PrimitivesItems) GetItems() *PrimitivesItems

func (*PrimitivesItems) GetMaxItems

func (x *PrimitivesItems) GetMaxItems() int64

func (*PrimitivesItems) GetMaxLength

func (x *PrimitivesItems) GetMaxLength() int64

func (*PrimitivesItems) GetMaximum

func (x *PrimitivesItems) GetMaximum() float64

func (*PrimitivesItems) GetMinItems

func (x *PrimitivesItems) GetMinItems() int64

func (*PrimitivesItems) GetMinLength

func (x *PrimitivesItems) GetMinLength() int64

func (*PrimitivesItems) GetMinimum

func (x *PrimitivesItems) GetMinimum() float64

func (*PrimitivesItems) GetMultipleOf

func (x *PrimitivesItems) GetMultipleOf() float64

func (*PrimitivesItems) GetPattern

func (x *PrimitivesItems) GetPattern() string

func (*PrimitivesItems) GetType

func (x *PrimitivesItems) GetType() string

func (*PrimitivesItems) GetUniqueItems

func (x *PrimitivesItems) GetUniqueItems() bool

func (*PrimitivesItems) GetVendorExtension

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

func (*PrimitivesItems) ProtoMessage

func (*PrimitivesItems) ProtoMessage()

func (*PrimitivesItems) ProtoReflect added in v0.4.2

func (x *PrimitivesItems) ProtoReflect() protoreflect.Message

func (*PrimitivesItems) Reset

func (x *PrimitivesItems) Reset()

func (*PrimitivesItems) ResolveReferences

func (m *PrimitivesItems) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside PrimitivesItems objects.

func (*PrimitivesItems) String

func (x *PrimitivesItems) String() string

func (*PrimitivesItems) ToRawInfo

func (m *PrimitivesItems) ToRawInfo() *yaml.Node

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,proto3" json:"additional_properties,omitempty"`
	// contains filtered or unexported fields
}

func NewProperties

func NewProperties(in *yaml.Node, context *compiler.Context) (*Properties, error)

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

func (*Properties) Descriptor deprecated

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

Deprecated: Use Properties.ProtoReflect.Descriptor instead.

func (*Properties) GetAdditionalProperties

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

func (*Properties) ProtoMessage

func (*Properties) ProtoMessage()

func (*Properties) ProtoReflect added in v0.4.2

func (x *Properties) ProtoReflect() protoreflect.Message

func (*Properties) Reset

func (x *Properties) Reset()

func (*Properties) ResolveReferences

func (m *Properties) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Properties objects.

func (*Properties) String

func (x *Properties) String() string

func (*Properties) ToRawInfo

func (m *Properties) ToRawInfo() *yaml.Node

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

func NewQueryParameterSubSchema

func NewQueryParameterSubSchema(in *yaml.Node, context *compiler.Context) (*QueryParameterSubSchema, error)

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

func (*QueryParameterSubSchema) Descriptor deprecated

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

Deprecated: Use QueryParameterSubSchema.ProtoReflect.Descriptor instead.

func (*QueryParameterSubSchema) GetAllowEmptyValue

func (x *QueryParameterSubSchema) GetAllowEmptyValue() bool

func (*QueryParameterSubSchema) GetCollectionFormat

func (x *QueryParameterSubSchema) GetCollectionFormat() string

func (*QueryParameterSubSchema) GetDefault

func (x *QueryParameterSubSchema) GetDefault() *Any

func (*QueryParameterSubSchema) GetDescription

func (x *QueryParameterSubSchema) GetDescription() string

func (*QueryParameterSubSchema) GetEnum

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

func (*QueryParameterSubSchema) GetExclusiveMaximum

func (x *QueryParameterSubSchema) GetExclusiveMaximum() bool

func (*QueryParameterSubSchema) GetExclusiveMinimum

func (x *QueryParameterSubSchema) GetExclusiveMinimum() bool

func (*QueryParameterSubSchema) GetFormat

func (x *QueryParameterSubSchema) GetFormat() string

func (*QueryParameterSubSchema) GetIn

func (x *QueryParameterSubSchema) GetIn() string

func (*QueryParameterSubSchema) GetItems

func (*QueryParameterSubSchema) GetMaxItems

func (x *QueryParameterSubSchema) GetMaxItems() int64

func (*QueryParameterSubSchema) GetMaxLength

func (x *QueryParameterSubSchema) GetMaxLength() int64

func (*QueryParameterSubSchema) GetMaximum

func (x *QueryParameterSubSchema) GetMaximum() float64

func (*QueryParameterSubSchema) GetMinItems

func (x *QueryParameterSubSchema) GetMinItems() int64

func (*QueryParameterSubSchema) GetMinLength

func (x *QueryParameterSubSchema) GetMinLength() int64

func (*QueryParameterSubSchema) GetMinimum

func (x *QueryParameterSubSchema) GetMinimum() float64

func (*QueryParameterSubSchema) GetMultipleOf

func (x *QueryParameterSubSchema) GetMultipleOf() float64

func (*QueryParameterSubSchema) GetName

func (x *QueryParameterSubSchema) GetName() string

func (*QueryParameterSubSchema) GetPattern

func (x *QueryParameterSubSchema) GetPattern() string

func (*QueryParameterSubSchema) GetRequired

func (x *QueryParameterSubSchema) GetRequired() bool

func (*QueryParameterSubSchema) GetType

func (x *QueryParameterSubSchema) GetType() string

func (*QueryParameterSubSchema) GetUniqueItems

func (x *QueryParameterSubSchema) GetUniqueItems() bool

func (*QueryParameterSubSchema) GetVendorExtension

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

func (*QueryParameterSubSchema) ProtoMessage

func (*QueryParameterSubSchema) ProtoMessage()

func (*QueryParameterSubSchema) ProtoReflect added in v0.4.2

func (x *QueryParameterSubSchema) ProtoReflect() protoreflect.Message

func (*QueryParameterSubSchema) Reset

func (x *QueryParameterSubSchema) Reset()

func (*QueryParameterSubSchema) ResolveReferences

func (m *QueryParameterSubSchema) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside QueryParameterSubSchema objects.

func (*QueryParameterSubSchema) String

func (x *QueryParameterSubSchema) String() string

func (*QueryParameterSubSchema) ToRawInfo

func (m *QueryParameterSubSchema) ToRawInfo() *yaml.Node

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,proto3" json:"description,omitempty"`
	Schema          *SchemaItem `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
	Headers         *Headers    `protobuf:"bytes,3,opt,name=headers,proto3" json:"headers,omitempty"`
	Examples        *Examples   `protobuf:"bytes,4,opt,name=examples,proto3" json:"examples,omitempty"`
	VendorExtension []*NamedAny `protobuf:"bytes,5,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	// contains filtered or unexported fields
}

func NewResponse

func NewResponse(in *yaml.Node, context *compiler.Context) (*Response, error)

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

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetDescription

func (x *Response) GetDescription() string

func (*Response) GetExamples

func (x *Response) GetExamples() *Examples

func (*Response) GetHeaders

func (x *Response) GetHeaders() *Headers

func (*Response) GetSchema

func (x *Response) GetSchema() *SchemaItem

func (*Response) GetVendorExtension

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

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect added in v0.4.2

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) ResolveReferences

func (m *Response) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Response objects.

func (*Response) String

func (x *Response) String() string

func (*Response) ToRawInfo

func (m *Response) ToRawInfo() *yaml.Node

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,proto3" json:"additional_properties,omitempty"`
	// contains filtered or unexported fields
}

One or more JSON representations for responses

func NewResponseDefinitions

func NewResponseDefinitions(in *yaml.Node, context *compiler.Context) (*ResponseDefinitions, error)

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

func (*ResponseDefinitions) Descriptor deprecated

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

Deprecated: Use ResponseDefinitions.ProtoReflect.Descriptor instead.

func (*ResponseDefinitions) GetAdditionalProperties

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

func (*ResponseDefinitions) ProtoMessage

func (*ResponseDefinitions) ProtoMessage()

func (*ResponseDefinitions) ProtoReflect added in v0.4.2

func (x *ResponseDefinitions) ProtoReflect() protoreflect.Message

func (*ResponseDefinitions) Reset

func (x *ResponseDefinitions) Reset()

func (*ResponseDefinitions) ResolveReferences

func (m *ResponseDefinitions) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside ResponseDefinitions objects.

func (*ResponseDefinitions) String

func (x *ResponseDefinitions) String() string

func (*ResponseDefinitions) ToRawInfo

func (m *ResponseDefinitions) ToRawInfo() *yaml.Node

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

type ResponseValue

type ResponseValue struct {

	// Types that are assignable to Oneof:
	//	*ResponseValue_Response
	//	*ResponseValue_JsonReference
	Oneof isResponseValue_Oneof `protobuf_oneof:"oneof"`
	// contains filtered or unexported fields
}

func NewResponseValue

func NewResponseValue(in *yaml.Node, context *compiler.Context) (*ResponseValue, error)

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

func (*ResponseValue) Descriptor deprecated

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

Deprecated: Use ResponseValue.ProtoReflect.Descriptor instead.

func (*ResponseValue) GetJsonReference

func (x *ResponseValue) GetJsonReference() *JsonReference

func (*ResponseValue) GetOneof

func (m *ResponseValue) GetOneof() isResponseValue_Oneof

func (*ResponseValue) GetResponse

func (x *ResponseValue) GetResponse() *Response

func (*ResponseValue) ProtoMessage

func (*ResponseValue) ProtoMessage()

func (*ResponseValue) ProtoReflect added in v0.4.2

func (x *ResponseValue) ProtoReflect() protoreflect.Message

func (*ResponseValue) Reset

func (x *ResponseValue) Reset()

func (*ResponseValue) ResolveReferences

func (m *ResponseValue) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside ResponseValue objects.

func (*ResponseValue) String

func (x *ResponseValue) String() string

func (*ResponseValue) ToRawInfo

func (m *ResponseValue) ToRawInfo() *yaml.Node

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

type ResponseValue_JsonReference

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

type ResponseValue_Response

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

type Responses

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

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

func NewResponses

func NewResponses(in *yaml.Node, context *compiler.Context) (*Responses, error)

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

func (*Responses) Descriptor deprecated

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

Deprecated: Use Responses.ProtoReflect.Descriptor instead.

func (*Responses) GetResponseCode

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

func (*Responses) GetVendorExtension

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

func (*Responses) ProtoMessage

func (*Responses) ProtoMessage()

func (*Responses) ProtoReflect added in v0.4.2

func (x *Responses) ProtoReflect() protoreflect.Message

func (*Responses) Reset

func (x *Responses) Reset()

func (*Responses) ResolveReferences

func (m *Responses) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Responses objects.

func (*Responses) String

func (x *Responses) String() string

func (*Responses) ToRawInfo

func (m *Responses) ToRawInfo() *yaml.Node

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

A deterministic version of a JSON Schema object.

func NewSchema

func NewSchema(in *yaml.Node, context *compiler.Context) (*Schema, error)

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

func (*Schema) Descriptor deprecated

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

Deprecated: Use Schema.ProtoReflect.Descriptor instead.

func (*Schema) GetAdditionalProperties

func (x *Schema) GetAdditionalProperties() *AdditionalPropertiesItem

func (*Schema) GetAllOf

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

func (*Schema) GetDefault

func (x *Schema) GetDefault() *Any

func (*Schema) GetDescription

func (x *Schema) GetDescription() string

func (*Schema) GetDiscriminator

func (x *Schema) GetDiscriminator() string

func (*Schema) GetEnum

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

func (*Schema) GetExample

func (x *Schema) GetExample() *Any

func (*Schema) GetExclusiveMaximum

func (x *Schema) GetExclusiveMaximum() bool

func (*Schema) GetExclusiveMinimum

func (x *Schema) GetExclusiveMinimum() bool

func (*Schema) GetExternalDocs

func (x *Schema) GetExternalDocs() *ExternalDocs

func (*Schema) GetFormat

func (x *Schema) GetFormat() string

func (*Schema) GetItems

func (x *Schema) GetItems() *ItemsItem

func (*Schema) GetMaxItems

func (x *Schema) GetMaxItems() int64

func (*Schema) GetMaxLength

func (x *Schema) GetMaxLength() int64

func (*Schema) GetMaxProperties

func (x *Schema) GetMaxProperties() int64

func (*Schema) GetMaximum

func (x *Schema) GetMaximum() float64

func (*Schema) GetMinItems

func (x *Schema) GetMinItems() int64

func (*Schema) GetMinLength

func (x *Schema) GetMinLength() int64

func (*Schema) GetMinProperties

func (x *Schema) GetMinProperties() int64

func (*Schema) GetMinimum

func (x *Schema) GetMinimum() float64

func (*Schema) GetMultipleOf

func (x *Schema) GetMultipleOf() float64

func (*Schema) GetPattern

func (x *Schema) GetPattern() string

func (*Schema) GetProperties

func (x *Schema) GetProperties() *Properties

func (*Schema) GetReadOnly

func (x *Schema) GetReadOnly() bool

func (*Schema) GetRequired

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

func (*Schema) GetTitle

func (x *Schema) GetTitle() string

func (*Schema) GetType

func (x *Schema) GetType() *TypeItem

func (*Schema) GetUniqueItems

func (x *Schema) GetUniqueItems() bool

func (*Schema) GetVendorExtension

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

func (*Schema) GetXRef

func (x *Schema) GetXRef() string

func (*Schema) GetXml

func (x *Schema) GetXml() *Xml

func (*Schema) ProtoMessage

func (*Schema) ProtoMessage()

func (*Schema) ProtoReflect added in v0.4.2

func (x *Schema) ProtoReflect() protoreflect.Message

func (*Schema) Reset

func (x *Schema) Reset()

func (*Schema) ResolveReferences

func (m *Schema) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Schema objects.

func (*Schema) String

func (x *Schema) String() string

func (*Schema) ToRawInfo

func (m *Schema) ToRawInfo() *yaml.Node

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

type SchemaItem

type SchemaItem struct {

	// Types that are assignable to Oneof:
	//	*SchemaItem_Schema
	//	*SchemaItem_FileSchema
	Oneof isSchemaItem_Oneof `protobuf_oneof:"oneof"`
	// contains filtered or unexported fields
}

func NewSchemaItem

func NewSchemaItem(in *yaml.Node, context *compiler.Context) (*SchemaItem, error)

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

func (*SchemaItem) Descriptor deprecated

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

Deprecated: Use SchemaItem.ProtoReflect.Descriptor instead.

func (*SchemaItem) GetFileSchema

func (x *SchemaItem) GetFileSchema() *FileSchema

func (*SchemaItem) GetOneof

func (m *SchemaItem) GetOneof() isSchemaItem_Oneof

func (*SchemaItem) GetSchema

func (x *SchemaItem) GetSchema() *Schema

func (*SchemaItem) ProtoMessage

func (*SchemaItem) ProtoMessage()

func (*SchemaItem) ProtoReflect added in v0.4.2

func (x *SchemaItem) ProtoReflect() protoreflect.Message

func (*SchemaItem) Reset

func (x *SchemaItem) Reset()

func (*SchemaItem) ResolveReferences

func (m *SchemaItem) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside SchemaItem objects.

func (*SchemaItem) String

func (x *SchemaItem) String() string

func (*SchemaItem) ToRawInfo

func (m *SchemaItem) ToRawInfo() *yaml.Node

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

type SchemaItem_FileSchema

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

type SchemaItem_Schema

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

type SecurityDefinitions

type SecurityDefinitions struct {
	AdditionalProperties []*NamedSecurityDefinitionsItem `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"`
	// contains filtered or unexported fields
}

func NewSecurityDefinitions

func NewSecurityDefinitions(in *yaml.Node, context *compiler.Context) (*SecurityDefinitions, error)

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

func (*SecurityDefinitions) Descriptor deprecated

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

Deprecated: Use SecurityDefinitions.ProtoReflect.Descriptor instead.

func (*SecurityDefinitions) GetAdditionalProperties

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

func (*SecurityDefinitions) ProtoMessage

func (*SecurityDefinitions) ProtoMessage()

func (*SecurityDefinitions) ProtoReflect added in v0.4.2

func (x *SecurityDefinitions) ProtoReflect() protoreflect.Message

func (*SecurityDefinitions) Reset

func (x *SecurityDefinitions) Reset()

func (*SecurityDefinitions) ResolveReferences

func (m *SecurityDefinitions) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside SecurityDefinitions objects.

func (*SecurityDefinitions) String

func (x *SecurityDefinitions) String() string

func (*SecurityDefinitions) ToRawInfo

func (m *SecurityDefinitions) ToRawInfo() *yaml.Node

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

type SecurityDefinitionsItem

type SecurityDefinitionsItem struct {

	// Types that are assignable to Oneof:
	//	*SecurityDefinitionsItem_BasicAuthenticationSecurity
	//	*SecurityDefinitionsItem_ApiKeySecurity
	//	*SecurityDefinitionsItem_Oauth2ImplicitSecurity
	//	*SecurityDefinitionsItem_Oauth2PasswordSecurity
	//	*SecurityDefinitionsItem_Oauth2ApplicationSecurity
	//	*SecurityDefinitionsItem_Oauth2AccessCodeSecurity
	Oneof isSecurityDefinitionsItem_Oneof `protobuf_oneof:"oneof"`
	// contains filtered or unexported fields
}

func NewSecurityDefinitionsItem

func NewSecurityDefinitionsItem(in *yaml.Node, context *compiler.Context) (*SecurityDefinitionsItem, error)

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

func (*SecurityDefinitionsItem) Descriptor deprecated

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

Deprecated: Use SecurityDefinitionsItem.ProtoReflect.Descriptor instead.

func (*SecurityDefinitionsItem) GetApiKeySecurity

func (x *SecurityDefinitionsItem) GetApiKeySecurity() *ApiKeySecurity

func (*SecurityDefinitionsItem) GetBasicAuthenticationSecurity

func (x *SecurityDefinitionsItem) GetBasicAuthenticationSecurity() *BasicAuthenticationSecurity

func (*SecurityDefinitionsItem) GetOauth2AccessCodeSecurity

func (x *SecurityDefinitionsItem) GetOauth2AccessCodeSecurity() *Oauth2AccessCodeSecurity

func (*SecurityDefinitionsItem) GetOauth2ApplicationSecurity

func (x *SecurityDefinitionsItem) GetOauth2ApplicationSecurity() *Oauth2ApplicationSecurity

func (*SecurityDefinitionsItem) GetOauth2ImplicitSecurity

func (x *SecurityDefinitionsItem) GetOauth2ImplicitSecurity() *Oauth2ImplicitSecurity

func (*SecurityDefinitionsItem) GetOauth2PasswordSecurity

func (x *SecurityDefinitionsItem) GetOauth2PasswordSecurity() *Oauth2PasswordSecurity

func (*SecurityDefinitionsItem) GetOneof

func (m *SecurityDefinitionsItem) GetOneof() isSecurityDefinitionsItem_Oneof

func (*SecurityDefinitionsItem) ProtoMessage

func (*SecurityDefinitionsItem) ProtoMessage()

func (*SecurityDefinitionsItem) ProtoReflect added in v0.4.2

func (x *SecurityDefinitionsItem) ProtoReflect() protoreflect.Message

func (*SecurityDefinitionsItem) Reset

func (x *SecurityDefinitionsItem) Reset()

func (*SecurityDefinitionsItem) ResolveReferences

func (m *SecurityDefinitionsItem) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside SecurityDefinitionsItem objects.

func (*SecurityDefinitionsItem) String

func (x *SecurityDefinitionsItem) String() string

func (*SecurityDefinitionsItem) ToRawInfo

func (m *SecurityDefinitionsItem) ToRawInfo() *yaml.Node

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

type SecurityDefinitionsItem_ApiKeySecurity

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

type SecurityDefinitionsItem_BasicAuthenticationSecurity

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

type SecurityDefinitionsItem_Oauth2AccessCodeSecurity

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

type SecurityDefinitionsItem_Oauth2ApplicationSecurity

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

type SecurityDefinitionsItem_Oauth2ImplicitSecurity

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

type SecurityDefinitionsItem_Oauth2PasswordSecurity

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

type SecurityRequirement

type SecurityRequirement struct {
	AdditionalProperties []*NamedStringArray `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"`
	// contains filtered or unexported fields
}

func NewSecurityRequirement

func NewSecurityRequirement(in *yaml.Node, context *compiler.Context) (*SecurityRequirement, error)

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

func (*SecurityRequirement) Descriptor deprecated

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

Deprecated: Use SecurityRequirement.ProtoReflect.Descriptor instead.

func (*SecurityRequirement) GetAdditionalProperties

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

func (*SecurityRequirement) ProtoMessage

func (*SecurityRequirement) ProtoMessage()

func (*SecurityRequirement) ProtoReflect added in v0.4.2

func (x *SecurityRequirement) ProtoReflect() protoreflect.Message

func (*SecurityRequirement) Reset

func (x *SecurityRequirement) Reset()

func (*SecurityRequirement) ResolveReferences

func (m *SecurityRequirement) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside SecurityRequirement objects.

func (*SecurityRequirement) String

func (x *SecurityRequirement) String() string

func (*SecurityRequirement) ToRawInfo

func (m *SecurityRequirement) ToRawInfo() *yaml.Node

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,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func NewStringArray

func NewStringArray(in *yaml.Node, context *compiler.Context) (*StringArray, error)

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

func (*StringArray) Descriptor deprecated

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

Deprecated: Use StringArray.ProtoReflect.Descriptor instead.

func (*StringArray) GetValue

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

func (*StringArray) ProtoMessage

func (*StringArray) ProtoMessage()

func (*StringArray) ProtoReflect added in v0.4.2

func (x *StringArray) ProtoReflect() protoreflect.Message

func (*StringArray) Reset

func (x *StringArray) Reset()

func (*StringArray) ResolveReferences

func (m *StringArray) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside StringArray objects.

func (*StringArray) String

func (x *StringArray) String() string

func (*StringArray) ToRawInfo

func (m *StringArray) ToRawInfo() *yaml.Node

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,proto3" json:"name,omitempty"`
	Description     string        `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ExternalDocs    *ExternalDocs `protobuf:"bytes,3,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"`
	VendorExtension []*NamedAny   `protobuf:"bytes,4,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	// contains filtered or unexported fields
}

func NewTag

func NewTag(in *yaml.Node, context *compiler.Context) (*Tag, error)

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

func (*Tag) Descriptor deprecated

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

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetDescription

func (x *Tag) GetDescription() string

func (*Tag) GetExternalDocs

func (x *Tag) GetExternalDocs() *ExternalDocs

func (*Tag) GetName

func (x *Tag) GetName() string

func (*Tag) GetVendorExtension

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

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect added in v0.4.2

func (x *Tag) ProtoReflect() protoreflect.Message

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) ResolveReferences

func (m *Tag) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Tag objects.

func (*Tag) String

func (x *Tag) String() string

func (*Tag) ToRawInfo

func (m *Tag) ToRawInfo() *yaml.Node

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,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func NewTypeItem

func NewTypeItem(in *yaml.Node, context *compiler.Context) (*TypeItem, error)

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

func (*TypeItem) Descriptor deprecated

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

Deprecated: Use TypeItem.ProtoReflect.Descriptor instead.

func (*TypeItem) GetValue

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

func (*TypeItem) ProtoMessage

func (*TypeItem) ProtoMessage()

func (*TypeItem) ProtoReflect added in v0.4.2

func (x *TypeItem) ProtoReflect() protoreflect.Message

func (*TypeItem) Reset

func (x *TypeItem) Reset()

func (*TypeItem) ResolveReferences

func (m *TypeItem) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside TypeItem objects.

func (*TypeItem) String

func (x *TypeItem) String() string

func (*TypeItem) ToRawInfo

func (m *TypeItem) ToRawInfo() *yaml.Node

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,proto3" json:"additional_properties,omitempty"`
	// contains filtered or unexported fields
}

Any property starting with x- is valid.

func NewVendorExtension

func NewVendorExtension(in *yaml.Node, context *compiler.Context) (*VendorExtension, error)

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

func (*VendorExtension) Descriptor deprecated

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

Deprecated: Use VendorExtension.ProtoReflect.Descriptor instead.

func (*VendorExtension) GetAdditionalProperties

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

func (*VendorExtension) ProtoMessage

func (*VendorExtension) ProtoMessage()

func (*VendorExtension) ProtoReflect added in v0.4.2

func (x *VendorExtension) ProtoReflect() protoreflect.Message

func (*VendorExtension) Reset

func (x *VendorExtension) Reset()

func (*VendorExtension) ResolveReferences

func (m *VendorExtension) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside VendorExtension objects.

func (*VendorExtension) String

func (x *VendorExtension) String() string

func (*VendorExtension) ToRawInfo

func (m *VendorExtension) ToRawInfo() *yaml.Node

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,proto3" json:"name,omitempty"`
	Namespace       string      `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Prefix          string      `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"`
	Attribute       bool        `protobuf:"varint,4,opt,name=attribute,proto3" json:"attribute,omitempty"`
	Wrapped         bool        `protobuf:"varint,5,opt,name=wrapped,proto3" json:"wrapped,omitempty"`
	VendorExtension []*NamedAny `protobuf:"bytes,6,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"`
	// contains filtered or unexported fields
}

func NewXml

func NewXml(in *yaml.Node, context *compiler.Context) (*Xml, error)

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

func (*Xml) Descriptor deprecated

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

Deprecated: Use Xml.ProtoReflect.Descriptor instead.

func (*Xml) GetAttribute

func (x *Xml) GetAttribute() bool

func (*Xml) GetName

func (x *Xml) GetName() string

func (*Xml) GetNamespace

func (x *Xml) GetNamespace() string

func (*Xml) GetPrefix

func (x *Xml) GetPrefix() string

func (*Xml) GetVendorExtension

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

func (*Xml) GetWrapped

func (x *Xml) GetWrapped() bool

func (*Xml) ProtoMessage

func (*Xml) ProtoMessage()

func (*Xml) ProtoReflect added in v0.4.2

func (x *Xml) ProtoReflect() protoreflect.Message

func (*Xml) Reset

func (x *Xml) Reset()

func (*Xml) ResolveReferences

func (m *Xml) ResolveReferences(root string) (*yaml.Node, error)

ResolveReferences resolves references found inside Xml objects.

func (*Xml) String

func (x *Xml) String() string

func (*Xml) ToRawInfo

func (m *Xml) ToRawInfo() *yaml.Node

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