openapi_v2

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 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 added in v0.0.3

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

Deprecated: Use AdditionalPropertiesItem.ProtoReflect.Descriptor instead.

func (*AdditionalPropertiesItem) GetBoolean added in v0.0.3

func (x *AdditionalPropertiesItem) GetBoolean() bool

func (*AdditionalPropertiesItem) GetOneof added in v0.0.3

func (m *AdditionalPropertiesItem) GetOneof() isAdditionalPropertiesItem_Oneof

func (*AdditionalPropertiesItem) GetSchema added in v0.0.3

func (x *AdditionalPropertiesItem) GetSchema() *Schema

func (*AdditionalPropertiesItem) ProtoMessage added in v0.0.3

func (*AdditionalPropertiesItem) ProtoMessage()

func (*AdditionalPropertiesItem) ProtoReflect added in v0.0.3

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

func (*AdditionalPropertiesItem) Reset added in v0.0.3

func (x *AdditionalPropertiesItem) Reset()

func (*AdditionalPropertiesItem) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside AdditionalPropertiesItem objects.

func (*AdditionalPropertiesItem) String added in v0.0.3

func (x *AdditionalPropertiesItem) String() string

func (*AdditionalPropertiesItem) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Any.ProtoReflect.Descriptor instead.

func (*Any) GetValue added in v0.0.3

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

func (*Any) GetYaml added in v0.0.3

func (x *Any) GetYaml() string

func (*Any) ProtoMessage added in v0.0.3

func (*Any) ProtoMessage()

func (*Any) ProtoReflect added in v0.0.3

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

func (*Any) Reset added in v0.0.3

func (x *Any) Reset()

func (*Any) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Any objects.

func (*Any) String added in v0.0.3

func (x *Any) String() string

func (*Any) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use ApiKeySecurity.ProtoReflect.Descriptor instead.

func (*ApiKeySecurity) GetDescription added in v0.0.3

func (x *ApiKeySecurity) GetDescription() string

func (*ApiKeySecurity) GetIn added in v0.0.3

func (x *ApiKeySecurity) GetIn() string

func (*ApiKeySecurity) GetName added in v0.0.3

func (x *ApiKeySecurity) GetName() string

func (*ApiKeySecurity) GetType added in v0.0.3

func (x *ApiKeySecurity) GetType() string

func (*ApiKeySecurity) GetVendorExtension added in v0.0.3

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

func (*ApiKeySecurity) ProtoMessage added in v0.0.3

func (*ApiKeySecurity) ProtoMessage()

func (*ApiKeySecurity) ProtoReflect added in v0.0.3

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

func (*ApiKeySecurity) Reset added in v0.0.3

func (x *ApiKeySecurity) Reset()

func (*ApiKeySecurity) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside ApiKeySecurity objects.

func (*ApiKeySecurity) String added in v0.0.3

func (x *ApiKeySecurity) String() string

func (*ApiKeySecurity) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use BasicAuthenticationSecurity.ProtoReflect.Descriptor instead.

func (*BasicAuthenticationSecurity) GetDescription added in v0.0.3

func (x *BasicAuthenticationSecurity) GetDescription() string

func (*BasicAuthenticationSecurity) GetType added in v0.0.3

func (x *BasicAuthenticationSecurity) GetType() string

func (*BasicAuthenticationSecurity) GetVendorExtension added in v0.0.3

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

func (*BasicAuthenticationSecurity) ProtoMessage added in v0.0.3

func (*BasicAuthenticationSecurity) ProtoMessage()

func (*BasicAuthenticationSecurity) ProtoReflect added in v0.0.3

func (*BasicAuthenticationSecurity) Reset added in v0.0.3

func (x *BasicAuthenticationSecurity) Reset()

func (*BasicAuthenticationSecurity) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside BasicAuthenticationSecurity objects.

func (*BasicAuthenticationSecurity) String added in v0.0.3

func (x *BasicAuthenticationSecurity) String() string

func (*BasicAuthenticationSecurity) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use BodyParameter.ProtoReflect.Descriptor instead.

func (*BodyParameter) GetDescription added in v0.0.3

func (x *BodyParameter) GetDescription() string

func (*BodyParameter) GetIn added in v0.0.3

func (x *BodyParameter) GetIn() string

func (*BodyParameter) GetName added in v0.0.3

func (x *BodyParameter) GetName() string

func (*BodyParameter) GetRequired added in v0.0.3

func (x *BodyParameter) GetRequired() bool

func (*BodyParameter) GetSchema added in v0.0.3

func (x *BodyParameter) GetSchema() *Schema

func (*BodyParameter) GetVendorExtension added in v0.0.3

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

func (*BodyParameter) ProtoMessage added in v0.0.3

func (*BodyParameter) ProtoMessage()

func (*BodyParameter) ProtoReflect added in v0.0.3

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

func (*BodyParameter) Reset added in v0.0.3

func (x *BodyParameter) Reset()

func (*BodyParameter) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside BodyParameter objects.

func (*BodyParameter) String added in v0.0.3

func (x *BodyParameter) String() string

func (*BodyParameter) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Contact.ProtoReflect.Descriptor instead.

func (*Contact) GetEmail added in v0.0.3

func (x *Contact) GetEmail() string

func (*Contact) GetName added in v0.0.3

func (x *Contact) GetName() string

func (*Contact) GetUrl added in v0.0.3

func (x *Contact) GetUrl() string

func (*Contact) GetVendorExtension added in v0.0.3

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

func (*Contact) ProtoMessage added in v0.0.3

func (*Contact) ProtoMessage()

func (*Contact) ProtoReflect added in v0.0.3

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

func (*Contact) Reset added in v0.0.3

func (x *Contact) Reset()

func (*Contact) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Contact objects.

func (*Contact) String added in v0.0.3

func (x *Contact) String() string

func (*Contact) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Default.ProtoReflect.Descriptor instead.

func (*Default) GetAdditionalProperties added in v0.0.3

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

func (*Default) ProtoMessage added in v0.0.3

func (*Default) ProtoMessage()

func (*Default) ProtoReflect added in v0.0.3

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

func (*Default) Reset added in v0.0.3

func (x *Default) Reset()

func (*Default) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Default objects.

func (*Default) String added in v0.0.3

func (x *Default) String() string

func (*Default) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Definitions.ProtoReflect.Descriptor instead.

func (*Definitions) GetAdditionalProperties added in v0.0.3

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

func (*Definitions) ProtoMessage added in v0.0.3

func (*Definitions) ProtoMessage()

func (*Definitions) ProtoReflect added in v0.0.3

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

func (*Definitions) Reset added in v0.0.3

func (x *Definitions) Reset()

func (*Definitions) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Definitions objects.

func (*Definitions) String added in v0.0.3

func (x *Definitions) String() string

func (*Definitions) ToRawInfo added in v0.0.3

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

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

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

func (*Document) Descriptor deprecated added in v0.0.3

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

Deprecated: Use Document.ProtoReflect.Descriptor instead.

func (*Document) GetBasePath added in v0.0.3

func (x *Document) GetBasePath() string

func (*Document) GetConsumes added in v0.0.3

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

func (*Document) GetDefinitions added in v0.0.3

func (x *Document) GetDefinitions() *Definitions

func (*Document) GetExternalDocs added in v0.0.3

func (x *Document) GetExternalDocs() *ExternalDocs

func (*Document) GetHost added in v0.0.3

func (x *Document) GetHost() string

func (*Document) GetInfo added in v0.0.3

func (x *Document) GetInfo() *Info

func (*Document) GetParameters added in v0.0.3

func (x *Document) GetParameters() *ParameterDefinitions

func (*Document) GetPaths added in v0.0.3

func (x *Document) GetPaths() *Paths

func (*Document) GetProduces added in v0.0.3

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

func (*Document) GetResponses added in v0.0.3

func (x *Document) GetResponses() *ResponseDefinitions

func (*Document) GetSchemes added in v0.0.3

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

func (*Document) GetSecurity added in v0.0.3

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

func (*Document) GetSecurityDefinitions added in v0.0.3

func (x *Document) GetSecurityDefinitions() *SecurityDefinitions

func (*Document) GetSwagger added in v0.0.3

func (x *Document) GetSwagger() string

func (*Document) GetTags added in v0.0.3

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

func (*Document) GetVendorExtension added in v0.0.3

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

func (*Document) ProtoMessage added in v0.0.3

func (*Document) ProtoMessage()

func (*Document) ProtoReflect added in v0.0.3

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

func (*Document) Reset added in v0.0.3

func (x *Document) Reset()

func (*Document) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Document objects.

func (*Document) String added in v0.0.3

func (x *Document) String() string

func (*Document) ToRawInfo added in v0.0.3

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

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

func (*Document) YAMLValue added in v0.0.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 added in v0.0.3

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

Deprecated: Use Examples.ProtoReflect.Descriptor instead.

func (*Examples) GetAdditionalProperties added in v0.0.3

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

func (*Examples) ProtoMessage added in v0.0.3

func (*Examples) ProtoMessage()

func (*Examples) ProtoReflect added in v0.0.3

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

func (*Examples) Reset added in v0.0.3

func (x *Examples) Reset()

func (*Examples) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Examples objects.

func (*Examples) String added in v0.0.3

func (x *Examples) String() string

func (*Examples) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use ExternalDocs.ProtoReflect.Descriptor instead.

func (*ExternalDocs) GetDescription added in v0.0.3

func (x *ExternalDocs) GetDescription() string

func (*ExternalDocs) GetUrl added in v0.0.3

func (x *ExternalDocs) GetUrl() string

func (*ExternalDocs) GetVendorExtension added in v0.0.3

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

func (*ExternalDocs) ProtoMessage added in v0.0.3

func (*ExternalDocs) ProtoMessage()

func (*ExternalDocs) ProtoReflect added in v0.0.3

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

func (*ExternalDocs) Reset added in v0.0.3

func (x *ExternalDocs) Reset()

func (*ExternalDocs) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside ExternalDocs objects.

func (*ExternalDocs) String added in v0.0.3

func (x *ExternalDocs) String() string

func (*ExternalDocs) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use FileSchema.ProtoReflect.Descriptor instead.

func (*FileSchema) GetDefault added in v0.0.3

func (x *FileSchema) GetDefault() *Any

func (*FileSchema) GetDescription added in v0.0.3

func (x *FileSchema) GetDescription() string

func (*FileSchema) GetExample added in v0.0.3

func (x *FileSchema) GetExample() *Any

func (*FileSchema) GetExternalDocs added in v0.0.3

func (x *FileSchema) GetExternalDocs() *ExternalDocs

func (*FileSchema) GetFormat added in v0.0.3

func (x *FileSchema) GetFormat() string

func (*FileSchema) GetReadOnly added in v0.0.3

func (x *FileSchema) GetReadOnly() bool

func (*FileSchema) GetRequired added in v0.0.3

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

func (*FileSchema) GetTitle added in v0.0.3

func (x *FileSchema) GetTitle() string

func (*FileSchema) GetType added in v0.0.3

func (x *FileSchema) GetType() string

func (*FileSchema) GetVendorExtension added in v0.0.3

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

func (*FileSchema) ProtoMessage added in v0.0.3

func (*FileSchema) ProtoMessage()

func (*FileSchema) ProtoReflect added in v0.0.3

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

func (*FileSchema) Reset added in v0.0.3

func (x *FileSchema) Reset()

func (*FileSchema) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside FileSchema objects.

func (*FileSchema) String added in v0.0.3

func (x *FileSchema) String() string

func (*FileSchema) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use FormDataParameterSubSchema.ProtoReflect.Descriptor instead.

func (*FormDataParameterSubSchema) GetAllowEmptyValue added in v0.0.3

func (x *FormDataParameterSubSchema) GetAllowEmptyValue() bool

func (*FormDataParameterSubSchema) GetCollectionFormat added in v0.0.3

func (x *FormDataParameterSubSchema) GetCollectionFormat() string

func (*FormDataParameterSubSchema) GetDefault added in v0.0.3

func (x *FormDataParameterSubSchema) GetDefault() *Any

func (*FormDataParameterSubSchema) GetDescription added in v0.0.3

func (x *FormDataParameterSubSchema) GetDescription() string

func (*FormDataParameterSubSchema) GetEnum added in v0.0.3

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

func (*FormDataParameterSubSchema) GetExclusiveMaximum added in v0.0.3

func (x *FormDataParameterSubSchema) GetExclusiveMaximum() bool

func (*FormDataParameterSubSchema) GetExclusiveMinimum added in v0.0.3

func (x *FormDataParameterSubSchema) GetExclusiveMinimum() bool

func (*FormDataParameterSubSchema) GetFormat added in v0.0.3

func (x *FormDataParameterSubSchema) GetFormat() string

func (*FormDataParameterSubSchema) GetIn added in v0.0.3

func (*FormDataParameterSubSchema) GetItems added in v0.0.3

func (*FormDataParameterSubSchema) GetMaxItems added in v0.0.3

func (x *FormDataParameterSubSchema) GetMaxItems() int64

func (*FormDataParameterSubSchema) GetMaxLength added in v0.0.3

func (x *FormDataParameterSubSchema) GetMaxLength() int64

func (*FormDataParameterSubSchema) GetMaximum added in v0.0.3

func (x *FormDataParameterSubSchema) GetMaximum() float64

func (*FormDataParameterSubSchema) GetMinItems added in v0.0.3

func (x *FormDataParameterSubSchema) GetMinItems() int64

func (*FormDataParameterSubSchema) GetMinLength added in v0.0.3

func (x *FormDataParameterSubSchema) GetMinLength() int64

func (*FormDataParameterSubSchema) GetMinimum added in v0.0.3

func (x *FormDataParameterSubSchema) GetMinimum() float64

func (*FormDataParameterSubSchema) GetMultipleOf added in v0.0.3

func (x *FormDataParameterSubSchema) GetMultipleOf() float64

func (*FormDataParameterSubSchema) GetName added in v0.0.3

func (x *FormDataParameterSubSchema) GetName() string

func (*FormDataParameterSubSchema) GetPattern added in v0.0.3

func (x *FormDataParameterSubSchema) GetPattern() string

func (*FormDataParameterSubSchema) GetRequired added in v0.0.3

func (x *FormDataParameterSubSchema) GetRequired() bool

func (*FormDataParameterSubSchema) GetType added in v0.0.3

func (x *FormDataParameterSubSchema) GetType() string

func (*FormDataParameterSubSchema) GetUniqueItems added in v0.0.3

func (x *FormDataParameterSubSchema) GetUniqueItems() bool

func (*FormDataParameterSubSchema) GetVendorExtension added in v0.0.3

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

func (*FormDataParameterSubSchema) ProtoMessage added in v0.0.3

func (*FormDataParameterSubSchema) ProtoMessage()

func (*FormDataParameterSubSchema) ProtoReflect added in v0.0.3

func (*FormDataParameterSubSchema) Reset added in v0.0.3

func (x *FormDataParameterSubSchema) Reset()

func (*FormDataParameterSubSchema) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside FormDataParameterSubSchema objects.

func (*FormDataParameterSubSchema) String added in v0.0.3

func (x *FormDataParameterSubSchema) String() string

func (*FormDataParameterSubSchema) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetCollectionFormat added in v0.0.3

func (x *Header) GetCollectionFormat() string

func (*Header) GetDefault added in v0.0.3

func (x *Header) GetDefault() *Any

func (*Header) GetDescription added in v0.0.3

func (x *Header) GetDescription() string

func (*Header) GetEnum added in v0.0.3

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

func (*Header) GetExclusiveMaximum added in v0.0.3

func (x *Header) GetExclusiveMaximum() bool

func (*Header) GetExclusiveMinimum added in v0.0.3

func (x *Header) GetExclusiveMinimum() bool

func (*Header) GetFormat added in v0.0.3

func (x *Header) GetFormat() string

func (*Header) GetItems added in v0.0.3

func (x *Header) GetItems() *PrimitivesItems

func (*Header) GetMaxItems added in v0.0.3

func (x *Header) GetMaxItems() int64

func (*Header) GetMaxLength added in v0.0.3

func (x *Header) GetMaxLength() int64

func (*Header) GetMaximum added in v0.0.3

func (x *Header) GetMaximum() float64

func (*Header) GetMinItems added in v0.0.3

func (x *Header) GetMinItems() int64

func (*Header) GetMinLength added in v0.0.3

func (x *Header) GetMinLength() int64

func (*Header) GetMinimum added in v0.0.3

func (x *Header) GetMinimum() float64

func (*Header) GetMultipleOf added in v0.0.3

func (x *Header) GetMultipleOf() float64

func (*Header) GetPattern added in v0.0.3

func (x *Header) GetPattern() string

func (*Header) GetType added in v0.0.3

func (x *Header) GetType() string

func (*Header) GetUniqueItems added in v0.0.3

func (x *Header) GetUniqueItems() bool

func (*Header) GetVendorExtension added in v0.0.3

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

func (*Header) ProtoMessage added in v0.0.3

func (*Header) ProtoMessage()

func (*Header) ProtoReflect added in v0.0.3

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

func (*Header) Reset added in v0.0.3

func (x *Header) Reset()

func (*Header) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Header objects.

func (*Header) String added in v0.0.3

func (x *Header) String() string

func (*Header) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use HeaderParameterSubSchema.ProtoReflect.Descriptor instead.

func (*HeaderParameterSubSchema) GetCollectionFormat added in v0.0.3

func (x *HeaderParameterSubSchema) GetCollectionFormat() string

func (*HeaderParameterSubSchema) GetDefault added in v0.0.3

func (x *HeaderParameterSubSchema) GetDefault() *Any

func (*HeaderParameterSubSchema) GetDescription added in v0.0.3

func (x *HeaderParameterSubSchema) GetDescription() string

func (*HeaderParameterSubSchema) GetEnum added in v0.0.3

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

func (*HeaderParameterSubSchema) GetExclusiveMaximum added in v0.0.3

func (x *HeaderParameterSubSchema) GetExclusiveMaximum() bool

func (*HeaderParameterSubSchema) GetExclusiveMinimum added in v0.0.3

func (x *HeaderParameterSubSchema) GetExclusiveMinimum() bool

func (*HeaderParameterSubSchema) GetFormat added in v0.0.3

func (x *HeaderParameterSubSchema) GetFormat() string

func (*HeaderParameterSubSchema) GetIn added in v0.0.3

func (x *HeaderParameterSubSchema) GetIn() string

func (*HeaderParameterSubSchema) GetItems added in v0.0.3

func (*HeaderParameterSubSchema) GetMaxItems added in v0.0.3

func (x *HeaderParameterSubSchema) GetMaxItems() int64

func (*HeaderParameterSubSchema) GetMaxLength added in v0.0.3

func (x *HeaderParameterSubSchema) GetMaxLength() int64

func (*HeaderParameterSubSchema) GetMaximum added in v0.0.3

func (x *HeaderParameterSubSchema) GetMaximum() float64

func (*HeaderParameterSubSchema) GetMinItems added in v0.0.3

func (x *HeaderParameterSubSchema) GetMinItems() int64

func (*HeaderParameterSubSchema) GetMinLength added in v0.0.3

func (x *HeaderParameterSubSchema) GetMinLength() int64

func (*HeaderParameterSubSchema) GetMinimum added in v0.0.3

func (x *HeaderParameterSubSchema) GetMinimum() float64

func (*HeaderParameterSubSchema) GetMultipleOf added in v0.0.3

func (x *HeaderParameterSubSchema) GetMultipleOf() float64

func (*HeaderParameterSubSchema) GetName added in v0.0.3

func (x *HeaderParameterSubSchema) GetName() string

func (*HeaderParameterSubSchema) GetPattern added in v0.0.3

func (x *HeaderParameterSubSchema) GetPattern() string

func (*HeaderParameterSubSchema) GetRequired added in v0.0.3

func (x *HeaderParameterSubSchema) GetRequired() bool

func (*HeaderParameterSubSchema) GetType added in v0.0.3

func (x *HeaderParameterSubSchema) GetType() string

func (*HeaderParameterSubSchema) GetUniqueItems added in v0.0.3

func (x *HeaderParameterSubSchema) GetUniqueItems() bool

func (*HeaderParameterSubSchema) GetVendorExtension added in v0.0.3

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

func (*HeaderParameterSubSchema) ProtoMessage added in v0.0.3

func (*HeaderParameterSubSchema) ProtoMessage()

func (*HeaderParameterSubSchema) ProtoReflect added in v0.0.3

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

func (*HeaderParameterSubSchema) Reset added in v0.0.3

func (x *HeaderParameterSubSchema) Reset()

func (*HeaderParameterSubSchema) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside HeaderParameterSubSchema objects.

func (*HeaderParameterSubSchema) String added in v0.0.3

func (x *HeaderParameterSubSchema) String() string

func (*HeaderParameterSubSchema) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Headers.ProtoReflect.Descriptor instead.

func (*Headers) GetAdditionalProperties added in v0.0.3

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

func (*Headers) ProtoMessage added in v0.0.3

func (*Headers) ProtoMessage()

func (*Headers) ProtoReflect added in v0.0.3

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

func (*Headers) Reset added in v0.0.3

func (x *Headers) Reset()

func (*Headers) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Headers objects.

func (*Headers) String added in v0.0.3

func (x *Headers) String() string

func (*Headers) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Info.ProtoReflect.Descriptor instead.

func (*Info) GetContact added in v0.0.3

func (x *Info) GetContact() *Contact

func (*Info) GetDescription added in v0.0.3

func (x *Info) GetDescription() string

func (*Info) GetLicense added in v0.0.3

func (x *Info) GetLicense() *License

func (*Info) GetTermsOfService added in v0.0.3

func (x *Info) GetTermsOfService() string

func (*Info) GetTitle added in v0.0.3

func (x *Info) GetTitle() string

func (*Info) GetVendorExtension added in v0.0.3

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

func (*Info) GetVersion added in v0.0.3

func (x *Info) GetVersion() string

func (*Info) ProtoMessage added in v0.0.3

func (*Info) ProtoMessage()

func (*Info) ProtoReflect added in v0.0.3

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

func (*Info) Reset added in v0.0.3

func (x *Info) Reset()

func (*Info) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Info objects.

func (*Info) String added in v0.0.3

func (x *Info) String() string

func (*Info) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use ItemsItem.ProtoReflect.Descriptor instead.

func (*ItemsItem) GetSchema added in v0.0.3

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

func (*ItemsItem) ProtoMessage added in v0.0.3

func (*ItemsItem) ProtoMessage()

func (*ItemsItem) ProtoReflect added in v0.0.3

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

func (*ItemsItem) Reset added in v0.0.3

func (x *ItemsItem) Reset()

func (*ItemsItem) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside ItemsItem objects.

func (*ItemsItem) String added in v0.0.3

func (x *ItemsItem) String() string

func (*ItemsItem) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use JsonReference.ProtoReflect.Descriptor instead.

func (*JsonReference) GetDescription added in v0.0.3

func (x *JsonReference) GetDescription() string

func (*JsonReference) GetXRef added in v0.0.3

func (x *JsonReference) GetXRef() string

func (*JsonReference) ProtoMessage added in v0.0.3

func (*JsonReference) ProtoMessage()

func (*JsonReference) ProtoReflect added in v0.0.3

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

func (*JsonReference) Reset added in v0.0.3

func (x *JsonReference) Reset()

func (*JsonReference) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside JsonReference objects.

func (*JsonReference) String added in v0.0.3

func (x *JsonReference) String() string

func (*JsonReference) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use License.ProtoReflect.Descriptor instead.

func (*License) GetName added in v0.0.3

func (x *License) GetName() string

func (*License) GetUrl added in v0.0.3

func (x *License) GetUrl() string

func (*License) GetVendorExtension added in v0.0.3

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

func (*License) ProtoMessage added in v0.0.3

func (*License) ProtoMessage()

func (*License) ProtoReflect added in v0.0.3

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

func (*License) Reset added in v0.0.3

func (x *License) Reset()

func (*License) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside License objects.

func (*License) String added in v0.0.3

func (x *License) String() string

func (*License) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use NamedAny.ProtoReflect.Descriptor instead.

func (*NamedAny) GetName added in v0.0.3

func (x *NamedAny) GetName() string

func (*NamedAny) GetValue added in v0.0.3

func (x *NamedAny) GetValue() *Any

func (*NamedAny) ProtoMessage added in v0.0.3

func (*NamedAny) ProtoMessage()

func (*NamedAny) ProtoReflect added in v0.0.3

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

func (*NamedAny) Reset added in v0.0.3

func (x *NamedAny) Reset()

func (*NamedAny) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside NamedAny objects.

func (*NamedAny) String added in v0.0.3

func (x *NamedAny) String() string

func (*NamedAny) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use NamedHeader.ProtoReflect.Descriptor instead.

func (*NamedHeader) GetName added in v0.0.3

func (x *NamedHeader) GetName() string

func (*NamedHeader) GetValue added in v0.0.3

func (x *NamedHeader) GetValue() *Header

func (*NamedHeader) ProtoMessage added in v0.0.3

func (*NamedHeader) ProtoMessage()

func (*NamedHeader) ProtoReflect added in v0.0.3

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

func (*NamedHeader) Reset added in v0.0.3

func (x *NamedHeader) Reset()

func (*NamedHeader) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside NamedHeader objects.

func (*NamedHeader) String added in v0.0.3

func (x *NamedHeader) String() string

func (*NamedHeader) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use NamedParameter.ProtoReflect.Descriptor instead.

func (*NamedParameter) GetName added in v0.0.3

func (x *NamedParameter) GetName() string

func (*NamedParameter) GetValue added in v0.0.3

func (x *NamedParameter) GetValue() *Parameter

func (*NamedParameter) ProtoMessage added in v0.0.3

func (*NamedParameter) ProtoMessage()

func (*NamedParameter) ProtoReflect added in v0.0.3

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

func (*NamedParameter) Reset added in v0.0.3

func (x *NamedParameter) Reset()

func (*NamedParameter) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside NamedParameter objects.

func (*NamedParameter) String added in v0.0.3

func (x *NamedParameter) String() string

func (*NamedParameter) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use NamedPathItem.ProtoReflect.Descriptor instead.

func (*NamedPathItem) GetName added in v0.0.3

func (x *NamedPathItem) GetName() string

func (*NamedPathItem) GetValue added in v0.0.3

func (x *NamedPathItem) GetValue() *PathItem

func (*NamedPathItem) ProtoMessage added in v0.0.3

func (*NamedPathItem) ProtoMessage()

func (*NamedPathItem) ProtoReflect added in v0.0.3

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

func (*NamedPathItem) Reset added in v0.0.3

func (x *NamedPathItem) Reset()

func (*NamedPathItem) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside NamedPathItem objects.

func (*NamedPathItem) String added in v0.0.3

func (x *NamedPathItem) String() string

func (*NamedPathItem) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use NamedResponse.ProtoReflect.Descriptor instead.

func (*NamedResponse) GetName added in v0.0.3

func (x *NamedResponse) GetName() string

func (*NamedResponse) GetValue added in v0.0.3

func (x *NamedResponse) GetValue() *Response

func (*NamedResponse) ProtoMessage added in v0.0.3

func (*NamedResponse) ProtoMessage()

func (*NamedResponse) ProtoReflect added in v0.0.3

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

func (*NamedResponse) Reset added in v0.0.3

func (x *NamedResponse) Reset()

func (*NamedResponse) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside NamedResponse objects.

func (*NamedResponse) String added in v0.0.3

func (x *NamedResponse) String() string

func (*NamedResponse) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use NamedResponseValue.ProtoReflect.Descriptor instead.

func (*NamedResponseValue) GetName added in v0.0.3

func (x *NamedResponseValue) GetName() string

func (*NamedResponseValue) GetValue added in v0.0.3

func (x *NamedResponseValue) GetValue() *ResponseValue

func (*NamedResponseValue) ProtoMessage added in v0.0.3

func (*NamedResponseValue) ProtoMessage()

func (*NamedResponseValue) ProtoReflect added in v0.0.3

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

func (*NamedResponseValue) Reset added in v0.0.3

func (x *NamedResponseValue) Reset()

func (*NamedResponseValue) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside NamedResponseValue objects.

func (*NamedResponseValue) String added in v0.0.3

func (x *NamedResponseValue) String() string

func (*NamedResponseValue) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use NamedSchema.ProtoReflect.Descriptor instead.

func (*NamedSchema) GetName added in v0.0.3

func (x *NamedSchema) GetName() string

func (*NamedSchema) GetValue added in v0.0.3

func (x *NamedSchema) GetValue() *Schema

func (*NamedSchema) ProtoMessage added in v0.0.3

func (*NamedSchema) ProtoMessage()

func (*NamedSchema) ProtoReflect added in v0.0.3

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

func (*NamedSchema) Reset added in v0.0.3

func (x *NamedSchema) Reset()

func (*NamedSchema) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside NamedSchema objects.

func (*NamedSchema) String added in v0.0.3

func (x *NamedSchema) String() string

func (*NamedSchema) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use NamedSecurityDefinitionsItem.ProtoReflect.Descriptor instead.

func (*NamedSecurityDefinitionsItem) GetName added in v0.0.3

func (x *NamedSecurityDefinitionsItem) GetName() string

func (*NamedSecurityDefinitionsItem) GetValue added in v0.0.3

func (*NamedSecurityDefinitionsItem) ProtoMessage added in v0.0.3

func (*NamedSecurityDefinitionsItem) ProtoMessage()

func (*NamedSecurityDefinitionsItem) ProtoReflect added in v0.0.3

func (*NamedSecurityDefinitionsItem) Reset added in v0.0.3

func (x *NamedSecurityDefinitionsItem) Reset()

func (*NamedSecurityDefinitionsItem) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside NamedSecurityDefinitionsItem objects.

func (*NamedSecurityDefinitionsItem) String added in v0.0.3

func (*NamedSecurityDefinitionsItem) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use NamedString.ProtoReflect.Descriptor instead.

func (*NamedString) GetName added in v0.0.3

func (x *NamedString) GetName() string

func (*NamedString) GetValue added in v0.0.3

func (x *NamedString) GetValue() string

func (*NamedString) ProtoMessage added in v0.0.3

func (*NamedString) ProtoMessage()

func (*NamedString) ProtoReflect added in v0.0.3

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

func (*NamedString) Reset added in v0.0.3

func (x *NamedString) Reset()

func (*NamedString) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside NamedString objects.

func (*NamedString) String added in v0.0.3

func (x *NamedString) String() string

func (*NamedString) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use NamedStringArray.ProtoReflect.Descriptor instead.

func (*NamedStringArray) GetName added in v0.0.3

func (x *NamedStringArray) GetName() string

func (*NamedStringArray) GetValue added in v0.0.3

func (x *NamedStringArray) GetValue() *StringArray

func (*NamedStringArray) ProtoMessage added in v0.0.3

func (*NamedStringArray) ProtoMessage()

func (*NamedStringArray) ProtoReflect added in v0.0.3

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

func (*NamedStringArray) Reset added in v0.0.3

func (x *NamedStringArray) Reset()

func (*NamedStringArray) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside NamedStringArray objects.

func (*NamedStringArray) String added in v0.0.3

func (x *NamedStringArray) String() string

func (*NamedStringArray) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use NonBodyParameter.ProtoReflect.Descriptor instead.

func (*NonBodyParameter) GetFormDataParameterSubSchema added in v0.0.3

func (x *NonBodyParameter) GetFormDataParameterSubSchema() *FormDataParameterSubSchema

func (*NonBodyParameter) GetHeaderParameterSubSchema added in v0.0.3

func (x *NonBodyParameter) GetHeaderParameterSubSchema() *HeaderParameterSubSchema

func (*NonBodyParameter) GetOneof added in v0.0.3

func (m *NonBodyParameter) GetOneof() isNonBodyParameter_Oneof

func (*NonBodyParameter) GetPathParameterSubSchema added in v0.0.3

func (x *NonBodyParameter) GetPathParameterSubSchema() *PathParameterSubSchema

func (*NonBodyParameter) GetQueryParameterSubSchema added in v0.0.3

func (x *NonBodyParameter) GetQueryParameterSubSchema() *QueryParameterSubSchema

func (*NonBodyParameter) ProtoMessage added in v0.0.3

func (*NonBodyParameter) ProtoMessage()

func (*NonBodyParameter) ProtoReflect added in v0.0.3

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

func (*NonBodyParameter) Reset added in v0.0.3

func (x *NonBodyParameter) Reset()

func (*NonBodyParameter) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside NonBodyParameter objects.

func (*NonBodyParameter) String added in v0.0.3

func (x *NonBodyParameter) String() string

func (*NonBodyParameter) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Oauth2AccessCodeSecurity.ProtoReflect.Descriptor instead.

func (*Oauth2AccessCodeSecurity) GetAuthorizationUrl added in v0.0.3

func (x *Oauth2AccessCodeSecurity) GetAuthorizationUrl() string

func (*Oauth2AccessCodeSecurity) GetDescription added in v0.0.3

func (x *Oauth2AccessCodeSecurity) GetDescription() string

func (*Oauth2AccessCodeSecurity) GetFlow added in v0.0.3

func (x *Oauth2AccessCodeSecurity) GetFlow() string

func (*Oauth2AccessCodeSecurity) GetScopes added in v0.0.3

func (x *Oauth2AccessCodeSecurity) GetScopes() *Oauth2Scopes

func (*Oauth2AccessCodeSecurity) GetTokenUrl added in v0.0.3

func (x *Oauth2AccessCodeSecurity) GetTokenUrl() string

func (*Oauth2AccessCodeSecurity) GetType added in v0.0.3

func (x *Oauth2AccessCodeSecurity) GetType() string

func (*Oauth2AccessCodeSecurity) GetVendorExtension added in v0.0.3

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

func (*Oauth2AccessCodeSecurity) ProtoMessage added in v0.0.3

func (*Oauth2AccessCodeSecurity) ProtoMessage()

func (*Oauth2AccessCodeSecurity) ProtoReflect added in v0.0.3

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

func (*Oauth2AccessCodeSecurity) Reset added in v0.0.3

func (x *Oauth2AccessCodeSecurity) Reset()

func (*Oauth2AccessCodeSecurity) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Oauth2AccessCodeSecurity objects.

func (*Oauth2AccessCodeSecurity) String added in v0.0.3

func (x *Oauth2AccessCodeSecurity) String() string

func (*Oauth2AccessCodeSecurity) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Oauth2ApplicationSecurity.ProtoReflect.Descriptor instead.

func (*Oauth2ApplicationSecurity) GetDescription added in v0.0.3

func (x *Oauth2ApplicationSecurity) GetDescription() string

func (*Oauth2ApplicationSecurity) GetFlow added in v0.0.3

func (x *Oauth2ApplicationSecurity) GetFlow() string

func (*Oauth2ApplicationSecurity) GetScopes added in v0.0.3

func (x *Oauth2ApplicationSecurity) GetScopes() *Oauth2Scopes

func (*Oauth2ApplicationSecurity) GetTokenUrl added in v0.0.3

func (x *Oauth2ApplicationSecurity) GetTokenUrl() string

func (*Oauth2ApplicationSecurity) GetType added in v0.0.3

func (x *Oauth2ApplicationSecurity) GetType() string

func (*Oauth2ApplicationSecurity) GetVendorExtension added in v0.0.3

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

func (*Oauth2ApplicationSecurity) ProtoMessage added in v0.0.3

func (*Oauth2ApplicationSecurity) ProtoMessage()

func (*Oauth2ApplicationSecurity) ProtoReflect added in v0.0.3

func (*Oauth2ApplicationSecurity) Reset added in v0.0.3

func (x *Oauth2ApplicationSecurity) Reset()

func (*Oauth2ApplicationSecurity) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Oauth2ApplicationSecurity objects.

func (*Oauth2ApplicationSecurity) String added in v0.0.3

func (x *Oauth2ApplicationSecurity) String() string

func (*Oauth2ApplicationSecurity) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Oauth2ImplicitSecurity.ProtoReflect.Descriptor instead.

func (*Oauth2ImplicitSecurity) GetAuthorizationUrl added in v0.0.3

func (x *Oauth2ImplicitSecurity) GetAuthorizationUrl() string

func (*Oauth2ImplicitSecurity) GetDescription added in v0.0.3

func (x *Oauth2ImplicitSecurity) GetDescription() string

func (*Oauth2ImplicitSecurity) GetFlow added in v0.0.3

func (x *Oauth2ImplicitSecurity) GetFlow() string

func (*Oauth2ImplicitSecurity) GetScopes added in v0.0.3

func (x *Oauth2ImplicitSecurity) GetScopes() *Oauth2Scopes

func (*Oauth2ImplicitSecurity) GetType added in v0.0.3

func (x *Oauth2ImplicitSecurity) GetType() string

func (*Oauth2ImplicitSecurity) GetVendorExtension added in v0.0.3

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

func (*Oauth2ImplicitSecurity) ProtoMessage added in v0.0.3

func (*Oauth2ImplicitSecurity) ProtoMessage()

func (*Oauth2ImplicitSecurity) ProtoReflect added in v0.0.3

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

func (*Oauth2ImplicitSecurity) Reset added in v0.0.3

func (x *Oauth2ImplicitSecurity) Reset()

func (*Oauth2ImplicitSecurity) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Oauth2ImplicitSecurity objects.

func (*Oauth2ImplicitSecurity) String added in v0.0.3

func (x *Oauth2ImplicitSecurity) String() string

func (*Oauth2ImplicitSecurity) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Oauth2PasswordSecurity.ProtoReflect.Descriptor instead.

func (*Oauth2PasswordSecurity) GetDescription added in v0.0.3

func (x *Oauth2PasswordSecurity) GetDescription() string

func (*Oauth2PasswordSecurity) GetFlow added in v0.0.3

func (x *Oauth2PasswordSecurity) GetFlow() string

func (*Oauth2PasswordSecurity) GetScopes added in v0.0.3

func (x *Oauth2PasswordSecurity) GetScopes() *Oauth2Scopes

func (*Oauth2PasswordSecurity) GetTokenUrl added in v0.0.3

func (x *Oauth2PasswordSecurity) GetTokenUrl() string

func (*Oauth2PasswordSecurity) GetType added in v0.0.3

func (x *Oauth2PasswordSecurity) GetType() string

func (*Oauth2PasswordSecurity) GetVendorExtension added in v0.0.3

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

func (*Oauth2PasswordSecurity) ProtoMessage added in v0.0.3

func (*Oauth2PasswordSecurity) ProtoMessage()

func (*Oauth2PasswordSecurity) ProtoReflect added in v0.0.3

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

func (*Oauth2PasswordSecurity) Reset added in v0.0.3

func (x *Oauth2PasswordSecurity) Reset()

func (*Oauth2PasswordSecurity) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Oauth2PasswordSecurity objects.

func (*Oauth2PasswordSecurity) String added in v0.0.3

func (x *Oauth2PasswordSecurity) String() string

func (*Oauth2PasswordSecurity) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Oauth2Scopes.ProtoReflect.Descriptor instead.

func (*Oauth2Scopes) GetAdditionalProperties added in v0.0.3

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

func (*Oauth2Scopes) ProtoMessage added in v0.0.3

func (*Oauth2Scopes) ProtoMessage()

func (*Oauth2Scopes) ProtoReflect added in v0.0.3

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

func (*Oauth2Scopes) Reset added in v0.0.3

func (x *Oauth2Scopes) Reset()

func (*Oauth2Scopes) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Oauth2Scopes objects.

func (*Oauth2Scopes) String added in v0.0.3

func (x *Oauth2Scopes) String() string

func (*Oauth2Scopes) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) GetConsumes added in v0.0.3

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

func (*Operation) GetDeprecated added in v0.0.3

func (x *Operation) GetDeprecated() bool

func (*Operation) GetDescription added in v0.0.3

func (x *Operation) GetDescription() string

func (*Operation) GetExternalDocs added in v0.0.3

func (x *Operation) GetExternalDocs() *ExternalDocs

func (*Operation) GetOperationId added in v0.0.3

func (x *Operation) GetOperationId() string

func (*Operation) GetParameters added in v0.0.3

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

func (*Operation) GetProduces added in v0.0.3

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

func (*Operation) GetResponses added in v0.0.3

func (x *Operation) GetResponses() *Responses

func (*Operation) GetSchemes added in v0.0.3

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

func (*Operation) GetSecurity added in v0.0.3

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

func (*Operation) GetSummary added in v0.0.3

func (x *Operation) GetSummary() string

func (*Operation) GetTags added in v0.0.3

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

func (*Operation) GetVendorExtension added in v0.0.3

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

func (*Operation) ProtoMessage added in v0.0.3

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect added in v0.0.3

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

func (*Operation) Reset added in v0.0.3

func (x *Operation) Reset()

func (*Operation) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Operation objects.

func (*Operation) String added in v0.0.3

func (x *Operation) String() string

func (*Operation) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Parameter.ProtoReflect.Descriptor instead.

func (*Parameter) GetBodyParameter added in v0.0.3

func (x *Parameter) GetBodyParameter() *BodyParameter

func (*Parameter) GetNonBodyParameter added in v0.0.3

func (x *Parameter) GetNonBodyParameter() *NonBodyParameter

func (*Parameter) GetOneof added in v0.0.3

func (m *Parameter) GetOneof() isParameter_Oneof

func (*Parameter) ProtoMessage added in v0.0.3

func (*Parameter) ProtoMessage()

func (*Parameter) ProtoReflect added in v0.0.3

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

func (*Parameter) Reset added in v0.0.3

func (x *Parameter) Reset()

func (*Parameter) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Parameter objects.

func (*Parameter) String added in v0.0.3

func (x *Parameter) String() string

func (*Parameter) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use ParameterDefinitions.ProtoReflect.Descriptor instead.

func (*ParameterDefinitions) GetAdditionalProperties added in v0.0.3

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

func (*ParameterDefinitions) ProtoMessage added in v0.0.3

func (*ParameterDefinitions) ProtoMessage()

func (*ParameterDefinitions) ProtoReflect added in v0.0.3

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

func (*ParameterDefinitions) Reset added in v0.0.3

func (x *ParameterDefinitions) Reset()

func (*ParameterDefinitions) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside ParameterDefinitions objects.

func (*ParameterDefinitions) String added in v0.0.3

func (x *ParameterDefinitions) String() string

func (*ParameterDefinitions) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use ParametersItem.ProtoReflect.Descriptor instead.

func (*ParametersItem) GetJsonReference added in v0.0.3

func (x *ParametersItem) GetJsonReference() *JsonReference

func (*ParametersItem) GetOneof added in v0.0.3

func (m *ParametersItem) GetOneof() isParametersItem_Oneof

func (*ParametersItem) GetParameter added in v0.0.3

func (x *ParametersItem) GetParameter() *Parameter

func (*ParametersItem) ProtoMessage added in v0.0.3

func (*ParametersItem) ProtoMessage()

func (*ParametersItem) ProtoReflect added in v0.0.3

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

func (*ParametersItem) Reset added in v0.0.3

func (x *ParametersItem) Reset()

func (*ParametersItem) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside ParametersItem objects.

func (*ParametersItem) String added in v0.0.3

func (x *ParametersItem) String() string

func (*ParametersItem) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use PathItem.ProtoReflect.Descriptor instead.

func (*PathItem) GetDelete added in v0.0.3

func (x *PathItem) GetDelete() *Operation

func (*PathItem) GetGet added in v0.0.3

func (x *PathItem) GetGet() *Operation

func (*PathItem) GetHead added in v0.0.3

func (x *PathItem) GetHead() *Operation

func (*PathItem) GetOptions added in v0.0.3

func (x *PathItem) GetOptions() *Operation

func (*PathItem) GetParameters added in v0.0.3

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

func (*PathItem) GetPatch added in v0.0.3

func (x *PathItem) GetPatch() *Operation

func (*PathItem) GetPost added in v0.0.3

func (x *PathItem) GetPost() *Operation

func (*PathItem) GetPut added in v0.0.3

func (x *PathItem) GetPut() *Operation

func (*PathItem) GetVendorExtension added in v0.0.3

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

func (*PathItem) GetXRef added in v0.0.3

func (x *PathItem) GetXRef() string

func (*PathItem) ProtoMessage added in v0.0.3

func (*PathItem) ProtoMessage()

func (*PathItem) ProtoReflect added in v0.0.3

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

func (*PathItem) Reset added in v0.0.3

func (x *PathItem) Reset()

func (*PathItem) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside PathItem objects.

func (*PathItem) String added in v0.0.3

func (x *PathItem) String() string

func (*PathItem) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use PathParameterSubSchema.ProtoReflect.Descriptor instead.

func (*PathParameterSubSchema) GetCollectionFormat added in v0.0.3

func (x *PathParameterSubSchema) GetCollectionFormat() string

func (*PathParameterSubSchema) GetDefault added in v0.0.3

func (x *PathParameterSubSchema) GetDefault() *Any

func (*PathParameterSubSchema) GetDescription added in v0.0.3

func (x *PathParameterSubSchema) GetDescription() string

func (*PathParameterSubSchema) GetEnum added in v0.0.3

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

func (*PathParameterSubSchema) GetExclusiveMaximum added in v0.0.3

func (x *PathParameterSubSchema) GetExclusiveMaximum() bool

func (*PathParameterSubSchema) GetExclusiveMinimum added in v0.0.3

func (x *PathParameterSubSchema) GetExclusiveMinimum() bool

func (*PathParameterSubSchema) GetFormat added in v0.0.3

func (x *PathParameterSubSchema) GetFormat() string

func (*PathParameterSubSchema) GetIn added in v0.0.3

func (x *PathParameterSubSchema) GetIn() string

func (*PathParameterSubSchema) GetItems added in v0.0.3

func (x *PathParameterSubSchema) GetItems() *PrimitivesItems

func (*PathParameterSubSchema) GetMaxItems added in v0.0.3

func (x *PathParameterSubSchema) GetMaxItems() int64

func (*PathParameterSubSchema) GetMaxLength added in v0.0.3

func (x *PathParameterSubSchema) GetMaxLength() int64

func (*PathParameterSubSchema) GetMaximum added in v0.0.3

func (x *PathParameterSubSchema) GetMaximum() float64

func (*PathParameterSubSchema) GetMinItems added in v0.0.3

func (x *PathParameterSubSchema) GetMinItems() int64

func (*PathParameterSubSchema) GetMinLength added in v0.0.3

func (x *PathParameterSubSchema) GetMinLength() int64

func (*PathParameterSubSchema) GetMinimum added in v0.0.3

func (x *PathParameterSubSchema) GetMinimum() float64

func (*PathParameterSubSchema) GetMultipleOf added in v0.0.3

func (x *PathParameterSubSchema) GetMultipleOf() float64

func (*PathParameterSubSchema) GetName added in v0.0.3

func (x *PathParameterSubSchema) GetName() string

func (*PathParameterSubSchema) GetPattern added in v0.0.3

func (x *PathParameterSubSchema) GetPattern() string

func (*PathParameterSubSchema) GetRequired added in v0.0.3

func (x *PathParameterSubSchema) GetRequired() bool

func (*PathParameterSubSchema) GetType added in v0.0.3

func (x *PathParameterSubSchema) GetType() string

func (*PathParameterSubSchema) GetUniqueItems added in v0.0.3

func (x *PathParameterSubSchema) GetUniqueItems() bool

func (*PathParameterSubSchema) GetVendorExtension added in v0.0.3

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

func (*PathParameterSubSchema) ProtoMessage added in v0.0.3

func (*PathParameterSubSchema) ProtoMessage()

func (*PathParameterSubSchema) ProtoReflect added in v0.0.3

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

func (*PathParameterSubSchema) Reset added in v0.0.3

func (x *PathParameterSubSchema) Reset()

func (*PathParameterSubSchema) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside PathParameterSubSchema objects.

func (*PathParameterSubSchema) String added in v0.0.3

func (x *PathParameterSubSchema) String() string

func (*PathParameterSubSchema) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Paths.ProtoReflect.Descriptor instead.

func (*Paths) GetPath added in v0.0.3

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

func (*Paths) GetVendorExtension added in v0.0.3

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

func (*Paths) ProtoMessage added in v0.0.3

func (*Paths) ProtoMessage()

func (*Paths) ProtoReflect added in v0.0.3

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

func (*Paths) Reset added in v0.0.3

func (x *Paths) Reset()

func (*Paths) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Paths objects.

func (*Paths) String added in v0.0.3

func (x *Paths) String() string

func (*Paths) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use PrimitivesItems.ProtoReflect.Descriptor instead.

func (*PrimitivesItems) GetCollectionFormat added in v0.0.3

func (x *PrimitivesItems) GetCollectionFormat() string

func (*PrimitivesItems) GetDefault added in v0.0.3

func (x *PrimitivesItems) GetDefault() *Any

func (*PrimitivesItems) GetEnum added in v0.0.3

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

func (*PrimitivesItems) GetExclusiveMaximum added in v0.0.3

func (x *PrimitivesItems) GetExclusiveMaximum() bool

func (*PrimitivesItems) GetExclusiveMinimum added in v0.0.3

func (x *PrimitivesItems) GetExclusiveMinimum() bool

func (*PrimitivesItems) GetFormat added in v0.0.3

func (x *PrimitivesItems) GetFormat() string

func (*PrimitivesItems) GetItems added in v0.0.3

func (x *PrimitivesItems) GetItems() *PrimitivesItems

func (*PrimitivesItems) GetMaxItems added in v0.0.3

func (x *PrimitivesItems) GetMaxItems() int64

func (*PrimitivesItems) GetMaxLength added in v0.0.3

func (x *PrimitivesItems) GetMaxLength() int64

func (*PrimitivesItems) GetMaximum added in v0.0.3

func (x *PrimitivesItems) GetMaximum() float64

func (*PrimitivesItems) GetMinItems added in v0.0.3

func (x *PrimitivesItems) GetMinItems() int64

func (*PrimitivesItems) GetMinLength added in v0.0.3

func (x *PrimitivesItems) GetMinLength() int64

func (*PrimitivesItems) GetMinimum added in v0.0.3

func (x *PrimitivesItems) GetMinimum() float64

func (*PrimitivesItems) GetMultipleOf added in v0.0.3

func (x *PrimitivesItems) GetMultipleOf() float64

func (*PrimitivesItems) GetPattern added in v0.0.3

func (x *PrimitivesItems) GetPattern() string

func (*PrimitivesItems) GetType added in v0.0.3

func (x *PrimitivesItems) GetType() string

func (*PrimitivesItems) GetUniqueItems added in v0.0.3

func (x *PrimitivesItems) GetUniqueItems() bool

func (*PrimitivesItems) GetVendorExtension added in v0.0.3

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

func (*PrimitivesItems) ProtoMessage added in v0.0.3

func (*PrimitivesItems) ProtoMessage()

func (*PrimitivesItems) ProtoReflect added in v0.0.3

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

func (*PrimitivesItems) Reset added in v0.0.3

func (x *PrimitivesItems) Reset()

func (*PrimitivesItems) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside PrimitivesItems objects.

func (*PrimitivesItems) String added in v0.0.3

func (x *PrimitivesItems) String() string

func (*PrimitivesItems) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Properties.ProtoReflect.Descriptor instead.

func (*Properties) GetAdditionalProperties added in v0.0.3

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

func (*Properties) ProtoMessage added in v0.0.3

func (*Properties) ProtoMessage()

func (*Properties) ProtoReflect added in v0.0.3

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

func (*Properties) Reset added in v0.0.3

func (x *Properties) Reset()

func (*Properties) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Properties objects.

func (*Properties) String added in v0.0.3

func (x *Properties) String() string

func (*Properties) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use QueryParameterSubSchema.ProtoReflect.Descriptor instead.

func (*QueryParameterSubSchema) GetAllowEmptyValue added in v0.0.3

func (x *QueryParameterSubSchema) GetAllowEmptyValue() bool

func (*QueryParameterSubSchema) GetCollectionFormat added in v0.0.3

func (x *QueryParameterSubSchema) GetCollectionFormat() string

func (*QueryParameterSubSchema) GetDefault added in v0.0.3

func (x *QueryParameterSubSchema) GetDefault() *Any

func (*QueryParameterSubSchema) GetDescription added in v0.0.3

func (x *QueryParameterSubSchema) GetDescription() string

func (*QueryParameterSubSchema) GetEnum added in v0.0.3

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

func (*QueryParameterSubSchema) GetExclusiveMaximum added in v0.0.3

func (x *QueryParameterSubSchema) GetExclusiveMaximum() bool

func (*QueryParameterSubSchema) GetExclusiveMinimum added in v0.0.3

func (x *QueryParameterSubSchema) GetExclusiveMinimum() bool

func (*QueryParameterSubSchema) GetFormat added in v0.0.3

func (x *QueryParameterSubSchema) GetFormat() string

func (*QueryParameterSubSchema) GetIn added in v0.0.3

func (x *QueryParameterSubSchema) GetIn() string

func (*QueryParameterSubSchema) GetItems added in v0.0.3

func (*QueryParameterSubSchema) GetMaxItems added in v0.0.3

func (x *QueryParameterSubSchema) GetMaxItems() int64

func (*QueryParameterSubSchema) GetMaxLength added in v0.0.3

func (x *QueryParameterSubSchema) GetMaxLength() int64

func (*QueryParameterSubSchema) GetMaximum added in v0.0.3

func (x *QueryParameterSubSchema) GetMaximum() float64

func (*QueryParameterSubSchema) GetMinItems added in v0.0.3

func (x *QueryParameterSubSchema) GetMinItems() int64

func (*QueryParameterSubSchema) GetMinLength added in v0.0.3

func (x *QueryParameterSubSchema) GetMinLength() int64

func (*QueryParameterSubSchema) GetMinimum added in v0.0.3

func (x *QueryParameterSubSchema) GetMinimum() float64

func (*QueryParameterSubSchema) GetMultipleOf added in v0.0.3

func (x *QueryParameterSubSchema) GetMultipleOf() float64

func (*QueryParameterSubSchema) GetName added in v0.0.3

func (x *QueryParameterSubSchema) GetName() string

func (*QueryParameterSubSchema) GetPattern added in v0.0.3

func (x *QueryParameterSubSchema) GetPattern() string

func (*QueryParameterSubSchema) GetRequired added in v0.0.3

func (x *QueryParameterSubSchema) GetRequired() bool

func (*QueryParameterSubSchema) GetType added in v0.0.3

func (x *QueryParameterSubSchema) GetType() string

func (*QueryParameterSubSchema) GetUniqueItems added in v0.0.3

func (x *QueryParameterSubSchema) GetUniqueItems() bool

func (*QueryParameterSubSchema) GetVendorExtension added in v0.0.3

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

func (*QueryParameterSubSchema) ProtoMessage added in v0.0.3

func (*QueryParameterSubSchema) ProtoMessage()

func (*QueryParameterSubSchema) ProtoReflect added in v0.0.3

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

func (*QueryParameterSubSchema) Reset added in v0.0.3

func (x *QueryParameterSubSchema) Reset()

func (*QueryParameterSubSchema) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside QueryParameterSubSchema objects.

func (*QueryParameterSubSchema) String added in v0.0.3

func (x *QueryParameterSubSchema) String() string

func (*QueryParameterSubSchema) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetDescription added in v0.0.3

func (x *Response) GetDescription() string

func (*Response) GetExamples added in v0.0.3

func (x *Response) GetExamples() *Examples

func (*Response) GetHeaders added in v0.0.3

func (x *Response) GetHeaders() *Headers

func (*Response) GetSchema added in v0.0.3

func (x *Response) GetSchema() *SchemaItem

func (*Response) GetVendorExtension added in v0.0.3

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

func (*Response) ProtoMessage added in v0.0.3

func (*Response) ProtoMessage()

func (*Response) ProtoReflect added in v0.0.3

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

func (*Response) Reset added in v0.0.3

func (x *Response) Reset()

func (*Response) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Response objects.

func (*Response) String added in v0.0.3

func (x *Response) String() string

func (*Response) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use ResponseDefinitions.ProtoReflect.Descriptor instead.

func (*ResponseDefinitions) GetAdditionalProperties added in v0.0.3

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

func (*ResponseDefinitions) ProtoMessage added in v0.0.3

func (*ResponseDefinitions) ProtoMessage()

func (*ResponseDefinitions) ProtoReflect added in v0.0.3

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

func (*ResponseDefinitions) Reset added in v0.0.3

func (x *ResponseDefinitions) Reset()

func (*ResponseDefinitions) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside ResponseDefinitions objects.

func (*ResponseDefinitions) String added in v0.0.3

func (x *ResponseDefinitions) String() string

func (*ResponseDefinitions) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use ResponseValue.ProtoReflect.Descriptor instead.

func (*ResponseValue) GetJsonReference added in v0.0.3

func (x *ResponseValue) GetJsonReference() *JsonReference

func (*ResponseValue) GetOneof added in v0.0.3

func (m *ResponseValue) GetOneof() isResponseValue_Oneof

func (*ResponseValue) GetResponse added in v0.0.3

func (x *ResponseValue) GetResponse() *Response

func (*ResponseValue) ProtoMessage added in v0.0.3

func (*ResponseValue) ProtoMessage()

func (*ResponseValue) ProtoReflect added in v0.0.3

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

func (*ResponseValue) Reset added in v0.0.3

func (x *ResponseValue) Reset()

func (*ResponseValue) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside ResponseValue objects.

func (*ResponseValue) String added in v0.0.3

func (x *ResponseValue) String() string

func (*ResponseValue) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Responses.ProtoReflect.Descriptor instead.

func (*Responses) GetResponseCode added in v0.0.3

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

func (*Responses) GetVendorExtension added in v0.0.3

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

func (*Responses) ProtoMessage added in v0.0.3

func (*Responses) ProtoMessage()

func (*Responses) ProtoReflect added in v0.0.3

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

func (*Responses) Reset added in v0.0.3

func (x *Responses) Reset()

func (*Responses) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Responses objects.

func (*Responses) String added in v0.0.3

func (x *Responses) String() string

func (*Responses) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Schema.ProtoReflect.Descriptor instead.

func (*Schema) GetAdditionalProperties added in v0.0.3

func (x *Schema) GetAdditionalProperties() *AdditionalPropertiesItem

func (*Schema) GetAllOf added in v0.0.3

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

func (*Schema) GetDefault added in v0.0.3

func (x *Schema) GetDefault() *Any

func (*Schema) GetDescription added in v0.0.3

func (x *Schema) GetDescription() string

func (*Schema) GetDiscriminator added in v0.0.3

func (x *Schema) GetDiscriminator() string

func (*Schema) GetEnum added in v0.0.3

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

func (*Schema) GetExample added in v0.0.3

func (x *Schema) GetExample() *Any

func (*Schema) GetExclusiveMaximum added in v0.0.3

func (x *Schema) GetExclusiveMaximum() bool

func (*Schema) GetExclusiveMinimum added in v0.0.3

func (x *Schema) GetExclusiveMinimum() bool

func (*Schema) GetExternalDocs added in v0.0.3

func (x *Schema) GetExternalDocs() *ExternalDocs

func (*Schema) GetFormat added in v0.0.3

func (x *Schema) GetFormat() string

func (*Schema) GetItems added in v0.0.3

func (x *Schema) GetItems() *ItemsItem

func (*Schema) GetMaxItems added in v0.0.3

func (x *Schema) GetMaxItems() int64

func (*Schema) GetMaxLength added in v0.0.3

func (x *Schema) GetMaxLength() int64

func (*Schema) GetMaxProperties added in v0.0.3

func (x *Schema) GetMaxProperties() int64

func (*Schema) GetMaximum added in v0.0.3

func (x *Schema) GetMaximum() float64

func (*Schema) GetMinItems added in v0.0.3

func (x *Schema) GetMinItems() int64

func (*Schema) GetMinLength added in v0.0.3

func (x *Schema) GetMinLength() int64

func (*Schema) GetMinProperties added in v0.0.3

func (x *Schema) GetMinProperties() int64

func (*Schema) GetMinimum added in v0.0.3

func (x *Schema) GetMinimum() float64

func (*Schema) GetMultipleOf added in v0.0.3

func (x *Schema) GetMultipleOf() float64

func (*Schema) GetPattern added in v0.0.3

func (x *Schema) GetPattern() string

func (*Schema) GetProperties added in v0.0.3

func (x *Schema) GetProperties() *Properties

func (*Schema) GetReadOnly added in v0.0.3

func (x *Schema) GetReadOnly() bool

func (*Schema) GetRequired added in v0.0.3

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

func (*Schema) GetTitle added in v0.0.3

func (x *Schema) GetTitle() string

func (*Schema) GetType added in v0.0.3

func (x *Schema) GetType() *TypeItem

func (*Schema) GetUniqueItems added in v0.0.3

func (x *Schema) GetUniqueItems() bool

func (*Schema) GetVendorExtension added in v0.0.3

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

func (*Schema) GetXRef added in v0.0.3

func (x *Schema) GetXRef() string

func (*Schema) GetXml added in v0.0.3

func (x *Schema) GetXml() *Xml

func (*Schema) ProtoMessage added in v0.0.3

func (*Schema) ProtoMessage()

func (*Schema) ProtoReflect added in v0.0.3

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

func (*Schema) Reset added in v0.0.3

func (x *Schema) Reset()

func (*Schema) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Schema objects.

func (*Schema) String added in v0.0.3

func (x *Schema) String() string

func (*Schema) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use SchemaItem.ProtoReflect.Descriptor instead.

func (*SchemaItem) GetFileSchema added in v0.0.3

func (x *SchemaItem) GetFileSchema() *FileSchema

func (*SchemaItem) GetOneof added in v0.0.3

func (m *SchemaItem) GetOneof() isSchemaItem_Oneof

func (*SchemaItem) GetSchema added in v0.0.3

func (x *SchemaItem) GetSchema() *Schema

func (*SchemaItem) ProtoMessage added in v0.0.3

func (*SchemaItem) ProtoMessage()

func (*SchemaItem) ProtoReflect added in v0.0.3

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

func (*SchemaItem) Reset added in v0.0.3

func (x *SchemaItem) Reset()

func (*SchemaItem) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside SchemaItem objects.

func (*SchemaItem) String added in v0.0.3

func (x *SchemaItem) String() string

func (*SchemaItem) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use SecurityDefinitions.ProtoReflect.Descriptor instead.

func (*SecurityDefinitions) GetAdditionalProperties added in v0.0.3

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

func (*SecurityDefinitions) ProtoMessage added in v0.0.3

func (*SecurityDefinitions) ProtoMessage()

func (*SecurityDefinitions) ProtoReflect added in v0.0.3

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

func (*SecurityDefinitions) Reset added in v0.0.3

func (x *SecurityDefinitions) Reset()

func (*SecurityDefinitions) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside SecurityDefinitions objects.

func (*SecurityDefinitions) String added in v0.0.3

func (x *SecurityDefinitions) String() string

func (*SecurityDefinitions) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use SecurityDefinitionsItem.ProtoReflect.Descriptor instead.

func (*SecurityDefinitionsItem) GetApiKeySecurity added in v0.0.3

func (x *SecurityDefinitionsItem) GetApiKeySecurity() *ApiKeySecurity

func (*SecurityDefinitionsItem) GetBasicAuthenticationSecurity added in v0.0.3

func (x *SecurityDefinitionsItem) GetBasicAuthenticationSecurity() *BasicAuthenticationSecurity

func (*SecurityDefinitionsItem) GetOauth2AccessCodeSecurity added in v0.0.3

func (x *SecurityDefinitionsItem) GetOauth2AccessCodeSecurity() *Oauth2AccessCodeSecurity

func (*SecurityDefinitionsItem) GetOauth2ApplicationSecurity added in v0.0.3

func (x *SecurityDefinitionsItem) GetOauth2ApplicationSecurity() *Oauth2ApplicationSecurity

func (*SecurityDefinitionsItem) GetOauth2ImplicitSecurity added in v0.0.3

func (x *SecurityDefinitionsItem) GetOauth2ImplicitSecurity() *Oauth2ImplicitSecurity

func (*SecurityDefinitionsItem) GetOauth2PasswordSecurity added in v0.0.3

func (x *SecurityDefinitionsItem) GetOauth2PasswordSecurity() *Oauth2PasswordSecurity

func (*SecurityDefinitionsItem) GetOneof added in v0.0.3

func (m *SecurityDefinitionsItem) GetOneof() isSecurityDefinitionsItem_Oneof

func (*SecurityDefinitionsItem) ProtoMessage added in v0.0.3

func (*SecurityDefinitionsItem) ProtoMessage()

func (*SecurityDefinitionsItem) ProtoReflect added in v0.0.3

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

func (*SecurityDefinitionsItem) Reset added in v0.0.3

func (x *SecurityDefinitionsItem) Reset()

func (*SecurityDefinitionsItem) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside SecurityDefinitionsItem objects.

func (*SecurityDefinitionsItem) String added in v0.0.3

func (x *SecurityDefinitionsItem) String() string

func (*SecurityDefinitionsItem) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use SecurityRequirement.ProtoReflect.Descriptor instead.

func (*SecurityRequirement) GetAdditionalProperties added in v0.0.3

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

func (*SecurityRequirement) ProtoMessage added in v0.0.3

func (*SecurityRequirement) ProtoMessage()

func (*SecurityRequirement) ProtoReflect added in v0.0.3

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

func (*SecurityRequirement) Reset added in v0.0.3

func (x *SecurityRequirement) Reset()

func (*SecurityRequirement) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside SecurityRequirement objects.

func (*SecurityRequirement) String added in v0.0.3

func (x *SecurityRequirement) String() string

func (*SecurityRequirement) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use StringArray.ProtoReflect.Descriptor instead.

func (*StringArray) GetValue added in v0.0.3

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

func (*StringArray) ProtoMessage added in v0.0.3

func (*StringArray) ProtoMessage()

func (*StringArray) ProtoReflect added in v0.0.3

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

func (*StringArray) Reset added in v0.0.3

func (x *StringArray) Reset()

func (*StringArray) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside StringArray objects.

func (*StringArray) String added in v0.0.3

func (x *StringArray) String() string

func (*StringArray) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetDescription added in v0.0.3

func (x *Tag) GetDescription() string

func (*Tag) GetExternalDocs added in v0.0.3

func (x *Tag) GetExternalDocs() *ExternalDocs

func (*Tag) GetName added in v0.0.3

func (x *Tag) GetName() string

func (*Tag) GetVendorExtension added in v0.0.3

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

func (*Tag) ProtoMessage added in v0.0.3

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect added in v0.0.3

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

func (*Tag) Reset added in v0.0.3

func (x *Tag) Reset()

func (*Tag) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Tag objects.

func (*Tag) String added in v0.0.3

func (x *Tag) String() string

func (*Tag) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use TypeItem.ProtoReflect.Descriptor instead.

func (*TypeItem) GetValue added in v0.0.3

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

func (*TypeItem) ProtoMessage added in v0.0.3

func (*TypeItem) ProtoMessage()

func (*TypeItem) ProtoReflect added in v0.0.3

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

func (*TypeItem) Reset added in v0.0.3

func (x *TypeItem) Reset()

func (*TypeItem) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside TypeItem objects.

func (*TypeItem) String added in v0.0.3

func (x *TypeItem) String() string

func (*TypeItem) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use VendorExtension.ProtoReflect.Descriptor instead.

func (*VendorExtension) GetAdditionalProperties added in v0.0.3

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

func (*VendorExtension) ProtoMessage added in v0.0.3

func (*VendorExtension) ProtoMessage()

func (*VendorExtension) ProtoReflect added in v0.0.3

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

func (*VendorExtension) Reset added in v0.0.3

func (x *VendorExtension) Reset()

func (*VendorExtension) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside VendorExtension objects.

func (*VendorExtension) String added in v0.0.3

func (x *VendorExtension) String() string

func (*VendorExtension) ToRawInfo added in v0.0.3

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 added in v0.0.3

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

Deprecated: Use Xml.ProtoReflect.Descriptor instead.

func (*Xml) GetAttribute added in v0.0.3

func (x *Xml) GetAttribute() bool

func (*Xml) GetName added in v0.0.3

func (x *Xml) GetName() string

func (*Xml) GetNamespace added in v0.0.3

func (x *Xml) GetNamespace() string

func (*Xml) GetPrefix added in v0.0.3

func (x *Xml) GetPrefix() string

func (*Xml) GetVendorExtension added in v0.0.3

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

func (*Xml) GetWrapped added in v0.0.3

func (x *Xml) GetWrapped() bool

func (*Xml) ProtoMessage added in v0.0.3

func (*Xml) ProtoMessage()

func (*Xml) ProtoReflect added in v0.0.3

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

func (*Xml) Reset added in v0.0.3

func (x *Xml) Reset()

func (*Xml) ResolveReferences added in v0.0.3

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

ResolveReferences resolves references found inside Xml objects.

func (*Xml) String added in v0.0.3

func (x *Xml) String() string

func (*Xml) ToRawInfo added in v0.0.3

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