gnostic: github.com/googleapis/gnostic/openapiv2 Index | Files

package openapi_v2

import "github.com/googleapis/gnostic/openapiv2"

Index

Package Files

OpenAPIv2.go OpenAPIv2.pb.go document.go

Variables

var File_openapiv2_OpenAPIv2_proto protoreflect.FileDescriptor

func Version Uses

func Version() string

Version returns the package name (and OpenAPI version).

type AdditionalPropertiesItem Uses

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 Uses

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 Uses

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

Deprecated: Use AdditionalPropertiesItem.ProtoReflect.Descriptor instead.

func (*AdditionalPropertiesItem) GetBoolean Uses

func (x *AdditionalPropertiesItem) GetBoolean() bool

func (*AdditionalPropertiesItem) GetOneof Uses

func (m *AdditionalPropertiesItem) GetOneof() isAdditionalPropertiesItem_Oneof

func (*AdditionalPropertiesItem) GetSchema Uses

func (x *AdditionalPropertiesItem) GetSchema() *Schema

func (*AdditionalPropertiesItem) ProtoMessage Uses

func (*AdditionalPropertiesItem) ProtoMessage()

func (*AdditionalPropertiesItem) ProtoReflect Uses

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

func (*AdditionalPropertiesItem) Reset Uses

func (x *AdditionalPropertiesItem) Reset()

func (*AdditionalPropertiesItem) ResolveReferences Uses

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

ResolveReferences resolves references found inside AdditionalPropertiesItem objects.

func (*AdditionalPropertiesItem) String Uses

func (x *AdditionalPropertiesItem) String() string

func (*AdditionalPropertiesItem) ToRawInfo Uses

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

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

type AdditionalPropertiesItem_Boolean Uses

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

type AdditionalPropertiesItem_Schema Uses

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

type Any Uses

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

func NewAny Uses

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 Uses

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

Deprecated: Use Any.ProtoReflect.Descriptor instead.

func (*Any) GetValue Uses

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

func (*Any) GetYaml Uses

func (x *Any) GetYaml() string

func (*Any) ProtoMessage Uses

func (*Any) ProtoMessage()

func (*Any) ProtoReflect Uses

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

func (*Any) Reset Uses

func (x *Any) Reset()

func (*Any) ResolveReferences Uses

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

ResolveReferences resolves references found inside Any objects.

func (*Any) String Uses

func (x *Any) String() string

func (*Any) ToRawInfo Uses

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

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

type ApiKeySecurity Uses

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 Uses

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 Uses

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

Deprecated: Use ApiKeySecurity.ProtoReflect.Descriptor instead.

func (*ApiKeySecurity) GetDescription Uses

func (x *ApiKeySecurity) GetDescription() string

func (*ApiKeySecurity) GetIn Uses

func (x *ApiKeySecurity) GetIn() string

func (*ApiKeySecurity) GetName Uses

func (x *ApiKeySecurity) GetName() string

func (*ApiKeySecurity) GetType Uses

func (x *ApiKeySecurity) GetType() string

func (*ApiKeySecurity) GetVendorExtension Uses

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

func (*ApiKeySecurity) ProtoMessage Uses

func (*ApiKeySecurity) ProtoMessage()

func (*ApiKeySecurity) ProtoReflect Uses

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

func (*ApiKeySecurity) Reset Uses

func (x *ApiKeySecurity) Reset()

func (*ApiKeySecurity) ResolveReferences Uses

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

ResolveReferences resolves references found inside ApiKeySecurity objects.

func (*ApiKeySecurity) String Uses

func (x *ApiKeySecurity) String() string

func (*ApiKeySecurity) ToRawInfo Uses

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

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

type BasicAuthenticationSecurity Uses

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 Uses

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 Uses

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

Deprecated: Use BasicAuthenticationSecurity.ProtoReflect.Descriptor instead.

func (*BasicAuthenticationSecurity) GetDescription Uses

func (x *BasicAuthenticationSecurity) GetDescription() string

func (*BasicAuthenticationSecurity) GetType Uses

func (x *BasicAuthenticationSecurity) GetType() string

func (*BasicAuthenticationSecurity) GetVendorExtension Uses

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

func (*BasicAuthenticationSecurity) ProtoMessage Uses

func (*BasicAuthenticationSecurity) ProtoMessage()

func (*BasicAuthenticationSecurity) ProtoReflect Uses

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

func (*BasicAuthenticationSecurity) Reset Uses

func (x *BasicAuthenticationSecurity) Reset()

func (*BasicAuthenticationSecurity) ResolveReferences Uses

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

ResolveReferences resolves references found inside BasicAuthenticationSecurity objects.

func (*BasicAuthenticationSecurity) String Uses

func (x *BasicAuthenticationSecurity) String() string

func (*BasicAuthenticationSecurity) ToRawInfo Uses

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

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

type BodyParameter Uses

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 Uses

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 Uses

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

Deprecated: Use BodyParameter.ProtoReflect.Descriptor instead.

func (*BodyParameter) GetDescription Uses

func (x *BodyParameter) GetDescription() string

func (*BodyParameter) GetIn Uses

func (x *BodyParameter) GetIn() string

func (*BodyParameter) GetName Uses

func (x *BodyParameter) GetName() string

func (*BodyParameter) GetRequired Uses

func (x *BodyParameter) GetRequired() bool

func (*BodyParameter) GetSchema Uses

func (x *BodyParameter) GetSchema() *Schema

func (*BodyParameter) GetVendorExtension Uses

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

func (*BodyParameter) ProtoMessage Uses

func (*BodyParameter) ProtoMessage()

func (*BodyParameter) ProtoReflect Uses

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

func (*BodyParameter) Reset Uses

func (x *BodyParameter) Reset()

func (*BodyParameter) ResolveReferences Uses

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

ResolveReferences resolves references found inside BodyParameter objects.

func (*BodyParameter) String Uses

func (x *BodyParameter) String() string

func (*BodyParameter) ToRawInfo Uses

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

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

type Contact Uses

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 Uses

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 Uses

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

Deprecated: Use Contact.ProtoReflect.Descriptor instead.

func (*Contact) GetEmail Uses

func (x *Contact) GetEmail() string

func (*Contact) GetName Uses

func (x *Contact) GetName() string

func (*Contact) GetUrl Uses

func (x *Contact) GetUrl() string

func (*Contact) GetVendorExtension Uses

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

func (*Contact) ProtoMessage Uses

func (*Contact) ProtoMessage()

func (*Contact) ProtoReflect Uses

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

func (*Contact) Reset Uses

func (x *Contact) Reset()

func (*Contact) ResolveReferences Uses

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

ResolveReferences resolves references found inside Contact objects.

func (*Contact) String Uses

func (x *Contact) String() string

func (*Contact) ToRawInfo Uses

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

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

type Default Uses

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 Uses

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 Uses

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

Deprecated: Use Default.ProtoReflect.Descriptor instead.

func (*Default) GetAdditionalProperties Uses

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

func (*Default) ProtoMessage Uses

func (*Default) ProtoMessage()

func (*Default) ProtoReflect Uses

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

func (*Default) Reset Uses

func (x *Default) Reset()

func (*Default) ResolveReferences Uses

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

ResolveReferences resolves references found inside Default objects.

func (*Default) String Uses

func (x *Default) String() string

func (*Default) ToRawInfo Uses

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

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

type Definitions Uses

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 Uses

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 Uses

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

Deprecated: Use Definitions.ProtoReflect.Descriptor instead.

func (*Definitions) GetAdditionalProperties Uses

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

func (*Definitions) ProtoMessage Uses

func (*Definitions) ProtoMessage()

func (*Definitions) ProtoReflect Uses

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

func (*Definitions) Reset Uses

func (x *Definitions) Reset()

func (*Definitions) ResolveReferences Uses

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

ResolveReferences resolves references found inside Definitions objects.

func (*Definitions) String Uses

func (x *Definitions) String() string

func (*Definitions) ToRawInfo Uses

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

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

type Document Uses

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 Uses

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 Uses

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

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

func (*Document) Descriptor Uses

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

Deprecated: Use Document.ProtoReflect.Descriptor instead.

func (*Document) GetBasePath Uses

func (x *Document) GetBasePath() string

func (*Document) GetConsumes Uses

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

func (*Document) GetDefinitions Uses

func (x *Document) GetDefinitions() *Definitions

func (*Document) GetExternalDocs Uses

func (x *Document) GetExternalDocs() *ExternalDocs

func (*Document) GetHost Uses

func (x *Document) GetHost() string

func (*Document) GetInfo Uses

func (x *Document) GetInfo() *Info

func (*Document) GetParameters Uses

func (x *Document) GetParameters() *ParameterDefinitions

func (*Document) GetPaths Uses

func (x *Document) GetPaths() *Paths

func (*Document) GetProduces Uses

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

func (*Document) GetResponses Uses

func (x *Document) GetResponses() *ResponseDefinitions

func (*Document) GetSchemes Uses

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

func (*Document) GetSecurity Uses

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

func (*Document) GetSecurityDefinitions Uses

func (x *Document) GetSecurityDefinitions() *SecurityDefinitions

func (*Document) GetSwagger Uses

func (x *Document) GetSwagger() string

func (*Document) GetTags Uses

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

func (*Document) GetVendorExtension Uses

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

func (*Document) ProtoMessage Uses

func (*Document) ProtoMessage()

func (*Document) ProtoReflect Uses

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

func (*Document) Reset Uses

func (x *Document) Reset()

func (*Document) ResolveReferences Uses

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

ResolveReferences resolves references found inside Document objects.

func (*Document) String Uses

func (x *Document) String() string

func (*Document) ToRawInfo Uses

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

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

type Examples Uses

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 Uses

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 Uses

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

Deprecated: Use Examples.ProtoReflect.Descriptor instead.

func (*Examples) GetAdditionalProperties Uses

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

func (*Examples) ProtoMessage Uses

func (*Examples) ProtoMessage()

func (*Examples) ProtoReflect Uses

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

func (*Examples) Reset Uses

func (x *Examples) Reset()

func (*Examples) ResolveReferences Uses

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

ResolveReferences resolves references found inside Examples objects.

func (*Examples) String Uses

func (x *Examples) String() string

func (*Examples) ToRawInfo Uses

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

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

type ExternalDocs Uses

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 Uses

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 Uses

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

Deprecated: Use ExternalDocs.ProtoReflect.Descriptor instead.

func (*ExternalDocs) GetDescription Uses

func (x *ExternalDocs) GetDescription() string

func (*ExternalDocs) GetUrl Uses

func (x *ExternalDocs) GetUrl() string

func (*ExternalDocs) GetVendorExtension Uses

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

func (*ExternalDocs) ProtoMessage Uses

func (*ExternalDocs) ProtoMessage()

func (*ExternalDocs) ProtoReflect Uses

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

func (*ExternalDocs) Reset Uses

func (x *ExternalDocs) Reset()

func (*ExternalDocs) ResolveReferences Uses

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

ResolveReferences resolves references found inside ExternalDocs objects.

func (*ExternalDocs) String Uses

func (x *ExternalDocs) String() string

func (*ExternalDocs) ToRawInfo Uses

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

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

type FileSchema Uses

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 Uses

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 Uses

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

Deprecated: Use FileSchema.ProtoReflect.Descriptor instead.

func (*FileSchema) GetDefault Uses

func (x *FileSchema) GetDefault() *Any

func (*FileSchema) GetDescription Uses

func (x *FileSchema) GetDescription() string

func (*FileSchema) GetExample Uses

func (x *FileSchema) GetExample() *Any

func (*FileSchema) GetExternalDocs Uses

func (x *FileSchema) GetExternalDocs() *ExternalDocs

func (*FileSchema) GetFormat Uses

func (x *FileSchema) GetFormat() string

func (*FileSchema) GetReadOnly Uses

func (x *FileSchema) GetReadOnly() bool

func (*FileSchema) GetRequired Uses

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

func (*FileSchema) GetTitle Uses

func (x *FileSchema) GetTitle() string

func (*FileSchema) GetType Uses

func (x *FileSchema) GetType() string

func (*FileSchema) GetVendorExtension Uses

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

func (*FileSchema) ProtoMessage Uses

func (*FileSchema) ProtoMessage()

func (*FileSchema) ProtoReflect Uses

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

func (*FileSchema) Reset Uses

func (x *FileSchema) Reset()

func (*FileSchema) ResolveReferences Uses

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

ResolveReferences resolves references found inside FileSchema objects.

func (*FileSchema) String Uses

func (x *FileSchema) String() string

func (*FileSchema) ToRawInfo Uses

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

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

type FormDataParameterSubSchema Uses

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 Uses

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 Uses

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

Deprecated: Use FormDataParameterSubSchema.ProtoReflect.Descriptor instead.

func (*FormDataParameterSubSchema) GetAllowEmptyValue Uses

func (x *FormDataParameterSubSchema) GetAllowEmptyValue() bool

func (*FormDataParameterSubSchema) GetCollectionFormat Uses

func (x *FormDataParameterSubSchema) GetCollectionFormat() string

func (*FormDataParameterSubSchema) GetDefault Uses

func (x *FormDataParameterSubSchema) GetDefault() *Any

func (*FormDataParameterSubSchema) GetDescription Uses

func (x *FormDataParameterSubSchema) GetDescription() string

func (*FormDataParameterSubSchema) GetEnum Uses

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

func (*FormDataParameterSubSchema) GetExclusiveMaximum Uses

func (x *FormDataParameterSubSchema) GetExclusiveMaximum() bool

func (*FormDataParameterSubSchema) GetExclusiveMinimum Uses

func (x *FormDataParameterSubSchema) GetExclusiveMinimum() bool

func (*FormDataParameterSubSchema) GetFormat Uses

func (x *FormDataParameterSubSchema) GetFormat() string

func (*FormDataParameterSubSchema) GetIn Uses

func (x *FormDataParameterSubSchema) GetIn() string

func (*FormDataParameterSubSchema) GetItems Uses

func (x *FormDataParameterSubSchema) GetItems() *PrimitivesItems

func (*FormDataParameterSubSchema) GetMaxItems Uses

func (x *FormDataParameterSubSchema) GetMaxItems() int64

func (*FormDataParameterSubSchema) GetMaxLength Uses

func (x *FormDataParameterSubSchema) GetMaxLength() int64

func (*FormDataParameterSubSchema) GetMaximum Uses

func (x *FormDataParameterSubSchema) GetMaximum() float64

func (*FormDataParameterSubSchema) GetMinItems Uses

func (x *FormDataParameterSubSchema) GetMinItems() int64

func (*FormDataParameterSubSchema) GetMinLength Uses

func (x *FormDataParameterSubSchema) GetMinLength() int64

func (*FormDataParameterSubSchema) GetMinimum Uses

func (x *FormDataParameterSubSchema) GetMinimum() float64

func (*FormDataParameterSubSchema) GetMultipleOf Uses

func (x *FormDataParameterSubSchema) GetMultipleOf() float64

func (*FormDataParameterSubSchema) GetName Uses

func (x *FormDataParameterSubSchema) GetName() string

func (*FormDataParameterSubSchema) GetPattern Uses

func (x *FormDataParameterSubSchema) GetPattern() string

func (*FormDataParameterSubSchema) GetRequired Uses

func (x *FormDataParameterSubSchema) GetRequired() bool

func (*FormDataParameterSubSchema) GetType Uses

func (x *FormDataParameterSubSchema) GetType() string

func (*FormDataParameterSubSchema) GetUniqueItems Uses

func (x *FormDataParameterSubSchema) GetUniqueItems() bool

func (*FormDataParameterSubSchema) GetVendorExtension Uses

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

func (*FormDataParameterSubSchema) ProtoMessage Uses

func (*FormDataParameterSubSchema) ProtoMessage()

func (*FormDataParameterSubSchema) ProtoReflect Uses

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

func (*FormDataParameterSubSchema) Reset Uses

func (x *FormDataParameterSubSchema) Reset()

func (*FormDataParameterSubSchema) ResolveReferences Uses

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

ResolveReferences resolves references found inside FormDataParameterSubSchema objects.

func (*FormDataParameterSubSchema) String Uses

func (x *FormDataParameterSubSchema) String() string

func (*FormDataParameterSubSchema) ToRawInfo Uses

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 Uses

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 Uses

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

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetCollectionFormat Uses

func (x *Header) GetCollectionFormat() string

func (*Header) GetDefault Uses

func (x *Header) GetDefault() *Any

func (*Header) GetDescription Uses

func (x *Header) GetDescription() string

func (*Header) GetEnum Uses

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

func (*Header) GetExclusiveMaximum Uses

func (x *Header) GetExclusiveMaximum() bool

func (*Header) GetExclusiveMinimum Uses

func (x *Header) GetExclusiveMinimum() bool

func (*Header) GetFormat Uses

func (x *Header) GetFormat() string

func (*Header) GetItems Uses

func (x *Header) GetItems() *PrimitivesItems

func (*Header) GetMaxItems Uses

func (x *Header) GetMaxItems() int64

func (*Header) GetMaxLength Uses

func (x *Header) GetMaxLength() int64

func (*Header) GetMaximum Uses

func (x *Header) GetMaximum() float64

func (*Header) GetMinItems Uses

func (x *Header) GetMinItems() int64

func (*Header) GetMinLength Uses

func (x *Header) GetMinLength() int64

func (*Header) GetMinimum Uses

func (x *Header) GetMinimum() float64

func (*Header) GetMultipleOf Uses

func (x *Header) GetMultipleOf() float64

func (*Header) GetPattern Uses

func (x *Header) GetPattern() string

func (*Header) GetType Uses

func (x *Header) GetType() string

func (*Header) GetUniqueItems Uses

func (x *Header) GetUniqueItems() bool

func (*Header) GetVendorExtension Uses

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

func (*Header) ProtoMessage Uses

func (*Header) ProtoMessage()

func (*Header) ProtoReflect Uses

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

func (*Header) Reset Uses

func (x *Header) Reset()

func (*Header) ResolveReferences Uses

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

ResolveReferences resolves references found inside Header objects.

func (*Header) String Uses

func (x *Header) String() string

func (*Header) ToRawInfo Uses

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

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

type HeaderParameterSubSchema Uses

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 Uses

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 Uses

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

Deprecated: Use HeaderParameterSubSchema.ProtoReflect.Descriptor instead.

func (*HeaderParameterSubSchema) GetCollectionFormat Uses

func (x *HeaderParameterSubSchema) GetCollectionFormat() string

func (*HeaderParameterSubSchema) GetDefault Uses

func (x *HeaderParameterSubSchema) GetDefault() *Any

func (*HeaderParameterSubSchema) GetDescription Uses

func (x *HeaderParameterSubSchema) GetDescription() string

func (*HeaderParameterSubSchema) GetEnum Uses

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

func (*HeaderParameterSubSchema) GetExclusiveMaximum Uses

func (x *HeaderParameterSubSchema) GetExclusiveMaximum() bool

func (*HeaderParameterSubSchema) GetExclusiveMinimum Uses

func (x *HeaderParameterSubSchema) GetExclusiveMinimum() bool

func (*HeaderParameterSubSchema) GetFormat Uses

func (x *HeaderParameterSubSchema) GetFormat() string

func (*HeaderParameterSubSchema) GetIn Uses

func (x *HeaderParameterSubSchema) GetIn() string

func (*HeaderParameterSubSchema) GetItems Uses

func (x *HeaderParameterSubSchema) GetItems() *PrimitivesItems

func (*HeaderParameterSubSchema) GetMaxItems Uses

func (x *HeaderParameterSubSchema) GetMaxItems() int64

func (*HeaderParameterSubSchema) GetMaxLength Uses

func (x *HeaderParameterSubSchema) GetMaxLength() int64

func (*HeaderParameterSubSchema) GetMaximum Uses

func (x *HeaderParameterSubSchema) GetMaximum() float64

func (*HeaderParameterSubSchema) GetMinItems Uses

func (x *HeaderParameterSubSchema) GetMinItems() int64

func (*HeaderParameterSubSchema) GetMinLength Uses

func (x *HeaderParameterSubSchema) GetMinLength() int64

func (*HeaderParameterSubSchema) GetMinimum Uses

func (x *HeaderParameterSubSchema) GetMinimum() float64

func (*HeaderParameterSubSchema) GetMultipleOf Uses

func (x *HeaderParameterSubSchema) GetMultipleOf() float64

func (*HeaderParameterSubSchema) GetName Uses

func (x *HeaderParameterSubSchema) GetName() string

func (*HeaderParameterSubSchema) GetPattern Uses

func (x *HeaderParameterSubSchema) GetPattern() string

func (*HeaderParameterSubSchema) GetRequired Uses

func (x *HeaderParameterSubSchema) GetRequired() bool

func (*HeaderParameterSubSchema) GetType Uses

func (x *HeaderParameterSubSchema) GetType() string

func (*HeaderParameterSubSchema) GetUniqueItems Uses

func (x *HeaderParameterSubSchema) GetUniqueItems() bool

func (*HeaderParameterSubSchema) GetVendorExtension Uses

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

func (*HeaderParameterSubSchema) ProtoMessage Uses

func (*HeaderParameterSubSchema) ProtoMessage()

func (*HeaderParameterSubSchema) ProtoReflect Uses

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

func (*HeaderParameterSubSchema) Reset Uses

func (x *HeaderParameterSubSchema) Reset()

func (*HeaderParameterSubSchema) ResolveReferences Uses

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

ResolveReferences resolves references found inside HeaderParameterSubSchema objects.

func (*HeaderParameterSubSchema) String Uses

func (x *HeaderParameterSubSchema) String() string

func (*HeaderParameterSubSchema) ToRawInfo Uses

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

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

type Headers Uses

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 Uses

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 Uses

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

Deprecated: Use Headers.ProtoReflect.Descriptor instead.

func (*Headers) GetAdditionalProperties Uses

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

func (*Headers) ProtoMessage Uses

func (*Headers) ProtoMessage()

func (*Headers) ProtoReflect Uses

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

func (*Headers) Reset Uses

func (x *Headers) Reset()

func (*Headers) ResolveReferences Uses

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

ResolveReferences resolves references found inside Headers objects.

func (*Headers) String Uses

func (x *Headers) String() string

func (*Headers) ToRawInfo Uses

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

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

type Info Uses

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 Uses

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 Uses

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

Deprecated: Use Info.ProtoReflect.Descriptor instead.

func (*Info) GetContact Uses

func (x *Info) GetContact() *Contact

func (*Info) GetDescription Uses

func (x *Info) GetDescription() string

func (*Info) GetLicense Uses

func (x *Info) GetLicense() *License

func (*Info) GetTermsOfService Uses

func (x *Info) GetTermsOfService() string

func (*Info) GetTitle Uses

func (x *Info) GetTitle() string

func (*Info) GetVendorExtension Uses

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

func (*Info) GetVersion Uses

func (x *Info) GetVersion() string

func (*Info) ProtoMessage Uses

func (*Info) ProtoMessage()

func (*Info) ProtoReflect Uses

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

func (*Info) Reset Uses

func (x *Info) Reset()

func (*Info) ResolveReferences Uses

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

ResolveReferences resolves references found inside Info objects.

func (*Info) String Uses

func (x *Info) String() string

func (*Info) ToRawInfo Uses

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

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

type ItemsItem Uses

type ItemsItem struct {
    Schema []*Schema `protobuf:"bytes,1,rep,name=schema,proto3" json:"schema,omitempty"`
    // contains filtered or unexported fields
}

func NewItemsItem Uses

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 Uses

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

Deprecated: Use ItemsItem.ProtoReflect.Descriptor instead.

func (*ItemsItem) GetSchema Uses

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

func (*ItemsItem) ProtoMessage Uses

func (*ItemsItem) ProtoMessage()

func (*ItemsItem) ProtoReflect Uses

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

func (*ItemsItem) Reset Uses

func (x *ItemsItem) Reset()

func (*ItemsItem) ResolveReferences Uses

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

ResolveReferences resolves references found inside ItemsItem objects.

func (*ItemsItem) String Uses

func (x *ItemsItem) String() string

func (*ItemsItem) ToRawInfo Uses

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

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

type JsonReference Uses

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 Uses

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 Uses

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

Deprecated: Use JsonReference.ProtoReflect.Descriptor instead.

func (*JsonReference) GetDescription Uses

func (x *JsonReference) GetDescription() string

func (*JsonReference) GetXRef Uses

func (x *JsonReference) GetXRef() string

func (*JsonReference) ProtoMessage Uses

func (*JsonReference) ProtoMessage()

func (*JsonReference) ProtoReflect Uses

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

func (*JsonReference) Reset Uses

func (x *JsonReference) Reset()

func (*JsonReference) ResolveReferences Uses

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

ResolveReferences resolves references found inside JsonReference objects.

func (*JsonReference) String Uses

func (x *JsonReference) String() string

func (*JsonReference) ToRawInfo Uses

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

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

type License Uses

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 Uses

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 Uses

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

Deprecated: Use License.ProtoReflect.Descriptor instead.

func (*License) GetName Uses

func (x *License) GetName() string

func (*License) GetUrl Uses

func (x *License) GetUrl() string

func (*License) GetVendorExtension Uses

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

func (*License) ProtoMessage Uses

func (*License) ProtoMessage()

func (*License) ProtoReflect Uses

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

func (*License) Reset Uses

func (x *License) Reset()

func (*License) ResolveReferences Uses

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

ResolveReferences resolves references found inside License objects.

func (*License) String Uses

func (x *License) String() string

func (*License) ToRawInfo Uses

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

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

type NamedAny Uses

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 Uses

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 Uses

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

Deprecated: Use NamedAny.ProtoReflect.Descriptor instead.

func (*NamedAny) GetName Uses

func (x *NamedAny) GetName() string

func (*NamedAny) GetValue Uses

func (x *NamedAny) GetValue() *Any

func (*NamedAny) ProtoMessage Uses

func (*NamedAny) ProtoMessage()

func (*NamedAny) ProtoReflect Uses

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

func (*NamedAny) Reset Uses

func (x *NamedAny) Reset()

func (*NamedAny) ResolveReferences Uses

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

ResolveReferences resolves references found inside NamedAny objects.

func (*NamedAny) String Uses

func (x *NamedAny) String() string

func (*NamedAny) ToRawInfo Uses

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

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

type NamedHeader Uses

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 Uses

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 Uses

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

Deprecated: Use NamedHeader.ProtoReflect.Descriptor instead.

func (*NamedHeader) GetName Uses

func (x *NamedHeader) GetName() string

func (*NamedHeader) GetValue Uses

func (x *NamedHeader) GetValue() *Header

func (*NamedHeader) ProtoMessage Uses

func (*NamedHeader) ProtoMessage()

func (*NamedHeader) ProtoReflect Uses

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

func (*NamedHeader) Reset Uses

func (x *NamedHeader) Reset()

func (*NamedHeader) ResolveReferences Uses

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

ResolveReferences resolves references found inside NamedHeader objects.

func (*NamedHeader) String Uses

func (x *NamedHeader) String() string

func (*NamedHeader) ToRawInfo Uses

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

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

type NamedParameter Uses

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 Uses

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 Uses

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

Deprecated: Use NamedParameter.ProtoReflect.Descriptor instead.

func (*NamedParameter) GetName Uses

func (x *NamedParameter) GetName() string

func (*NamedParameter) GetValue Uses

func (x *NamedParameter) GetValue() *Parameter

func (*NamedParameter) ProtoMessage Uses

func (*NamedParameter) ProtoMessage()

func (*NamedParameter) ProtoReflect Uses

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

func (*NamedParameter) Reset Uses

func (x *NamedParameter) Reset()

func (*NamedParameter) ResolveReferences Uses

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

ResolveReferences resolves references found inside NamedParameter objects.

func (*NamedParameter) String Uses

func (x *NamedParameter) String() string

func (*NamedParameter) ToRawInfo Uses

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

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

type NamedPathItem Uses

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 Uses

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 Uses

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

Deprecated: Use NamedPathItem.ProtoReflect.Descriptor instead.

func (*NamedPathItem) GetName Uses

func (x *NamedPathItem) GetName() string

func (*NamedPathItem) GetValue Uses

func (x *NamedPathItem) GetValue() *PathItem

func (*NamedPathItem) ProtoMessage Uses

func (*NamedPathItem) ProtoMessage()

func (*NamedPathItem) ProtoReflect Uses

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

func (*NamedPathItem) Reset Uses

func (x *NamedPathItem) Reset()

func (*NamedPathItem) ResolveReferences Uses

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

ResolveReferences resolves references found inside NamedPathItem objects.

func (*NamedPathItem) String Uses

func (x *NamedPathItem) String() string

func (*NamedPathItem) ToRawInfo Uses

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

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

type NamedResponse Uses

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 Uses

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 Uses

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

Deprecated: Use NamedResponse.ProtoReflect.Descriptor instead.

func (*NamedResponse) GetName Uses

func (x *NamedResponse) GetName() string

func (*NamedResponse) GetValue Uses

func (x *NamedResponse) GetValue() *Response

func (*NamedResponse) ProtoMessage Uses

func (*NamedResponse) ProtoMessage()

func (*NamedResponse) ProtoReflect Uses

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

func (*NamedResponse) Reset Uses

func (x *NamedResponse) Reset()

func (*NamedResponse) ResolveReferences Uses

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

ResolveReferences resolves references found inside NamedResponse objects.

func (*NamedResponse) String Uses

func (x *NamedResponse) String() string

func (*NamedResponse) ToRawInfo Uses

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

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

type NamedResponseValue Uses

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 Uses

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 Uses

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

Deprecated: Use NamedResponseValue.ProtoReflect.Descriptor instead.

func (*NamedResponseValue) GetName Uses

func (x *NamedResponseValue) GetName() string

func (*NamedResponseValue) GetValue Uses

func (x *NamedResponseValue) GetValue() *ResponseValue

func (*NamedResponseValue) ProtoMessage Uses

func (*NamedResponseValue) ProtoMessage()

func (*NamedResponseValue) ProtoReflect Uses

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

func (*NamedResponseValue) Reset Uses

func (x *NamedResponseValue) Reset()

func (*NamedResponseValue) ResolveReferences Uses

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

ResolveReferences resolves references found inside NamedResponseValue objects.

func (*NamedResponseValue) String Uses

func (x *NamedResponseValue) String() string

func (*NamedResponseValue) ToRawInfo Uses

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

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

type NamedSchema Uses

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 Uses

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 Uses

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

Deprecated: Use NamedSchema.ProtoReflect.Descriptor instead.

func (*NamedSchema) GetName Uses

func (x *NamedSchema) GetName() string

func (*NamedSchema) GetValue Uses

func (x *NamedSchema) GetValue() *Schema

func (*NamedSchema) ProtoMessage Uses

func (*NamedSchema) ProtoMessage()

func (*NamedSchema) ProtoReflect Uses

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

func (*NamedSchema) Reset Uses

func (x *NamedSchema) Reset()

func (*NamedSchema) ResolveReferences Uses

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

ResolveReferences resolves references found inside NamedSchema objects.

func (*NamedSchema) String Uses

func (x *NamedSchema) String() string

func (*NamedSchema) ToRawInfo Uses

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

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

type NamedSecurityDefinitionsItem Uses

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 Uses

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 Uses

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

Deprecated: Use NamedSecurityDefinitionsItem.ProtoReflect.Descriptor instead.

func (*NamedSecurityDefinitionsItem) GetName Uses

func (x *NamedSecurityDefinitionsItem) GetName() string

func (*NamedSecurityDefinitionsItem) GetValue Uses

func (x *NamedSecurityDefinitionsItem) GetValue() *SecurityDefinitionsItem

func (*NamedSecurityDefinitionsItem) ProtoMessage Uses

func (*NamedSecurityDefinitionsItem) ProtoMessage()

func (*NamedSecurityDefinitionsItem) ProtoReflect Uses

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

func (*NamedSecurityDefinitionsItem) Reset Uses

func (x *NamedSecurityDefinitionsItem) Reset()

func (*NamedSecurityDefinitionsItem) ResolveReferences Uses

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

ResolveReferences resolves references found inside NamedSecurityDefinitionsItem objects.

func (*NamedSecurityDefinitionsItem) String Uses

func (x *NamedSecurityDefinitionsItem) String() string

func (*NamedSecurityDefinitionsItem) ToRawInfo Uses

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

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

type NamedString Uses

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 Uses

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 Uses

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

Deprecated: Use NamedString.ProtoReflect.Descriptor instead.

func (*NamedString) GetName Uses

func (x *NamedString) GetName() string

func (*NamedString) GetValue Uses

func (x *NamedString) GetValue() string

func (*NamedString) ProtoMessage Uses

func (*NamedString) ProtoMessage()

func (*NamedString) ProtoReflect Uses

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

func (*NamedString) Reset Uses

func (x *NamedString) Reset()

func (*NamedString) ResolveReferences Uses

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

ResolveReferences resolves references found inside NamedString objects.

func (*NamedString) String Uses

func (x *NamedString) String() string

func (*NamedString) ToRawInfo Uses

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

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

type NamedStringArray Uses

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 Uses

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 Uses

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

Deprecated: Use NamedStringArray.ProtoReflect.Descriptor instead.

func (*NamedStringArray) GetName Uses

func (x *NamedStringArray) GetName() string

func (*NamedStringArray) GetValue Uses

func (x *NamedStringArray) GetValue() *StringArray

func (*NamedStringArray) ProtoMessage Uses

func (*NamedStringArray) ProtoMessage()

func (*NamedStringArray) ProtoReflect Uses

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

func (*NamedStringArray) Reset Uses

func (x *NamedStringArray) Reset()

func (*NamedStringArray) ResolveReferences Uses

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

ResolveReferences resolves references found inside NamedStringArray objects.

func (*NamedStringArray) String Uses

func (x *NamedStringArray) String() string

func (*NamedStringArray) ToRawInfo Uses

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

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

type NonBodyParameter Uses

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 Uses

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 Uses

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

Deprecated: Use NonBodyParameter.ProtoReflect.Descriptor instead.

func (*NonBodyParameter) GetFormDataParameterSubSchema Uses

func (x *NonBodyParameter) GetFormDataParameterSubSchema() *FormDataParameterSubSchema

func (*NonBodyParameter) GetHeaderParameterSubSchema Uses

func (x *NonBodyParameter) GetHeaderParameterSubSchema() *HeaderParameterSubSchema

func (*NonBodyParameter) GetOneof Uses

func (m *NonBodyParameter) GetOneof() isNonBodyParameter_Oneof

func (*NonBodyParameter) GetPathParameterSubSchema Uses

func (x *NonBodyParameter) GetPathParameterSubSchema() *PathParameterSubSchema

func (*NonBodyParameter) GetQueryParameterSubSchema Uses

func (x *NonBodyParameter) GetQueryParameterSubSchema() *QueryParameterSubSchema

func (*NonBodyParameter) ProtoMessage Uses

func (*NonBodyParameter) ProtoMessage()

func (*NonBodyParameter) ProtoReflect Uses

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

func (*NonBodyParameter) Reset Uses

func (x *NonBodyParameter) Reset()

func (*NonBodyParameter) ResolveReferences Uses

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

ResolveReferences resolves references found inside NonBodyParameter objects.

func (*NonBodyParameter) String Uses

func (x *NonBodyParameter) String() string

func (*NonBodyParameter) ToRawInfo Uses

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

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

type NonBodyParameter_FormDataParameterSubSchema Uses

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

type NonBodyParameter_HeaderParameterSubSchema Uses

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

type NonBodyParameter_PathParameterSubSchema Uses

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

type NonBodyParameter_QueryParameterSubSchema Uses

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

type Oauth2AccessCodeSecurity Uses

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 Uses

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 Uses

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

Deprecated: Use Oauth2AccessCodeSecurity.ProtoReflect.Descriptor instead.

func (*Oauth2AccessCodeSecurity) GetAuthorizationUrl Uses

func (x *Oauth2AccessCodeSecurity) GetAuthorizationUrl() string

func (*Oauth2AccessCodeSecurity) GetDescription Uses

func (x *Oauth2AccessCodeSecurity) GetDescription() string

func (*Oauth2AccessCodeSecurity) GetFlow Uses

func (x *Oauth2AccessCodeSecurity) GetFlow() string

func (*Oauth2AccessCodeSecurity) GetScopes Uses

func (x *Oauth2AccessCodeSecurity) GetScopes() *Oauth2Scopes

func (*Oauth2AccessCodeSecurity) GetTokenUrl Uses

func (x *Oauth2AccessCodeSecurity) GetTokenUrl() string

func (*Oauth2AccessCodeSecurity) GetType Uses

func (x *Oauth2AccessCodeSecurity) GetType() string

func (*Oauth2AccessCodeSecurity) GetVendorExtension Uses

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

func (*Oauth2AccessCodeSecurity) ProtoMessage Uses

func (*Oauth2AccessCodeSecurity) ProtoMessage()

func (*Oauth2AccessCodeSecurity) ProtoReflect Uses

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

func (*Oauth2AccessCodeSecurity) Reset Uses

func (x *Oauth2AccessCodeSecurity) Reset()

func (*Oauth2AccessCodeSecurity) ResolveReferences Uses

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

ResolveReferences resolves references found inside Oauth2AccessCodeSecurity objects.

func (*Oauth2AccessCodeSecurity) String Uses

func (x *Oauth2AccessCodeSecurity) String() string

func (*Oauth2AccessCodeSecurity) ToRawInfo Uses

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

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

type Oauth2ApplicationSecurity Uses

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 Uses

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 Uses

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

Deprecated: Use Oauth2ApplicationSecurity.ProtoReflect.Descriptor instead.

func (*Oauth2ApplicationSecurity) GetDescription Uses

func (x *Oauth2ApplicationSecurity) GetDescription() string

func (*Oauth2ApplicationSecurity) GetFlow Uses

func (x *Oauth2ApplicationSecurity) GetFlow() string

func (*Oauth2ApplicationSecurity) GetScopes Uses

func (x *Oauth2ApplicationSecurity) GetScopes() *Oauth2Scopes

func (*Oauth2ApplicationSecurity) GetTokenUrl Uses

func (x *Oauth2ApplicationSecurity) GetTokenUrl() string

func (*Oauth2ApplicationSecurity) GetType Uses

func (x *Oauth2ApplicationSecurity) GetType() string

func (*Oauth2ApplicationSecurity) GetVendorExtension Uses

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

func (*Oauth2ApplicationSecurity) ProtoMessage Uses

func (*Oauth2ApplicationSecurity) ProtoMessage()

func (*Oauth2ApplicationSecurity) ProtoReflect Uses

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

func (*Oauth2ApplicationSecurity) Reset Uses

func (x *Oauth2ApplicationSecurity) Reset()

func (*Oauth2ApplicationSecurity) ResolveReferences Uses

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

ResolveReferences resolves references found inside Oauth2ApplicationSecurity objects.

func (*Oauth2ApplicationSecurity) String Uses

func (x *Oauth2ApplicationSecurity) String() string

func (*Oauth2ApplicationSecurity) ToRawInfo Uses

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

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

type Oauth2ImplicitSecurity Uses

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 Uses

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 Uses

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

Deprecated: Use Oauth2ImplicitSecurity.ProtoReflect.Descriptor instead.

func (*Oauth2ImplicitSecurity) GetAuthorizationUrl Uses

func (x *Oauth2ImplicitSecurity) GetAuthorizationUrl() string

func (*Oauth2ImplicitSecurity) GetDescription Uses

func (x *Oauth2ImplicitSecurity) GetDescription() string

func (*Oauth2ImplicitSecurity) GetFlow Uses

func (x *Oauth2ImplicitSecurity) GetFlow() string

func (*Oauth2ImplicitSecurity) GetScopes Uses

func (x *Oauth2ImplicitSecurity) GetScopes() *Oauth2Scopes

func (*Oauth2ImplicitSecurity) GetType Uses

func (x *Oauth2ImplicitSecurity) GetType() string

func (*Oauth2ImplicitSecurity) GetVendorExtension Uses

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

func (*Oauth2ImplicitSecurity) ProtoMessage Uses

func (*Oauth2ImplicitSecurity) ProtoMessage()

func (*Oauth2ImplicitSecurity) ProtoReflect Uses

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

func (*Oauth2ImplicitSecurity) Reset Uses

func (x *Oauth2ImplicitSecurity) Reset()

func (*Oauth2ImplicitSecurity) ResolveReferences Uses

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

ResolveReferences resolves references found inside Oauth2ImplicitSecurity objects.

func (*Oauth2ImplicitSecurity) String Uses

func (x *Oauth2ImplicitSecurity) String() string

func (*Oauth2ImplicitSecurity) ToRawInfo Uses

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

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

type Oauth2PasswordSecurity Uses

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 Uses

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 Uses

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

Deprecated: Use Oauth2PasswordSecurity.ProtoReflect.Descriptor instead.

func (*Oauth2PasswordSecurity) GetDescription Uses

func (x *Oauth2PasswordSecurity) GetDescription() string

func (*Oauth2PasswordSecurity) GetFlow Uses

func (x *Oauth2PasswordSecurity) GetFlow() string

func (*Oauth2PasswordSecurity) GetScopes Uses

func (x *Oauth2PasswordSecurity) GetScopes() *Oauth2Scopes

func (*Oauth2PasswordSecurity) GetTokenUrl Uses

func (x *Oauth2PasswordSecurity) GetTokenUrl() string

func (*Oauth2PasswordSecurity) GetType Uses

func (x *Oauth2PasswordSecurity) GetType() string

func (*Oauth2PasswordSecurity) GetVendorExtension Uses

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

func (*Oauth2PasswordSecurity) ProtoMessage Uses

func (*Oauth2PasswordSecurity) ProtoMessage()

func (*Oauth2PasswordSecurity) ProtoReflect Uses

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

func (*Oauth2PasswordSecurity) Reset Uses

func (x *Oauth2PasswordSecurity) Reset()

func (*Oauth2PasswordSecurity) ResolveReferences Uses

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

ResolveReferences resolves references found inside Oauth2PasswordSecurity objects.

func (*Oauth2PasswordSecurity) String Uses

func (x *Oauth2PasswordSecurity) String() string

func (*Oauth2PasswordSecurity) ToRawInfo Uses

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

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

type Oauth2Scopes Uses

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 Uses

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 Uses

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

Deprecated: Use Oauth2Scopes.ProtoReflect.Descriptor instead.

func (*Oauth2Scopes) GetAdditionalProperties Uses

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

func (*Oauth2Scopes) ProtoMessage Uses

func (*Oauth2Scopes) ProtoMessage()

func (*Oauth2Scopes) ProtoReflect Uses

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

func (*Oauth2Scopes) Reset Uses

func (x *Oauth2Scopes) Reset()

func (*Oauth2Scopes) ResolveReferences Uses

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

ResolveReferences resolves references found inside Oauth2Scopes objects.

func (*Oauth2Scopes) String Uses

func (x *Oauth2Scopes) String() string

func (*Oauth2Scopes) ToRawInfo Uses

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

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

type Operation Uses

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 Uses

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 Uses

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

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) GetConsumes Uses

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

func (*Operation) GetDeprecated Uses

func (x *Operation) GetDeprecated() bool

func (*Operation) GetDescription Uses

func (x *Operation) GetDescription() string

func (*Operation) GetExternalDocs Uses

func (x *Operation) GetExternalDocs() *ExternalDocs

func (*Operation) GetOperationId Uses

func (x *Operation) GetOperationId() string

func (*Operation) GetParameters Uses

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

func (*Operation) GetProduces Uses

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

func (*Operation) GetResponses Uses

func (x *Operation) GetResponses() *Responses

func (*Operation) GetSchemes Uses

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

func (*Operation) GetSecurity Uses

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

func (*Operation) GetSummary Uses

func (x *Operation) GetSummary() string

func (*Operation) GetTags Uses

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

func (*Operation) GetVendorExtension Uses

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

func (*Operation) ProtoMessage Uses

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect Uses

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

func (*Operation) Reset Uses

func (x *Operation) Reset()

func (*Operation) ResolveReferences Uses

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

ResolveReferences resolves references found inside Operation objects.

func (*Operation) String Uses

func (x *Operation) String() string

func (*Operation) ToRawInfo Uses

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

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

type Parameter Uses

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 Uses

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 Uses

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

Deprecated: Use Parameter.ProtoReflect.Descriptor instead.

func (*Parameter) GetBodyParameter Uses

func (x *Parameter) GetBodyParameter() *BodyParameter

func (*Parameter) GetNonBodyParameter Uses

func (x *Parameter) GetNonBodyParameter() *NonBodyParameter

func (*Parameter) GetOneof Uses

func (m *Parameter) GetOneof() isParameter_Oneof

func (*Parameter) ProtoMessage Uses

func (*Parameter) ProtoMessage()

func (*Parameter) ProtoReflect Uses

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

func (*Parameter) Reset Uses

func (x *Parameter) Reset()

func (*Parameter) ResolveReferences Uses

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

ResolveReferences resolves references found inside Parameter objects.

func (*Parameter) String Uses

func (x *Parameter) String() string

func (*Parameter) ToRawInfo Uses

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

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

type ParameterDefinitions Uses

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 Uses

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 Uses

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

Deprecated: Use ParameterDefinitions.ProtoReflect.Descriptor instead.

func (*ParameterDefinitions) GetAdditionalProperties Uses

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

func (*ParameterDefinitions) ProtoMessage Uses

func (*ParameterDefinitions) ProtoMessage()

func (*ParameterDefinitions) ProtoReflect Uses

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

func (*ParameterDefinitions) Reset Uses

func (x *ParameterDefinitions) Reset()

func (*ParameterDefinitions) ResolveReferences Uses

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

ResolveReferences resolves references found inside ParameterDefinitions objects.

func (*ParameterDefinitions) String Uses

func (x *ParameterDefinitions) String() string

func (*ParameterDefinitions) ToRawInfo Uses

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

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

type Parameter_BodyParameter Uses

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

type Parameter_NonBodyParameter Uses

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

type ParametersItem Uses

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 Uses

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 Uses

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

Deprecated: Use ParametersItem.ProtoReflect.Descriptor instead.

func (*ParametersItem) GetJsonReference Uses

func (x *ParametersItem) GetJsonReference() *JsonReference

func (*ParametersItem) GetOneof Uses

func (m *ParametersItem) GetOneof() isParametersItem_Oneof

func (*ParametersItem) GetParameter Uses

func (x *ParametersItem) GetParameter() *Parameter

func (*ParametersItem) ProtoMessage Uses

func (*ParametersItem) ProtoMessage()

func (*ParametersItem) ProtoReflect Uses

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

func (*ParametersItem) Reset Uses

func (x *ParametersItem) Reset()

func (*ParametersItem) ResolveReferences Uses

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

ResolveReferences resolves references found inside ParametersItem objects.

func (*ParametersItem) String Uses

func (x *ParametersItem) String() string

func (*ParametersItem) ToRawInfo Uses

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

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

type ParametersItem_JsonReference Uses

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

type ParametersItem_Parameter Uses

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

type PathItem Uses

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 Uses

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 Uses

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

Deprecated: Use PathItem.ProtoReflect.Descriptor instead.

func (*PathItem) GetDelete Uses

func (x *PathItem) GetDelete() *Operation

func (*PathItem) GetGet Uses

func (x *PathItem) GetGet() *Operation

func (*PathItem) GetHead Uses

func (x *PathItem) GetHead() *Operation

func (*PathItem) GetOptions Uses

func (x *PathItem) GetOptions() *Operation

func (*PathItem) GetParameters Uses

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

func (*PathItem) GetPatch Uses

func (x *PathItem) GetPatch() *Operation

func (*PathItem) GetPost Uses

func (x *PathItem) GetPost() *Operation

func (*PathItem) GetPut Uses

func (x *PathItem) GetPut() *Operation

func (*PathItem) GetVendorExtension Uses

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

func (*PathItem) GetXRef Uses

func (x *PathItem) GetXRef() string

func (*PathItem) ProtoMessage Uses

func (*PathItem) ProtoMessage()

func (*PathItem) ProtoReflect Uses

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

func (*PathItem) Reset Uses

func (x *PathItem) Reset()

func (*PathItem) ResolveReferences Uses

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

ResolveReferences resolves references found inside PathItem objects.

func (*PathItem) String Uses

func (x *PathItem) String() string

func (*PathItem) ToRawInfo Uses

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

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

type PathParameterSubSchema Uses

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 Uses

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 Uses

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

Deprecated: Use PathParameterSubSchema.ProtoReflect.Descriptor instead.

func (*PathParameterSubSchema) GetCollectionFormat Uses

func (x *PathParameterSubSchema) GetCollectionFormat() string

func (*PathParameterSubSchema) GetDefault Uses

func (x *PathParameterSubSchema) GetDefault() *Any

func (*PathParameterSubSchema) GetDescription Uses

func (x *PathParameterSubSchema) GetDescription() string

func (*PathParameterSubSchema) GetEnum Uses

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

func (*PathParameterSubSchema) GetExclusiveMaximum Uses

func (x *PathParameterSubSchema) GetExclusiveMaximum() bool

func (*PathParameterSubSchema) GetExclusiveMinimum Uses

func (x *PathParameterSubSchema) GetExclusiveMinimum() bool

func (*PathParameterSubSchema) GetFormat Uses

func (x *PathParameterSubSchema) GetFormat() string

func (*PathParameterSubSchema) GetIn Uses

func (x *PathParameterSubSchema) GetIn() string

func (*PathParameterSubSchema) GetItems Uses

func (x *PathParameterSubSchema) GetItems() *PrimitivesItems

func (*PathParameterSubSchema) GetMaxItems Uses

func (x *PathParameterSubSchema) GetMaxItems() int64

func (*PathParameterSubSchema) GetMaxLength Uses

func (x *PathParameterSubSchema) GetMaxLength() int64

func (*PathParameterSubSchema) GetMaximum Uses

func (x *PathParameterSubSchema) GetMaximum() float64

func (*PathParameterSubSchema) GetMinItems Uses

func (x *PathParameterSubSchema) GetMinItems() int64

func (*PathParameterSubSchema) GetMinLength Uses

func (x *PathParameterSubSchema) GetMinLength() int64

func (*PathParameterSubSchema) GetMinimum Uses

func (x *PathParameterSubSchema) GetMinimum() float64

func (*PathParameterSubSchema) GetMultipleOf Uses

func (x *PathParameterSubSchema) GetMultipleOf() float64

func (*PathParameterSubSchema) GetName Uses

func (x *PathParameterSubSchema) GetName() string

func (*PathParameterSubSchema) GetPattern Uses

func (x *PathParameterSubSchema) GetPattern() string

func (*PathParameterSubSchema) GetRequired Uses

func (x *PathParameterSubSchema) GetRequired() bool

func (*PathParameterSubSchema) GetType Uses

func (x *PathParameterSubSchema) GetType() string

func (*PathParameterSubSchema) GetUniqueItems Uses

func (x *PathParameterSubSchema) GetUniqueItems() bool

func (*PathParameterSubSchema) GetVendorExtension Uses

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

func (*PathParameterSubSchema) ProtoMessage Uses

func (*PathParameterSubSchema) ProtoMessage()

func (*PathParameterSubSchema) ProtoReflect Uses

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

func (*PathParameterSubSchema) Reset Uses

func (x *PathParameterSubSchema) Reset()

func (*PathParameterSubSchema) ResolveReferences Uses

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

ResolveReferences resolves references found inside PathParameterSubSchema objects.

func (*PathParameterSubSchema) String Uses

func (x *PathParameterSubSchema) String() string

func (*PathParameterSubSchema) ToRawInfo Uses

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

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

type Paths Uses

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 Uses

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 Uses

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

Deprecated: Use Paths.ProtoReflect.Descriptor instead.

func (*Paths) GetPath Uses

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

func (*Paths) GetVendorExtension Uses

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

func (*Paths) ProtoMessage Uses

func (*Paths) ProtoMessage()

func (*Paths) ProtoReflect Uses

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

func (*Paths) Reset Uses

func (x *Paths) Reset()

func (*Paths) ResolveReferences Uses

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

ResolveReferences resolves references found inside Paths objects.

func (*Paths) String Uses

func (x *Paths) String() string

func (*Paths) ToRawInfo Uses

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

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

type PrimitivesItems Uses

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 Uses

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 Uses

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

Deprecated: Use PrimitivesItems.ProtoReflect.Descriptor instead.

func (*PrimitivesItems) GetCollectionFormat Uses

func (x *PrimitivesItems) GetCollectionFormat() string

func (*PrimitivesItems) GetDefault Uses

func (x *PrimitivesItems) GetDefault() *Any

func (*PrimitivesItems) GetEnum Uses

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

func (*PrimitivesItems) GetExclusiveMaximum Uses

func (x *PrimitivesItems) GetExclusiveMaximum() bool

func (*PrimitivesItems) GetExclusiveMinimum Uses

func (x *PrimitivesItems) GetExclusiveMinimum() bool

func (*PrimitivesItems) GetFormat Uses

func (x *PrimitivesItems) GetFormat() string

func (*PrimitivesItems) GetItems Uses

func (x *PrimitivesItems) GetItems() *PrimitivesItems

func (*PrimitivesItems) GetMaxItems Uses

func (x *PrimitivesItems) GetMaxItems() int64

func (*PrimitivesItems) GetMaxLength Uses

func (x *PrimitivesItems) GetMaxLength() int64

func (*PrimitivesItems) GetMaximum Uses

func (x *PrimitivesItems) GetMaximum() float64

func (*PrimitivesItems) GetMinItems Uses

func (x *PrimitivesItems) GetMinItems() int64

func (*PrimitivesItems) GetMinLength Uses

func (x *PrimitivesItems) GetMinLength() int64

func (*PrimitivesItems) GetMinimum Uses

func (x *PrimitivesItems) GetMinimum() float64

func (*PrimitivesItems) GetMultipleOf Uses

func (x *PrimitivesItems) GetMultipleOf() float64

func (*PrimitivesItems) GetPattern Uses

func (x *PrimitivesItems) GetPattern() string

func (*PrimitivesItems) GetType Uses

func (x *PrimitivesItems) GetType() string

func (*PrimitivesItems) GetUniqueItems Uses

func (x *PrimitivesItems) GetUniqueItems() bool

func (*PrimitivesItems) GetVendorExtension Uses

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

func (*PrimitivesItems) ProtoMessage Uses

func (*PrimitivesItems) ProtoMessage()

func (*PrimitivesItems) ProtoReflect Uses

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

func (*PrimitivesItems) Reset Uses

func (x *PrimitivesItems) Reset()

func (*PrimitivesItems) ResolveReferences Uses

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

ResolveReferences resolves references found inside PrimitivesItems objects.

func (*PrimitivesItems) String Uses

func (x *PrimitivesItems) String() string

func (*PrimitivesItems) ToRawInfo Uses

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

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

type Properties Uses

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 Uses

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 Uses

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

Deprecated: Use Properties.ProtoReflect.Descriptor instead.

func (*Properties) GetAdditionalProperties Uses

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

func (*Properties) ProtoMessage Uses

func (*Properties) ProtoMessage()

func (*Properties) ProtoReflect Uses

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

func (*Properties) Reset Uses

func (x *Properties) Reset()

func (*Properties) ResolveReferences Uses

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

ResolveReferences resolves references found inside Properties objects.

func (*Properties) String Uses

func (x *Properties) String() string

func (*Properties) ToRawInfo Uses

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

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

type QueryParameterSubSchema Uses

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 Uses

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 Uses

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

Deprecated: Use QueryParameterSubSchema.ProtoReflect.Descriptor instead.

func (*QueryParameterSubSchema) GetAllowEmptyValue Uses

func (x *QueryParameterSubSchema) GetAllowEmptyValue() bool

func (*QueryParameterSubSchema) GetCollectionFormat Uses

func (x *QueryParameterSubSchema) GetCollectionFormat() string

func (*QueryParameterSubSchema) GetDefault Uses

func (x *QueryParameterSubSchema) GetDefault() *Any

func (*QueryParameterSubSchema) GetDescription Uses

func (x *QueryParameterSubSchema) GetDescription() string

func (*QueryParameterSubSchema) GetEnum Uses

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

func (*QueryParameterSubSchema) GetExclusiveMaximum Uses

func (x *QueryParameterSubSchema) GetExclusiveMaximum() bool

func (*QueryParameterSubSchema) GetExclusiveMinimum Uses

func (x *QueryParameterSubSchema) GetExclusiveMinimum() bool

func (*QueryParameterSubSchema) GetFormat Uses

func (x *QueryParameterSubSchema) GetFormat() string

func (*QueryParameterSubSchema) GetIn Uses

func (x *QueryParameterSubSchema) GetIn() string

func (*QueryParameterSubSchema) GetItems Uses

func (x *QueryParameterSubSchema) GetItems() *PrimitivesItems

func (*QueryParameterSubSchema) GetMaxItems Uses

func (x *QueryParameterSubSchema) GetMaxItems() int64

func (*QueryParameterSubSchema) GetMaxLength Uses

func (x *QueryParameterSubSchema) GetMaxLength() int64

func (*QueryParameterSubSchema) GetMaximum Uses

func (x *QueryParameterSubSchema) GetMaximum() float64

func (*QueryParameterSubSchema) GetMinItems Uses

func (x *QueryParameterSubSchema) GetMinItems() int64

func (*QueryParameterSubSchema) GetMinLength Uses

func (x *QueryParameterSubSchema) GetMinLength() int64

func (*QueryParameterSubSchema) GetMinimum Uses

func (x *QueryParameterSubSchema) GetMinimum() float64

func (*QueryParameterSubSchema) GetMultipleOf Uses

func (x *QueryParameterSubSchema) GetMultipleOf() float64

func (*QueryParameterSubSchema) GetName Uses

func (x *QueryParameterSubSchema) GetName() string

func (*QueryParameterSubSchema) GetPattern Uses

func (x *QueryParameterSubSchema) GetPattern() string

func (*QueryParameterSubSchema) GetRequired Uses

func (x *QueryParameterSubSchema) GetRequired() bool

func (*QueryParameterSubSchema) GetType Uses

func (x *QueryParameterSubSchema) GetType() string

func (*QueryParameterSubSchema) GetUniqueItems Uses

func (x *QueryParameterSubSchema) GetUniqueItems() bool

func (*QueryParameterSubSchema) GetVendorExtension Uses

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

func (*QueryParameterSubSchema) ProtoMessage Uses

func (*QueryParameterSubSchema) ProtoMessage()

func (*QueryParameterSubSchema) ProtoReflect Uses

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

func (*QueryParameterSubSchema) Reset Uses

func (x *QueryParameterSubSchema) Reset()

func (*QueryParameterSubSchema) ResolveReferences Uses

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

ResolveReferences resolves references found inside QueryParameterSubSchema objects.

func (*QueryParameterSubSchema) String Uses

func (x *QueryParameterSubSchema) String() string

func (*QueryParameterSubSchema) ToRawInfo Uses

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

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

type Response Uses

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 Uses

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 Uses

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetDescription Uses

func (x *Response) GetDescription() string

func (*Response) GetExamples Uses

func (x *Response) GetExamples() *Examples

func (*Response) GetHeaders Uses

func (x *Response) GetHeaders() *Headers

func (*Response) GetSchema Uses

func (x *Response) GetSchema() *SchemaItem

func (*Response) GetVendorExtension Uses

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

func (*Response) ProtoMessage Uses

func (*Response) ProtoMessage()

func (*Response) ProtoReflect Uses

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

func (*Response) Reset Uses

func (x *Response) Reset()

func (*Response) ResolveReferences Uses

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

ResolveReferences resolves references found inside Response objects.

func (*Response) String Uses

func (x *Response) String() string

func (*Response) ToRawInfo Uses

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

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

type ResponseDefinitions Uses

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 Uses

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 Uses

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

Deprecated: Use ResponseDefinitions.ProtoReflect.Descriptor instead.

func (*ResponseDefinitions) GetAdditionalProperties Uses

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

func (*ResponseDefinitions) ProtoMessage Uses

func (*ResponseDefinitions) ProtoMessage()

func (*ResponseDefinitions) ProtoReflect Uses

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

func (*ResponseDefinitions) Reset Uses

func (x *ResponseDefinitions) Reset()

func (*ResponseDefinitions) ResolveReferences Uses

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

ResolveReferences resolves references found inside ResponseDefinitions objects.

func (*ResponseDefinitions) String Uses

func (x *ResponseDefinitions) String() string

func (*ResponseDefinitions) ToRawInfo Uses

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

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

type ResponseValue Uses

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 Uses

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 Uses

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

Deprecated: Use ResponseValue.ProtoReflect.Descriptor instead.

func (*ResponseValue) GetJsonReference Uses

func (x *ResponseValue) GetJsonReference() *JsonReference

func (*ResponseValue) GetOneof Uses

func (m *ResponseValue) GetOneof() isResponseValue_Oneof

func (*ResponseValue) GetResponse Uses

func (x *ResponseValue) GetResponse() *Response

func (*ResponseValue) ProtoMessage Uses

func (*ResponseValue) ProtoMessage()

func (*ResponseValue) ProtoReflect Uses

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

func (*ResponseValue) Reset Uses

func (x *ResponseValue) Reset()

func (*ResponseValue) ResolveReferences Uses

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

ResolveReferences resolves references found inside ResponseValue objects.

func (*ResponseValue) String Uses

func (x *ResponseValue) String() string

func (*ResponseValue) ToRawInfo Uses

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

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

type ResponseValue_JsonReference Uses

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

type ResponseValue_Response Uses

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

type Responses Uses

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 Uses

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 Uses

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

Deprecated: Use Responses.ProtoReflect.Descriptor instead.

func (*Responses) GetResponseCode Uses

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

func (*Responses) GetVendorExtension Uses

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

func (*Responses) ProtoMessage Uses

func (*Responses) ProtoMessage()

func (*Responses) ProtoReflect Uses

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

func (*Responses) Reset Uses

func (x *Responses) Reset()

func (*Responses) ResolveReferences Uses

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

ResolveReferences resolves references found inside Responses objects.

func (*Responses) String Uses

func (x *Responses) String() string

func (*Responses) ToRawInfo Uses

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

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

type Schema Uses

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 Uses

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 Uses

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

Deprecated: Use Schema.ProtoReflect.Descriptor instead.

func (*Schema) GetAdditionalProperties Uses

func (x *Schema) GetAdditionalProperties() *AdditionalPropertiesItem

func (*Schema) GetAllOf Uses

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

func (*Schema) GetDefault Uses

func (x *Schema) GetDefault() *Any

func (*Schema) GetDescription Uses

func (x *Schema) GetDescription() string

func (*Schema) GetDiscriminator Uses

func (x *Schema) GetDiscriminator() string

func (*Schema) GetEnum Uses

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

func (*Schema) GetExample Uses

func (x *Schema) GetExample() *Any

func (*Schema) GetExclusiveMaximum Uses

func (x *Schema) GetExclusiveMaximum() bool

func (*Schema) GetExclusiveMinimum Uses

func (x *Schema) GetExclusiveMinimum() bool

func (*Schema) GetExternalDocs Uses

func (x *Schema) GetExternalDocs() *ExternalDocs

func (*Schema) GetFormat Uses

func (x *Schema) GetFormat() string

func (*Schema) GetItems Uses

func (x *Schema) GetItems() *ItemsItem

func (*Schema) GetMaxItems Uses

func (x *Schema) GetMaxItems() int64

func (*Schema) GetMaxLength Uses

func (x *Schema) GetMaxLength() int64

func (*Schema) GetMaxProperties Uses

func (x *Schema) GetMaxProperties() int64

func (*Schema) GetMaximum Uses

func (x *Schema) GetMaximum() float64

func (*Schema) GetMinItems Uses

func (x *Schema) GetMinItems() int64

func (*Schema) GetMinLength Uses

func (x *Schema) GetMinLength() int64

func (*Schema) GetMinProperties Uses

func (x *Schema) GetMinProperties() int64

func (*Schema) GetMinimum Uses

func (x *Schema) GetMinimum() float64

func (*Schema) GetMultipleOf Uses

func (x *Schema) GetMultipleOf() float64

func (*Schema) GetPattern Uses

func (x *Schema) GetPattern() string

func (*Schema) GetProperties Uses

func (x *Schema) GetProperties() *Properties

func (*Schema) GetReadOnly Uses

func (x *Schema) GetReadOnly() bool

func (*Schema) GetRequired Uses

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

func (*Schema) GetTitle Uses

func (x *Schema) GetTitle() string

func (*Schema) GetType Uses

func (x *Schema) GetType() *TypeItem

func (*Schema) GetUniqueItems Uses

func (x *Schema) GetUniqueItems() bool

func (*Schema) GetVendorExtension Uses

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

func (*Schema) GetXRef Uses

func (x *Schema) GetXRef() string

func (*Schema) GetXml Uses

func (x *Schema) GetXml() *Xml

func (*Schema) ProtoMessage Uses

func (*Schema) ProtoMessage()

func (*Schema) ProtoReflect Uses

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

func (*Schema) Reset Uses

func (x *Schema) Reset()

func (*Schema) ResolveReferences Uses

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

ResolveReferences resolves references found inside Schema objects.

func (*Schema) String Uses

func (x *Schema) String() string

func (*Schema) ToRawInfo Uses

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

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

type SchemaItem Uses

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 Uses

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 Uses

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

Deprecated: Use SchemaItem.ProtoReflect.Descriptor instead.

func (*SchemaItem) GetFileSchema Uses

func (x *SchemaItem) GetFileSchema() *FileSchema

func (*SchemaItem) GetOneof Uses

func (m *SchemaItem) GetOneof() isSchemaItem_Oneof

func (*SchemaItem) GetSchema Uses

func (x *SchemaItem) GetSchema() *Schema

func (*SchemaItem) ProtoMessage Uses

func (*SchemaItem) ProtoMessage()

func (*SchemaItem) ProtoReflect Uses

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

func (*SchemaItem) Reset Uses

func (x *SchemaItem) Reset()

func (*SchemaItem) ResolveReferences Uses

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

ResolveReferences resolves references found inside SchemaItem objects.

func (*SchemaItem) String Uses

func (x *SchemaItem) String() string

func (*SchemaItem) ToRawInfo Uses

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

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

type SchemaItem_FileSchema Uses

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

type SchemaItem_Schema Uses

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

type SecurityDefinitions Uses

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 Uses

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 Uses

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

Deprecated: Use SecurityDefinitions.ProtoReflect.Descriptor instead.

func (*SecurityDefinitions) GetAdditionalProperties Uses

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

func (*SecurityDefinitions) ProtoMessage Uses

func (*SecurityDefinitions) ProtoMessage()

func (*SecurityDefinitions) ProtoReflect Uses

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

func (*SecurityDefinitions) Reset Uses

func (x *SecurityDefinitions) Reset()

func (*SecurityDefinitions) ResolveReferences Uses

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

ResolveReferences resolves references found inside SecurityDefinitions objects.

func (*SecurityDefinitions) String Uses

func (x *SecurityDefinitions) String() string

func (*SecurityDefinitions) ToRawInfo Uses

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

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

type SecurityDefinitionsItem Uses

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 Uses

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 Uses

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

Deprecated: Use SecurityDefinitionsItem.ProtoReflect.Descriptor instead.

func (*SecurityDefinitionsItem) GetApiKeySecurity Uses

func (x *SecurityDefinitionsItem) GetApiKeySecurity() *ApiKeySecurity

func (*SecurityDefinitionsItem) GetBasicAuthenticationSecurity Uses

func (x *SecurityDefinitionsItem) GetBasicAuthenticationSecurity() *BasicAuthenticationSecurity

func (*SecurityDefinitionsItem) GetOauth2AccessCodeSecurity Uses

func (x *SecurityDefinitionsItem) GetOauth2AccessCodeSecurity() *Oauth2AccessCodeSecurity

func (*SecurityDefinitionsItem) GetOauth2ApplicationSecurity Uses

func (x *SecurityDefinitionsItem) GetOauth2ApplicationSecurity() *Oauth2ApplicationSecurity

func (*SecurityDefinitionsItem) GetOauth2ImplicitSecurity Uses

func (x *SecurityDefinitionsItem) GetOauth2ImplicitSecurity() *Oauth2ImplicitSecurity

func (*SecurityDefinitionsItem) GetOauth2PasswordSecurity Uses

func (x *SecurityDefinitionsItem) GetOauth2PasswordSecurity() *Oauth2PasswordSecurity

func (*SecurityDefinitionsItem) GetOneof Uses

func (m *SecurityDefinitionsItem) GetOneof() isSecurityDefinitionsItem_Oneof

func (*SecurityDefinitionsItem) ProtoMessage Uses

func (*SecurityDefinitionsItem) ProtoMessage()

func (*SecurityDefinitionsItem) ProtoReflect Uses

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

func (*SecurityDefinitionsItem) Reset Uses

func (x *SecurityDefinitionsItem) Reset()

func (*SecurityDefinitionsItem) ResolveReferences Uses

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

ResolveReferences resolves references found inside SecurityDefinitionsItem objects.

func (*SecurityDefinitionsItem) String Uses

func (x *SecurityDefinitionsItem) String() string

func (*SecurityDefinitionsItem) ToRawInfo Uses

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

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

type SecurityDefinitionsItem_ApiKeySecurity Uses

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

type SecurityDefinitionsItem_BasicAuthenticationSecurity Uses

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

type SecurityDefinitionsItem_Oauth2AccessCodeSecurity Uses

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

type SecurityDefinitionsItem_Oauth2ApplicationSecurity Uses

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

type SecurityDefinitionsItem_Oauth2ImplicitSecurity Uses

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

type SecurityDefinitionsItem_Oauth2PasswordSecurity Uses

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

type SecurityRequirement Uses

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 Uses

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 Uses

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

Deprecated: Use SecurityRequirement.ProtoReflect.Descriptor instead.

func (*SecurityRequirement) GetAdditionalProperties Uses

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

func (*SecurityRequirement) ProtoMessage Uses

func (*SecurityRequirement) ProtoMessage()

func (*SecurityRequirement) ProtoReflect Uses

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

func (*SecurityRequirement) Reset Uses

func (x *SecurityRequirement) Reset()

func (*SecurityRequirement) ResolveReferences Uses

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

ResolveReferences resolves references found inside SecurityRequirement objects.

func (*SecurityRequirement) String Uses

func (x *SecurityRequirement) String() string

func (*SecurityRequirement) ToRawInfo Uses

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

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

type StringArray Uses

type StringArray struct {
    Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
    // contains filtered or unexported fields
}

func NewStringArray Uses

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 Uses

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

Deprecated: Use StringArray.ProtoReflect.Descriptor instead.

func (*StringArray) GetValue Uses

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

func (*StringArray) ProtoMessage Uses

func (*StringArray) ProtoMessage()

func (*StringArray) ProtoReflect Uses

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

func (*StringArray) Reset Uses

func (x *StringArray) Reset()

func (*StringArray) ResolveReferences Uses

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

ResolveReferences resolves references found inside StringArray objects.

func (*StringArray) String Uses

func (x *StringArray) String() string

func (*StringArray) ToRawInfo Uses

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

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

type Tag Uses

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 Uses

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 Uses

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

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetDescription Uses

func (x *Tag) GetDescription() string

func (*Tag) GetExternalDocs Uses

func (x *Tag) GetExternalDocs() *ExternalDocs

func (*Tag) GetName Uses

func (x *Tag) GetName() string

func (*Tag) GetVendorExtension Uses

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

func (*Tag) ProtoMessage Uses

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect Uses

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

func (*Tag) Reset Uses

func (x *Tag) Reset()

func (*Tag) ResolveReferences Uses

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

ResolveReferences resolves references found inside Tag objects.

func (*Tag) String Uses

func (x *Tag) String() string

func (*Tag) ToRawInfo Uses

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

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

type TypeItem Uses

type TypeItem struct {
    Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
    // contains filtered or unexported fields
}

func NewTypeItem Uses

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 Uses

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

Deprecated: Use TypeItem.ProtoReflect.Descriptor instead.

func (*TypeItem) GetValue Uses

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

func (*TypeItem) ProtoMessage Uses

func (*TypeItem) ProtoMessage()

func (*TypeItem) ProtoReflect Uses

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

func (*TypeItem) Reset Uses

func (x *TypeItem) Reset()

func (*TypeItem) ResolveReferences Uses

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

ResolveReferences resolves references found inside TypeItem objects.

func (*TypeItem) String Uses

func (x *TypeItem) String() string

func (*TypeItem) ToRawInfo Uses

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

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

type VendorExtension Uses

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 Uses

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 Uses

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

Deprecated: Use VendorExtension.ProtoReflect.Descriptor instead.

func (*VendorExtension) GetAdditionalProperties Uses

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

func (*VendorExtension) ProtoMessage Uses

func (*VendorExtension) ProtoMessage()

func (*VendorExtension) ProtoReflect Uses

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

func (*VendorExtension) Reset Uses

func (x *VendorExtension) Reset()

func (*VendorExtension) ResolveReferences Uses

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

ResolveReferences resolves references found inside VendorExtension objects.

func (*VendorExtension) String Uses

func (x *VendorExtension) String() string

func (*VendorExtension) ToRawInfo Uses

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

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

type Xml Uses

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 Uses

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 Uses

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

Deprecated: Use Xml.ProtoReflect.Descriptor instead.

func (*Xml) GetAttribute Uses

func (x *Xml) GetAttribute() bool

func (*Xml) GetName Uses

func (x *Xml) GetName() string

func (*Xml) GetNamespace Uses

func (x *Xml) GetNamespace() string

func (*Xml) GetPrefix Uses

func (x *Xml) GetPrefix() string

func (*Xml) GetVendorExtension Uses

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

func (*Xml) GetWrapped Uses

func (x *Xml) GetWrapped() bool

func (*Xml) ProtoMessage Uses

func (*Xml) ProtoMessage()

func (*Xml) ProtoReflect Uses

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

func (*Xml) Reset Uses

func (x *Xml) Reset()

func (*Xml) ResolveReferences Uses

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

ResolveReferences resolves references found inside Xml objects.

func (*Xml) String Uses

func (x *Xml) String() string

func (*Xml) ToRawInfo Uses

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

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

Package openapi_v2 imports 11 packages (graph) and is imported by 58 packages. Updated 2020-07-17. Refresh now. Tools for package owners.