Documentation ¶
Index ¶
- Variables
- func Version() string
- type AdditionalPropertiesItem
- func (*AdditionalPropertiesItem) Descriptor() ([]byte, []int)deprecated
- func (x *AdditionalPropertiesItem) GetBoolean() bool
- func (m *AdditionalPropertiesItem) GetOneof() isAdditionalPropertiesItem_Oneof
- func (x *AdditionalPropertiesItem) GetSchema() *Schema
- func (*AdditionalPropertiesItem) ProtoMessage()
- func (x *AdditionalPropertiesItem) ProtoReflect() protoreflect.Message
- func (x *AdditionalPropertiesItem) Reset()
- func (m *AdditionalPropertiesItem) ResolveReferences(root string) (*yaml.Node, error)
- func (x *AdditionalPropertiesItem) String() string
- func (m *AdditionalPropertiesItem) ToRawInfo() *yaml.Node
- type AdditionalPropertiesItem_Boolean
- type AdditionalPropertiesItem_Schema
- type Any
- func (*Any) Descriptor() ([]byte, []int)deprecated
- func (x *Any) GetValue() *anypb.Any
- func (x *Any) GetYaml() string
- func (*Any) ProtoMessage()
- func (x *Any) ProtoReflect() protoreflect.Message
- func (x *Any) Reset()
- func (m *Any) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Any) String() string
- func (m *Any) ToRawInfo() *yaml.Node
- type ApiKeySecurity
- func (*ApiKeySecurity) Descriptor() ([]byte, []int)deprecated
- func (x *ApiKeySecurity) GetDescription() string
- func (x *ApiKeySecurity) GetIn() string
- func (x *ApiKeySecurity) GetName() string
- func (x *ApiKeySecurity) GetType() string
- func (x *ApiKeySecurity) GetVendorExtension() []*NamedAny
- func (*ApiKeySecurity) ProtoMessage()
- func (x *ApiKeySecurity) ProtoReflect() protoreflect.Message
- func (x *ApiKeySecurity) Reset()
- func (m *ApiKeySecurity) ResolveReferences(root string) (*yaml.Node, error)
- func (x *ApiKeySecurity) String() string
- func (m *ApiKeySecurity) ToRawInfo() *yaml.Node
- type BasicAuthenticationSecurity
- func (*BasicAuthenticationSecurity) Descriptor() ([]byte, []int)deprecated
- func (x *BasicAuthenticationSecurity) GetDescription() string
- func (x *BasicAuthenticationSecurity) GetType() string
- func (x *BasicAuthenticationSecurity) GetVendorExtension() []*NamedAny
- func (*BasicAuthenticationSecurity) ProtoMessage()
- func (x *BasicAuthenticationSecurity) ProtoReflect() protoreflect.Message
- func (x *BasicAuthenticationSecurity) Reset()
- func (m *BasicAuthenticationSecurity) ResolveReferences(root string) (*yaml.Node, error)
- func (x *BasicAuthenticationSecurity) String() string
- func (m *BasicAuthenticationSecurity) ToRawInfo() *yaml.Node
- type BodyParameter
- func (*BodyParameter) Descriptor() ([]byte, []int)deprecated
- func (x *BodyParameter) GetDescription() string
- func (x *BodyParameter) GetIn() string
- func (x *BodyParameter) GetName() string
- func (x *BodyParameter) GetRequired() bool
- func (x *BodyParameter) GetSchema() *Schema
- func (x *BodyParameter) GetVendorExtension() []*NamedAny
- func (*BodyParameter) ProtoMessage()
- func (x *BodyParameter) ProtoReflect() protoreflect.Message
- func (x *BodyParameter) Reset()
- func (m *BodyParameter) ResolveReferences(root string) (*yaml.Node, error)
- func (x *BodyParameter) String() string
- func (m *BodyParameter) ToRawInfo() *yaml.Node
- type Contact
- func (*Contact) Descriptor() ([]byte, []int)deprecated
- func (x *Contact) GetEmail() string
- func (x *Contact) GetName() string
- func (x *Contact) GetUrl() string
- func (x *Contact) GetVendorExtension() []*NamedAny
- func (*Contact) ProtoMessage()
- func (x *Contact) ProtoReflect() protoreflect.Message
- func (x *Contact) Reset()
- func (m *Contact) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Contact) String() string
- func (m *Contact) ToRawInfo() *yaml.Node
- type Default
- func (*Default) Descriptor() ([]byte, []int)deprecated
- func (x *Default) GetAdditionalProperties() []*NamedAny
- func (*Default) ProtoMessage()
- func (x *Default) ProtoReflect() protoreflect.Message
- func (x *Default) Reset()
- func (m *Default) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Default) String() string
- func (m *Default) ToRawInfo() *yaml.Node
- type Definitions
- func (*Definitions) Descriptor() ([]byte, []int)deprecated
- func (x *Definitions) GetAdditionalProperties() []*NamedSchema
- func (*Definitions) ProtoMessage()
- func (x *Definitions) ProtoReflect() protoreflect.Message
- func (x *Definitions) Reset()
- func (m *Definitions) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Definitions) String() string
- func (m *Definitions) ToRawInfo() *yaml.Node
- type Document
- func (*Document) Descriptor() ([]byte, []int)deprecated
- func (x *Document) GetBasePath() string
- func (x *Document) GetConsumes() []string
- func (x *Document) GetDefinitions() *Definitions
- func (x *Document) GetExternalDocs() *ExternalDocs
- func (x *Document) GetHost() string
- func (x *Document) GetInfo() *Info
- func (x *Document) GetParameters() *ParameterDefinitions
- func (x *Document) GetPaths() *Paths
- func (x *Document) GetProduces() []string
- func (x *Document) GetResponses() *ResponseDefinitions
- func (x *Document) GetSchemes() []string
- func (x *Document) GetSecurity() []*SecurityRequirement
- func (x *Document) GetSecurityDefinitions() *SecurityDefinitions
- func (x *Document) GetSwagger() string
- func (x *Document) GetTags() []*Tag
- func (x *Document) GetVendorExtension() []*NamedAny
- func (*Document) ProtoMessage()
- func (x *Document) ProtoReflect() protoreflect.Message
- func (x *Document) Reset()
- func (m *Document) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Document) String() string
- func (m *Document) ToRawInfo() *yaml.Node
- func (d *Document) YAMLValue(comment string) ([]byte, error)
- type Examples
- func (*Examples) Descriptor() ([]byte, []int)deprecated
- func (x *Examples) GetAdditionalProperties() []*NamedAny
- func (*Examples) ProtoMessage()
- func (x *Examples) ProtoReflect() protoreflect.Message
- func (x *Examples) Reset()
- func (m *Examples) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Examples) String() string
- func (m *Examples) ToRawInfo() *yaml.Node
- type ExternalDocs
- func (*ExternalDocs) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalDocs) GetDescription() string
- func (x *ExternalDocs) GetUrl() string
- func (x *ExternalDocs) GetVendorExtension() []*NamedAny
- func (*ExternalDocs) ProtoMessage()
- func (x *ExternalDocs) ProtoReflect() protoreflect.Message
- func (x *ExternalDocs) Reset()
- func (m *ExternalDocs) ResolveReferences(root string) (*yaml.Node, error)
- func (x *ExternalDocs) String() string
- func (m *ExternalDocs) ToRawInfo() *yaml.Node
- type FileSchema
- func (*FileSchema) Descriptor() ([]byte, []int)deprecated
- func (x *FileSchema) GetDefault() *Any
- func (x *FileSchema) GetDescription() string
- func (x *FileSchema) GetExample() *Any
- func (x *FileSchema) GetExternalDocs() *ExternalDocs
- func (x *FileSchema) GetFormat() string
- func (x *FileSchema) GetReadOnly() bool
- func (x *FileSchema) GetRequired() []string
- func (x *FileSchema) GetTitle() string
- func (x *FileSchema) GetType() string
- func (x *FileSchema) GetVendorExtension() []*NamedAny
- func (*FileSchema) ProtoMessage()
- func (x *FileSchema) ProtoReflect() protoreflect.Message
- func (x *FileSchema) Reset()
- func (m *FileSchema) ResolveReferences(root string) (*yaml.Node, error)
- func (x *FileSchema) String() string
- func (m *FileSchema) ToRawInfo() *yaml.Node
- type FormDataParameterSubSchema
- func (*FormDataParameterSubSchema) Descriptor() ([]byte, []int)deprecated
- func (x *FormDataParameterSubSchema) GetAllowEmptyValue() bool
- func (x *FormDataParameterSubSchema) GetCollectionFormat() string
- func (x *FormDataParameterSubSchema) GetDefault() *Any
- func (x *FormDataParameterSubSchema) GetDescription() string
- func (x *FormDataParameterSubSchema) GetEnum() []*Any
- func (x *FormDataParameterSubSchema) GetExclusiveMaximum() bool
- func (x *FormDataParameterSubSchema) GetExclusiveMinimum() bool
- func (x *FormDataParameterSubSchema) GetFormat() string
- func (x *FormDataParameterSubSchema) GetIn() string
- func (x *FormDataParameterSubSchema) GetItems() *PrimitivesItems
- func (x *FormDataParameterSubSchema) GetMaxItems() int64
- func (x *FormDataParameterSubSchema) GetMaxLength() int64
- func (x *FormDataParameterSubSchema) GetMaximum() float64
- func (x *FormDataParameterSubSchema) GetMinItems() int64
- func (x *FormDataParameterSubSchema) GetMinLength() int64
- func (x *FormDataParameterSubSchema) GetMinimum() float64
- func (x *FormDataParameterSubSchema) GetMultipleOf() float64
- func (x *FormDataParameterSubSchema) GetName() string
- func (x *FormDataParameterSubSchema) GetPattern() string
- func (x *FormDataParameterSubSchema) GetRequired() bool
- func (x *FormDataParameterSubSchema) GetType() string
- func (x *FormDataParameterSubSchema) GetUniqueItems() bool
- func (x *FormDataParameterSubSchema) GetVendorExtension() []*NamedAny
- func (*FormDataParameterSubSchema) ProtoMessage()
- func (x *FormDataParameterSubSchema) ProtoReflect() protoreflect.Message
- func (x *FormDataParameterSubSchema) Reset()
- func (m *FormDataParameterSubSchema) ResolveReferences(root string) (*yaml.Node, error)
- func (x *FormDataParameterSubSchema) String() string
- func (m *FormDataParameterSubSchema) ToRawInfo() *yaml.Node
- type Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetCollectionFormat() string
- func (x *Header) GetDefault() *Any
- func (x *Header) GetDescription() string
- func (x *Header) GetEnum() []*Any
- func (x *Header) GetExclusiveMaximum() bool
- func (x *Header) GetExclusiveMinimum() bool
- func (x *Header) GetFormat() string
- func (x *Header) GetItems() *PrimitivesItems
- func (x *Header) GetMaxItems() int64
- func (x *Header) GetMaxLength() int64
- func (x *Header) GetMaximum() float64
- func (x *Header) GetMinItems() int64
- func (x *Header) GetMinLength() int64
- func (x *Header) GetMinimum() float64
- func (x *Header) GetMultipleOf() float64
- func (x *Header) GetPattern() string
- func (x *Header) GetType() string
- func (x *Header) GetUniqueItems() bool
- func (x *Header) GetVendorExtension() []*NamedAny
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (m *Header) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Header) String() string
- func (m *Header) ToRawInfo() *yaml.Node
- type HeaderParameterSubSchema
- func (*HeaderParameterSubSchema) Descriptor() ([]byte, []int)deprecated
- func (x *HeaderParameterSubSchema) GetCollectionFormat() string
- func (x *HeaderParameterSubSchema) GetDefault() *Any
- func (x *HeaderParameterSubSchema) GetDescription() string
- func (x *HeaderParameterSubSchema) GetEnum() []*Any
- func (x *HeaderParameterSubSchema) GetExclusiveMaximum() bool
- func (x *HeaderParameterSubSchema) GetExclusiveMinimum() bool
- func (x *HeaderParameterSubSchema) GetFormat() string
- func (x *HeaderParameterSubSchema) GetIn() string
- func (x *HeaderParameterSubSchema) GetItems() *PrimitivesItems
- func (x *HeaderParameterSubSchema) GetMaxItems() int64
- func (x *HeaderParameterSubSchema) GetMaxLength() int64
- func (x *HeaderParameterSubSchema) GetMaximum() float64
- func (x *HeaderParameterSubSchema) GetMinItems() int64
- func (x *HeaderParameterSubSchema) GetMinLength() int64
- func (x *HeaderParameterSubSchema) GetMinimum() float64
- func (x *HeaderParameterSubSchema) GetMultipleOf() float64
- func (x *HeaderParameterSubSchema) GetName() string
- func (x *HeaderParameterSubSchema) GetPattern() string
- func (x *HeaderParameterSubSchema) GetRequired() bool
- func (x *HeaderParameterSubSchema) GetType() string
- func (x *HeaderParameterSubSchema) GetUniqueItems() bool
- func (x *HeaderParameterSubSchema) GetVendorExtension() []*NamedAny
- func (*HeaderParameterSubSchema) ProtoMessage()
- func (x *HeaderParameterSubSchema) ProtoReflect() protoreflect.Message
- func (x *HeaderParameterSubSchema) Reset()
- func (m *HeaderParameterSubSchema) ResolveReferences(root string) (*yaml.Node, error)
- func (x *HeaderParameterSubSchema) String() string
- func (m *HeaderParameterSubSchema) ToRawInfo() *yaml.Node
- type Headers
- func (*Headers) Descriptor() ([]byte, []int)deprecated
- func (x *Headers) GetAdditionalProperties() []*NamedHeader
- func (*Headers) ProtoMessage()
- func (x *Headers) ProtoReflect() protoreflect.Message
- func (x *Headers) Reset()
- func (m *Headers) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Headers) String() string
- func (m *Headers) ToRawInfo() *yaml.Node
- type Info
- func (*Info) Descriptor() ([]byte, []int)deprecated
- func (x *Info) GetContact() *Contact
- func (x *Info) GetDescription() string
- func (x *Info) GetLicense() *License
- func (x *Info) GetTermsOfService() string
- func (x *Info) GetTitle() string
- func (x *Info) GetVendorExtension() []*NamedAny
- func (x *Info) GetVersion() string
- func (*Info) ProtoMessage()
- func (x *Info) ProtoReflect() protoreflect.Message
- func (x *Info) Reset()
- func (m *Info) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Info) String() string
- func (m *Info) ToRawInfo() *yaml.Node
- type ItemsItem
- func (*ItemsItem) Descriptor() ([]byte, []int)deprecated
- func (x *ItemsItem) GetSchema() []*Schema
- func (*ItemsItem) ProtoMessage()
- func (x *ItemsItem) ProtoReflect() protoreflect.Message
- func (x *ItemsItem) Reset()
- func (m *ItemsItem) ResolveReferences(root string) (*yaml.Node, error)
- func (x *ItemsItem) String() string
- func (m *ItemsItem) ToRawInfo() *yaml.Node
- type JsonReference
- func (*JsonReference) Descriptor() ([]byte, []int)deprecated
- func (x *JsonReference) GetDescription() string
- func (x *JsonReference) GetXRef() string
- func (*JsonReference) ProtoMessage()
- func (x *JsonReference) ProtoReflect() protoreflect.Message
- func (x *JsonReference) Reset()
- func (m *JsonReference) ResolveReferences(root string) (*yaml.Node, error)
- func (x *JsonReference) String() string
- func (m *JsonReference) ToRawInfo() *yaml.Node
- type License
- func (*License) Descriptor() ([]byte, []int)deprecated
- func (x *License) GetName() string
- func (x *License) GetUrl() string
- func (x *License) GetVendorExtension() []*NamedAny
- func (*License) ProtoMessage()
- func (x *License) ProtoReflect() protoreflect.Message
- func (x *License) Reset()
- func (m *License) ResolveReferences(root string) (*yaml.Node, error)
- func (x *License) String() string
- func (m *License) ToRawInfo() *yaml.Node
- type NamedAny
- func (*NamedAny) Descriptor() ([]byte, []int)deprecated
- func (x *NamedAny) GetName() string
- func (x *NamedAny) GetValue() *Any
- func (*NamedAny) ProtoMessage()
- func (x *NamedAny) ProtoReflect() protoreflect.Message
- func (x *NamedAny) Reset()
- func (m *NamedAny) ResolveReferences(root string) (*yaml.Node, error)
- func (x *NamedAny) String() string
- func (m *NamedAny) ToRawInfo() *yaml.Node
- type NamedHeader
- func (*NamedHeader) Descriptor() ([]byte, []int)deprecated
- func (x *NamedHeader) GetName() string
- func (x *NamedHeader) GetValue() *Header
- func (*NamedHeader) ProtoMessage()
- func (x *NamedHeader) ProtoReflect() protoreflect.Message
- func (x *NamedHeader) Reset()
- func (m *NamedHeader) ResolveReferences(root string) (*yaml.Node, error)
- func (x *NamedHeader) String() string
- func (m *NamedHeader) ToRawInfo() *yaml.Node
- type NamedParameter
- func (*NamedParameter) Descriptor() ([]byte, []int)deprecated
- func (x *NamedParameter) GetName() string
- func (x *NamedParameter) GetValue() *Parameter
- func (*NamedParameter) ProtoMessage()
- func (x *NamedParameter) ProtoReflect() protoreflect.Message
- func (x *NamedParameter) Reset()
- func (m *NamedParameter) ResolveReferences(root string) (*yaml.Node, error)
- func (x *NamedParameter) String() string
- func (m *NamedParameter) ToRawInfo() *yaml.Node
- type NamedPathItem
- func (*NamedPathItem) Descriptor() ([]byte, []int)deprecated
- func (x *NamedPathItem) GetName() string
- func (x *NamedPathItem) GetValue() *PathItem
- func (*NamedPathItem) ProtoMessage()
- func (x *NamedPathItem) ProtoReflect() protoreflect.Message
- func (x *NamedPathItem) Reset()
- func (m *NamedPathItem) ResolveReferences(root string) (*yaml.Node, error)
- func (x *NamedPathItem) String() string
- func (m *NamedPathItem) ToRawInfo() *yaml.Node
- type NamedResponse
- func (*NamedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NamedResponse) GetName() string
- func (x *NamedResponse) GetValue() *Response
- func (*NamedResponse) ProtoMessage()
- func (x *NamedResponse) ProtoReflect() protoreflect.Message
- func (x *NamedResponse) Reset()
- func (m *NamedResponse) ResolveReferences(root string) (*yaml.Node, error)
- func (x *NamedResponse) String() string
- func (m *NamedResponse) ToRawInfo() *yaml.Node
- type NamedResponseValue
- func (*NamedResponseValue) Descriptor() ([]byte, []int)deprecated
- func (x *NamedResponseValue) GetName() string
- func (x *NamedResponseValue) GetValue() *ResponseValue
- func (*NamedResponseValue) ProtoMessage()
- func (x *NamedResponseValue) ProtoReflect() protoreflect.Message
- func (x *NamedResponseValue) Reset()
- func (m *NamedResponseValue) ResolveReferences(root string) (*yaml.Node, error)
- func (x *NamedResponseValue) String() string
- func (m *NamedResponseValue) ToRawInfo() *yaml.Node
- type NamedSchema
- func (*NamedSchema) Descriptor() ([]byte, []int)deprecated
- func (x *NamedSchema) GetName() string
- func (x *NamedSchema) GetValue() *Schema
- func (*NamedSchema) ProtoMessage()
- func (x *NamedSchema) ProtoReflect() protoreflect.Message
- func (x *NamedSchema) Reset()
- func (m *NamedSchema) ResolveReferences(root string) (*yaml.Node, error)
- func (x *NamedSchema) String() string
- func (m *NamedSchema) ToRawInfo() *yaml.Node
- type NamedSecurityDefinitionsItem
- func (*NamedSecurityDefinitionsItem) Descriptor() ([]byte, []int)deprecated
- func (x *NamedSecurityDefinitionsItem) GetName() string
- func (x *NamedSecurityDefinitionsItem) GetValue() *SecurityDefinitionsItem
- func (*NamedSecurityDefinitionsItem) ProtoMessage()
- func (x *NamedSecurityDefinitionsItem) ProtoReflect() protoreflect.Message
- func (x *NamedSecurityDefinitionsItem) Reset()
- func (m *NamedSecurityDefinitionsItem) ResolveReferences(root string) (*yaml.Node, error)
- func (x *NamedSecurityDefinitionsItem) String() string
- func (m *NamedSecurityDefinitionsItem) ToRawInfo() *yaml.Node
- type NamedString
- func (*NamedString) Descriptor() ([]byte, []int)deprecated
- func (x *NamedString) GetName() string
- func (x *NamedString) GetValue() string
- func (*NamedString) ProtoMessage()
- func (x *NamedString) ProtoReflect() protoreflect.Message
- func (x *NamedString) Reset()
- func (m *NamedString) ResolveReferences(root string) (*yaml.Node, error)
- func (x *NamedString) String() string
- func (m *NamedString) ToRawInfo() *yaml.Node
- type NamedStringArray
- func (*NamedStringArray) Descriptor() ([]byte, []int)deprecated
- func (x *NamedStringArray) GetName() string
- func (x *NamedStringArray) GetValue() *StringArray
- func (*NamedStringArray) ProtoMessage()
- func (x *NamedStringArray) ProtoReflect() protoreflect.Message
- func (x *NamedStringArray) Reset()
- func (m *NamedStringArray) ResolveReferences(root string) (*yaml.Node, error)
- func (x *NamedStringArray) String() string
- func (m *NamedStringArray) ToRawInfo() *yaml.Node
- type NonBodyParameter
- func (*NonBodyParameter) Descriptor() ([]byte, []int)deprecated
- func (x *NonBodyParameter) GetFormDataParameterSubSchema() *FormDataParameterSubSchema
- func (x *NonBodyParameter) GetHeaderParameterSubSchema() *HeaderParameterSubSchema
- func (m *NonBodyParameter) GetOneof() isNonBodyParameter_Oneof
- func (x *NonBodyParameter) GetPathParameterSubSchema() *PathParameterSubSchema
- func (x *NonBodyParameter) GetQueryParameterSubSchema() *QueryParameterSubSchema
- func (*NonBodyParameter) ProtoMessage()
- func (x *NonBodyParameter) ProtoReflect() protoreflect.Message
- func (x *NonBodyParameter) Reset()
- func (m *NonBodyParameter) ResolveReferences(root string) (*yaml.Node, error)
- func (x *NonBodyParameter) String() string
- func (m *NonBodyParameter) ToRawInfo() *yaml.Node
- type NonBodyParameter_FormDataParameterSubSchema
- type NonBodyParameter_HeaderParameterSubSchema
- type NonBodyParameter_PathParameterSubSchema
- type NonBodyParameter_QueryParameterSubSchema
- type Oauth2AccessCodeSecurity
- func (*Oauth2AccessCodeSecurity) Descriptor() ([]byte, []int)deprecated
- func (x *Oauth2AccessCodeSecurity) GetAuthorizationUrl() string
- func (x *Oauth2AccessCodeSecurity) GetDescription() string
- func (x *Oauth2AccessCodeSecurity) GetFlow() string
- func (x *Oauth2AccessCodeSecurity) GetScopes() *Oauth2Scopes
- func (x *Oauth2AccessCodeSecurity) GetTokenUrl() string
- func (x *Oauth2AccessCodeSecurity) GetType() string
- func (x *Oauth2AccessCodeSecurity) GetVendorExtension() []*NamedAny
- func (*Oauth2AccessCodeSecurity) ProtoMessage()
- func (x *Oauth2AccessCodeSecurity) ProtoReflect() protoreflect.Message
- func (x *Oauth2AccessCodeSecurity) Reset()
- func (m *Oauth2AccessCodeSecurity) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Oauth2AccessCodeSecurity) String() string
- func (m *Oauth2AccessCodeSecurity) ToRawInfo() *yaml.Node
- type Oauth2ApplicationSecurity
- func (*Oauth2ApplicationSecurity) Descriptor() ([]byte, []int)deprecated
- func (x *Oauth2ApplicationSecurity) GetDescription() string
- func (x *Oauth2ApplicationSecurity) GetFlow() string
- func (x *Oauth2ApplicationSecurity) GetScopes() *Oauth2Scopes
- func (x *Oauth2ApplicationSecurity) GetTokenUrl() string
- func (x *Oauth2ApplicationSecurity) GetType() string
- func (x *Oauth2ApplicationSecurity) GetVendorExtension() []*NamedAny
- func (*Oauth2ApplicationSecurity) ProtoMessage()
- func (x *Oauth2ApplicationSecurity) ProtoReflect() protoreflect.Message
- func (x *Oauth2ApplicationSecurity) Reset()
- func (m *Oauth2ApplicationSecurity) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Oauth2ApplicationSecurity) String() string
- func (m *Oauth2ApplicationSecurity) ToRawInfo() *yaml.Node
- type Oauth2ImplicitSecurity
- func (*Oauth2ImplicitSecurity) Descriptor() ([]byte, []int)deprecated
- func (x *Oauth2ImplicitSecurity) GetAuthorizationUrl() string
- func (x *Oauth2ImplicitSecurity) GetDescription() string
- func (x *Oauth2ImplicitSecurity) GetFlow() string
- func (x *Oauth2ImplicitSecurity) GetScopes() *Oauth2Scopes
- func (x *Oauth2ImplicitSecurity) GetType() string
- func (x *Oauth2ImplicitSecurity) GetVendorExtension() []*NamedAny
- func (*Oauth2ImplicitSecurity) ProtoMessage()
- func (x *Oauth2ImplicitSecurity) ProtoReflect() protoreflect.Message
- func (x *Oauth2ImplicitSecurity) Reset()
- func (m *Oauth2ImplicitSecurity) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Oauth2ImplicitSecurity) String() string
- func (m *Oauth2ImplicitSecurity) ToRawInfo() *yaml.Node
- type Oauth2PasswordSecurity
- func (*Oauth2PasswordSecurity) Descriptor() ([]byte, []int)deprecated
- func (x *Oauth2PasswordSecurity) GetDescription() string
- func (x *Oauth2PasswordSecurity) GetFlow() string
- func (x *Oauth2PasswordSecurity) GetScopes() *Oauth2Scopes
- func (x *Oauth2PasswordSecurity) GetTokenUrl() string
- func (x *Oauth2PasswordSecurity) GetType() string
- func (x *Oauth2PasswordSecurity) GetVendorExtension() []*NamedAny
- func (*Oauth2PasswordSecurity) ProtoMessage()
- func (x *Oauth2PasswordSecurity) ProtoReflect() protoreflect.Message
- func (x *Oauth2PasswordSecurity) Reset()
- func (m *Oauth2PasswordSecurity) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Oauth2PasswordSecurity) String() string
- func (m *Oauth2PasswordSecurity) ToRawInfo() *yaml.Node
- type Oauth2Scopes
- func (*Oauth2Scopes) Descriptor() ([]byte, []int)deprecated
- func (x *Oauth2Scopes) GetAdditionalProperties() []*NamedString
- func (*Oauth2Scopes) ProtoMessage()
- func (x *Oauth2Scopes) ProtoReflect() protoreflect.Message
- func (x *Oauth2Scopes) Reset()
- func (m *Oauth2Scopes) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Oauth2Scopes) String() string
- func (m *Oauth2Scopes) ToRawInfo() *yaml.Node
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)deprecated
- func (x *Operation) GetConsumes() []string
- func (x *Operation) GetDeprecated() bool
- func (x *Operation) GetDescription() string
- func (x *Operation) GetExternalDocs() *ExternalDocs
- func (x *Operation) GetOperationId() string
- func (x *Operation) GetParameters() []*ParametersItem
- func (x *Operation) GetProduces() []string
- func (x *Operation) GetResponses() *Responses
- func (x *Operation) GetSchemes() []string
- func (x *Operation) GetSecurity() []*SecurityRequirement
- func (x *Operation) GetSummary() string
- func (x *Operation) GetTags() []string
- func (x *Operation) GetVendorExtension() []*NamedAny
- func (*Operation) ProtoMessage()
- func (x *Operation) ProtoReflect() protoreflect.Message
- func (x *Operation) Reset()
- func (m *Operation) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Operation) String() string
- func (m *Operation) ToRawInfo() *yaml.Node
- type Parameter
- func (*Parameter) Descriptor() ([]byte, []int)deprecated
- func (x *Parameter) GetBodyParameter() *BodyParameter
- func (x *Parameter) GetNonBodyParameter() *NonBodyParameter
- func (m *Parameter) GetOneof() isParameter_Oneof
- func (*Parameter) ProtoMessage()
- func (x *Parameter) ProtoReflect() protoreflect.Message
- func (x *Parameter) Reset()
- func (m *Parameter) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Parameter) String() string
- func (m *Parameter) ToRawInfo() *yaml.Node
- type ParameterDefinitions
- func (*ParameterDefinitions) Descriptor() ([]byte, []int)deprecated
- func (x *ParameterDefinitions) GetAdditionalProperties() []*NamedParameter
- func (*ParameterDefinitions) ProtoMessage()
- func (x *ParameterDefinitions) ProtoReflect() protoreflect.Message
- func (x *ParameterDefinitions) Reset()
- func (m *ParameterDefinitions) ResolveReferences(root string) (*yaml.Node, error)
- func (x *ParameterDefinitions) String() string
- func (m *ParameterDefinitions) ToRawInfo() *yaml.Node
- type Parameter_BodyParameter
- type Parameter_NonBodyParameter
- type ParametersItem
- func (*ParametersItem) Descriptor() ([]byte, []int)deprecated
- func (x *ParametersItem) GetJsonReference() *JsonReference
- func (m *ParametersItem) GetOneof() isParametersItem_Oneof
- func (x *ParametersItem) GetParameter() *Parameter
- func (*ParametersItem) ProtoMessage()
- func (x *ParametersItem) ProtoReflect() protoreflect.Message
- func (x *ParametersItem) Reset()
- func (m *ParametersItem) ResolveReferences(root string) (*yaml.Node, error)
- func (x *ParametersItem) String() string
- func (m *ParametersItem) ToRawInfo() *yaml.Node
- type ParametersItem_JsonReference
- type ParametersItem_Parameter
- type PathItem
- func (*PathItem) Descriptor() ([]byte, []int)deprecated
- func (x *PathItem) GetDelete() *Operation
- func (x *PathItem) GetGet() *Operation
- func (x *PathItem) GetHead() *Operation
- func (x *PathItem) GetOptions() *Operation
- func (x *PathItem) GetParameters() []*ParametersItem
- func (x *PathItem) GetPatch() *Operation
- func (x *PathItem) GetPost() *Operation
- func (x *PathItem) GetPut() *Operation
- func (x *PathItem) GetVendorExtension() []*NamedAny
- func (x *PathItem) GetXRef() string
- func (*PathItem) ProtoMessage()
- func (x *PathItem) ProtoReflect() protoreflect.Message
- func (x *PathItem) Reset()
- func (m *PathItem) ResolveReferences(root string) (*yaml.Node, error)
- func (x *PathItem) String() string
- func (m *PathItem) ToRawInfo() *yaml.Node
- type PathParameterSubSchema
- func (*PathParameterSubSchema) Descriptor() ([]byte, []int)deprecated
- func (x *PathParameterSubSchema) GetCollectionFormat() string
- func (x *PathParameterSubSchema) GetDefault() *Any
- func (x *PathParameterSubSchema) GetDescription() string
- func (x *PathParameterSubSchema) GetEnum() []*Any
- func (x *PathParameterSubSchema) GetExclusiveMaximum() bool
- func (x *PathParameterSubSchema) GetExclusiveMinimum() bool
- func (x *PathParameterSubSchema) GetFormat() string
- func (x *PathParameterSubSchema) GetIn() string
- func (x *PathParameterSubSchema) GetItems() *PrimitivesItems
- func (x *PathParameterSubSchema) GetMaxItems() int64
- func (x *PathParameterSubSchema) GetMaxLength() int64
- func (x *PathParameterSubSchema) GetMaximum() float64
- func (x *PathParameterSubSchema) GetMinItems() int64
- func (x *PathParameterSubSchema) GetMinLength() int64
- func (x *PathParameterSubSchema) GetMinimum() float64
- func (x *PathParameterSubSchema) GetMultipleOf() float64
- func (x *PathParameterSubSchema) GetName() string
- func (x *PathParameterSubSchema) GetPattern() string
- func (x *PathParameterSubSchema) GetRequired() bool
- func (x *PathParameterSubSchema) GetType() string
- func (x *PathParameterSubSchema) GetUniqueItems() bool
- func (x *PathParameterSubSchema) GetVendorExtension() []*NamedAny
- func (*PathParameterSubSchema) ProtoMessage()
- func (x *PathParameterSubSchema) ProtoReflect() protoreflect.Message
- func (x *PathParameterSubSchema) Reset()
- func (m *PathParameterSubSchema) ResolveReferences(root string) (*yaml.Node, error)
- func (x *PathParameterSubSchema) String() string
- func (m *PathParameterSubSchema) ToRawInfo() *yaml.Node
- type Paths
- func (*Paths) Descriptor() ([]byte, []int)deprecated
- func (x *Paths) GetPath() []*NamedPathItem
- func (x *Paths) GetVendorExtension() []*NamedAny
- func (*Paths) ProtoMessage()
- func (x *Paths) ProtoReflect() protoreflect.Message
- func (x *Paths) Reset()
- func (m *Paths) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Paths) String() string
- func (m *Paths) ToRawInfo() *yaml.Node
- type PrimitivesItems
- func (*PrimitivesItems) Descriptor() ([]byte, []int)deprecated
- func (x *PrimitivesItems) GetCollectionFormat() string
- func (x *PrimitivesItems) GetDefault() *Any
- func (x *PrimitivesItems) GetEnum() []*Any
- func (x *PrimitivesItems) GetExclusiveMaximum() bool
- func (x *PrimitivesItems) GetExclusiveMinimum() bool
- func (x *PrimitivesItems) GetFormat() string
- func (x *PrimitivesItems) GetItems() *PrimitivesItems
- func (x *PrimitivesItems) GetMaxItems() int64
- func (x *PrimitivesItems) GetMaxLength() int64
- func (x *PrimitivesItems) GetMaximum() float64
- func (x *PrimitivesItems) GetMinItems() int64
- func (x *PrimitivesItems) GetMinLength() int64
- func (x *PrimitivesItems) GetMinimum() float64
- func (x *PrimitivesItems) GetMultipleOf() float64
- func (x *PrimitivesItems) GetPattern() string
- func (x *PrimitivesItems) GetType() string
- func (x *PrimitivesItems) GetUniqueItems() bool
- func (x *PrimitivesItems) GetVendorExtension() []*NamedAny
- func (*PrimitivesItems) ProtoMessage()
- func (x *PrimitivesItems) ProtoReflect() protoreflect.Message
- func (x *PrimitivesItems) Reset()
- func (m *PrimitivesItems) ResolveReferences(root string) (*yaml.Node, error)
- func (x *PrimitivesItems) String() string
- func (m *PrimitivesItems) ToRawInfo() *yaml.Node
- type Properties
- func (*Properties) Descriptor() ([]byte, []int)deprecated
- func (x *Properties) GetAdditionalProperties() []*NamedSchema
- func (*Properties) ProtoMessage()
- func (x *Properties) ProtoReflect() protoreflect.Message
- func (x *Properties) Reset()
- func (m *Properties) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Properties) String() string
- func (m *Properties) ToRawInfo() *yaml.Node
- type QueryParameterSubSchema
- func (*QueryParameterSubSchema) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParameterSubSchema) GetAllowEmptyValue() bool
- func (x *QueryParameterSubSchema) GetCollectionFormat() string
- func (x *QueryParameterSubSchema) GetDefault() *Any
- func (x *QueryParameterSubSchema) GetDescription() string
- func (x *QueryParameterSubSchema) GetEnum() []*Any
- func (x *QueryParameterSubSchema) GetExclusiveMaximum() bool
- func (x *QueryParameterSubSchema) GetExclusiveMinimum() bool
- func (x *QueryParameterSubSchema) GetFormat() string
- func (x *QueryParameterSubSchema) GetIn() string
- func (x *QueryParameterSubSchema) GetItems() *PrimitivesItems
- func (x *QueryParameterSubSchema) GetMaxItems() int64
- func (x *QueryParameterSubSchema) GetMaxLength() int64
- func (x *QueryParameterSubSchema) GetMaximum() float64
- func (x *QueryParameterSubSchema) GetMinItems() int64
- func (x *QueryParameterSubSchema) GetMinLength() int64
- func (x *QueryParameterSubSchema) GetMinimum() float64
- func (x *QueryParameterSubSchema) GetMultipleOf() float64
- func (x *QueryParameterSubSchema) GetName() string
- func (x *QueryParameterSubSchema) GetPattern() string
- func (x *QueryParameterSubSchema) GetRequired() bool
- func (x *QueryParameterSubSchema) GetType() string
- func (x *QueryParameterSubSchema) GetUniqueItems() bool
- func (x *QueryParameterSubSchema) GetVendorExtension() []*NamedAny
- func (*QueryParameterSubSchema) ProtoMessage()
- func (x *QueryParameterSubSchema) ProtoReflect() protoreflect.Message
- func (x *QueryParameterSubSchema) Reset()
- func (m *QueryParameterSubSchema) ResolveReferences(root string) (*yaml.Node, error)
- func (x *QueryParameterSubSchema) String() string
- func (m *QueryParameterSubSchema) ToRawInfo() *yaml.Node
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetDescription() string
- func (x *Response) GetExamples() *Examples
- func (x *Response) GetHeaders() *Headers
- func (x *Response) GetSchema() *SchemaItem
- func (x *Response) GetVendorExtension() []*NamedAny
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (m *Response) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Response) String() string
- func (m *Response) ToRawInfo() *yaml.Node
- type ResponseDefinitions
- func (*ResponseDefinitions) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseDefinitions) GetAdditionalProperties() []*NamedResponse
- func (*ResponseDefinitions) ProtoMessage()
- func (x *ResponseDefinitions) ProtoReflect() protoreflect.Message
- func (x *ResponseDefinitions) Reset()
- func (m *ResponseDefinitions) ResolveReferences(root string) (*yaml.Node, error)
- func (x *ResponseDefinitions) String() string
- func (m *ResponseDefinitions) ToRawInfo() *yaml.Node
- type ResponseValue
- func (*ResponseValue) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseValue) GetJsonReference() *JsonReference
- func (m *ResponseValue) GetOneof() isResponseValue_Oneof
- func (x *ResponseValue) GetResponse() *Response
- func (*ResponseValue) ProtoMessage()
- func (x *ResponseValue) ProtoReflect() protoreflect.Message
- func (x *ResponseValue) Reset()
- func (m *ResponseValue) ResolveReferences(root string) (*yaml.Node, error)
- func (x *ResponseValue) String() string
- func (m *ResponseValue) ToRawInfo() *yaml.Node
- type ResponseValue_JsonReference
- type ResponseValue_Response
- type Responses
- func (*Responses) Descriptor() ([]byte, []int)deprecated
- func (x *Responses) GetResponseCode() []*NamedResponseValue
- func (x *Responses) GetVendorExtension() []*NamedAny
- func (*Responses) ProtoMessage()
- func (x *Responses) ProtoReflect() protoreflect.Message
- func (x *Responses) Reset()
- func (m *Responses) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Responses) String() string
- func (m *Responses) ToRawInfo() *yaml.Node
- type Schema
- func (*Schema) Descriptor() ([]byte, []int)deprecated
- func (x *Schema) GetAdditionalProperties() *AdditionalPropertiesItem
- func (x *Schema) GetAllOf() []*Schema
- func (x *Schema) GetDefault() *Any
- func (x *Schema) GetDescription() string
- func (x *Schema) GetDiscriminator() string
- func (x *Schema) GetEnum() []*Any
- func (x *Schema) GetExample() *Any
- func (x *Schema) GetExclusiveMaximum() bool
- func (x *Schema) GetExclusiveMinimum() bool
- func (x *Schema) GetExternalDocs() *ExternalDocs
- func (x *Schema) GetFormat() string
- func (x *Schema) GetItems() *ItemsItem
- func (x *Schema) GetMaxItems() int64
- func (x *Schema) GetMaxLength() int64
- func (x *Schema) GetMaxProperties() int64
- func (x *Schema) GetMaximum() float64
- func (x *Schema) GetMinItems() int64
- func (x *Schema) GetMinLength() int64
- func (x *Schema) GetMinProperties() int64
- func (x *Schema) GetMinimum() float64
- func (x *Schema) GetMultipleOf() float64
- func (x *Schema) GetPattern() string
- func (x *Schema) GetProperties() *Properties
- func (x *Schema) GetReadOnly() bool
- func (x *Schema) GetRequired() []string
- func (x *Schema) GetTitle() string
- func (x *Schema) GetType() *TypeItem
- func (x *Schema) GetUniqueItems() bool
- func (x *Schema) GetVendorExtension() []*NamedAny
- func (x *Schema) GetXRef() string
- func (x *Schema) GetXml() *Xml
- func (*Schema) ProtoMessage()
- func (x *Schema) ProtoReflect() protoreflect.Message
- func (x *Schema) Reset()
- func (m *Schema) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Schema) String() string
- func (m *Schema) ToRawInfo() *yaml.Node
- type SchemaItem
- func (*SchemaItem) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaItem) GetFileSchema() *FileSchema
- func (m *SchemaItem) GetOneof() isSchemaItem_Oneof
- func (x *SchemaItem) GetSchema() *Schema
- func (*SchemaItem) ProtoMessage()
- func (x *SchemaItem) ProtoReflect() protoreflect.Message
- func (x *SchemaItem) Reset()
- func (m *SchemaItem) ResolveReferences(root string) (*yaml.Node, error)
- func (x *SchemaItem) String() string
- func (m *SchemaItem) ToRawInfo() *yaml.Node
- type SchemaItem_FileSchema
- type SchemaItem_Schema
- type SecurityDefinitions
- func (*SecurityDefinitions) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityDefinitions) GetAdditionalProperties() []*NamedSecurityDefinitionsItem
- func (*SecurityDefinitions) ProtoMessage()
- func (x *SecurityDefinitions) ProtoReflect() protoreflect.Message
- func (x *SecurityDefinitions) Reset()
- func (m *SecurityDefinitions) ResolveReferences(root string) (*yaml.Node, error)
- func (x *SecurityDefinitions) String() string
- func (m *SecurityDefinitions) ToRawInfo() *yaml.Node
- type SecurityDefinitionsItem
- func (*SecurityDefinitionsItem) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityDefinitionsItem) GetApiKeySecurity() *ApiKeySecurity
- func (x *SecurityDefinitionsItem) GetBasicAuthenticationSecurity() *BasicAuthenticationSecurity
- func (x *SecurityDefinitionsItem) GetOauth2AccessCodeSecurity() *Oauth2AccessCodeSecurity
- func (x *SecurityDefinitionsItem) GetOauth2ApplicationSecurity() *Oauth2ApplicationSecurity
- func (x *SecurityDefinitionsItem) GetOauth2ImplicitSecurity() *Oauth2ImplicitSecurity
- func (x *SecurityDefinitionsItem) GetOauth2PasswordSecurity() *Oauth2PasswordSecurity
- func (m *SecurityDefinitionsItem) GetOneof() isSecurityDefinitionsItem_Oneof
- func (*SecurityDefinitionsItem) ProtoMessage()
- func (x *SecurityDefinitionsItem) ProtoReflect() protoreflect.Message
- func (x *SecurityDefinitionsItem) Reset()
- func (m *SecurityDefinitionsItem) ResolveReferences(root string) (*yaml.Node, error)
- func (x *SecurityDefinitionsItem) String() string
- func (m *SecurityDefinitionsItem) ToRawInfo() *yaml.Node
- type SecurityDefinitionsItem_ApiKeySecurity
- type SecurityDefinitionsItem_BasicAuthenticationSecurity
- type SecurityDefinitionsItem_Oauth2AccessCodeSecurity
- type SecurityDefinitionsItem_Oauth2ApplicationSecurity
- type SecurityDefinitionsItem_Oauth2ImplicitSecurity
- type SecurityDefinitionsItem_Oauth2PasswordSecurity
- type SecurityRequirement
- func (*SecurityRequirement) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityRequirement) GetAdditionalProperties() []*NamedStringArray
- func (*SecurityRequirement) ProtoMessage()
- func (x *SecurityRequirement) ProtoReflect() protoreflect.Message
- func (x *SecurityRequirement) Reset()
- func (m *SecurityRequirement) ResolveReferences(root string) (*yaml.Node, error)
- func (x *SecurityRequirement) String() string
- func (m *SecurityRequirement) ToRawInfo() *yaml.Node
- type StringArray
- func (*StringArray) Descriptor() ([]byte, []int)deprecated
- func (x *StringArray) GetValue() []string
- func (*StringArray) ProtoMessage()
- func (x *StringArray) ProtoReflect() protoreflect.Message
- func (x *StringArray) Reset()
- func (m *StringArray) ResolveReferences(root string) (*yaml.Node, error)
- func (x *StringArray) String() string
- func (m *StringArray) ToRawInfo() *yaml.Node
- type Tag
- func (*Tag) Descriptor() ([]byte, []int)deprecated
- func (x *Tag) GetDescription() string
- func (x *Tag) GetExternalDocs() *ExternalDocs
- func (x *Tag) GetName() string
- func (x *Tag) GetVendorExtension() []*NamedAny
- func (*Tag) ProtoMessage()
- func (x *Tag) ProtoReflect() protoreflect.Message
- func (x *Tag) Reset()
- func (m *Tag) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Tag) String() string
- func (m *Tag) ToRawInfo() *yaml.Node
- type TypeItem
- func (*TypeItem) Descriptor() ([]byte, []int)deprecated
- func (x *TypeItem) GetValue() []string
- func (*TypeItem) ProtoMessage()
- func (x *TypeItem) ProtoReflect() protoreflect.Message
- func (x *TypeItem) Reset()
- func (m *TypeItem) ResolveReferences(root string) (*yaml.Node, error)
- func (x *TypeItem) String() string
- func (m *TypeItem) ToRawInfo() *yaml.Node
- type VendorExtension
- func (*VendorExtension) Descriptor() ([]byte, []int)deprecated
- func (x *VendorExtension) GetAdditionalProperties() []*NamedAny
- func (*VendorExtension) ProtoMessage()
- func (x *VendorExtension) ProtoReflect() protoreflect.Message
- func (x *VendorExtension) Reset()
- func (m *VendorExtension) ResolveReferences(root string) (*yaml.Node, error)
- func (x *VendorExtension) String() string
- func (m *VendorExtension) ToRawInfo() *yaml.Node
- type Xml
- func (*Xml) Descriptor() ([]byte, []int)deprecated
- func (x *Xml) GetAttribute() bool
- func (x *Xml) GetName() string
- func (x *Xml) GetNamespace() string
- func (x *Xml) GetPrefix() string
- func (x *Xml) GetVendorExtension() []*NamedAny
- func (x *Xml) GetWrapped() bool
- func (*Xml) ProtoMessage()
- func (x *Xml) ProtoReflect() protoreflect.Message
- func (x *Xml) Reset()
- func (m *Xml) ResolveReferences(root string) (*yaml.Node, error)
- func (x *Xml) String() string
- func (m *Xml) ToRawInfo() *yaml.Node
Constants ¶
This section is empty.
Variables ¶
var File_openapiv2_OpenAPIv2_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type AdditionalPropertiesItem ¶
type AdditionalPropertiesItem struct { // Types that are assignable to Oneof: // // *AdditionalPropertiesItem_Schema // *AdditionalPropertiesItem_Boolean Oneof isAdditionalPropertiesItem_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func NewAdditionalPropertiesItem ¶
func NewAdditionalPropertiesItem(in *yaml.Node, context *compiler.Context) (*AdditionalPropertiesItem, error)
NewAdditionalPropertiesItem creates an object of type AdditionalPropertiesItem if possible, returning an error if not.
func (*AdditionalPropertiesItem) Descriptor
deprecated
func (*AdditionalPropertiesItem) Descriptor() ([]byte, []int)
Deprecated: Use AdditionalPropertiesItem.ProtoReflect.Descriptor instead.
func (*AdditionalPropertiesItem) GetBoolean ¶
func (x *AdditionalPropertiesItem) GetBoolean() bool
func (*AdditionalPropertiesItem) GetOneof ¶
func (m *AdditionalPropertiesItem) GetOneof() isAdditionalPropertiesItem_Oneof
func (*AdditionalPropertiesItem) GetSchema ¶
func (x *AdditionalPropertiesItem) GetSchema() *Schema
func (*AdditionalPropertiesItem) ProtoMessage ¶
func (*AdditionalPropertiesItem) ProtoMessage()
func (*AdditionalPropertiesItem) ProtoReflect ¶
func (x *AdditionalPropertiesItem) ProtoReflect() protoreflect.Message
func (*AdditionalPropertiesItem) Reset ¶
func (x *AdditionalPropertiesItem) Reset()
func (*AdditionalPropertiesItem) ResolveReferences ¶
func (m *AdditionalPropertiesItem) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside AdditionalPropertiesItem objects.
func (*AdditionalPropertiesItem) String ¶
func (x *AdditionalPropertiesItem) String() string
func (*AdditionalPropertiesItem) ToRawInfo ¶
func (m *AdditionalPropertiesItem) ToRawInfo() *yaml.Node
ToRawInfo returns a description of AdditionalPropertiesItem suitable for JSON or YAML export.
type AdditionalPropertiesItem_Boolean ¶
type AdditionalPropertiesItem_Boolean struct {
Boolean bool `protobuf:"varint,2,opt,name=boolean,proto3,oneof"`
}
type AdditionalPropertiesItem_Schema ¶
type AdditionalPropertiesItem_Schema struct {
Schema *Schema `protobuf:"bytes,1,opt,name=schema,proto3,oneof"`
}
type Any ¶
type Any struct { Value *anypb.Any `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Yaml string `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"` // contains filtered or unexported fields }
func (*Any) Descriptor
deprecated
func (*Any) ProtoMessage ¶
func (*Any) ProtoMessage()
func (*Any) ProtoReflect ¶
func (x *Any) ProtoReflect() protoreflect.Message
func (*Any) ResolveReferences ¶
ResolveReferences resolves references found inside Any objects.
type ApiKeySecurity ¶
type ApiKeySecurity struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` In string `protobuf:"bytes,3,opt,name=in,proto3" json:"in,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,5,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
func NewApiKeySecurity ¶
func NewApiKeySecurity(in *yaml.Node, context *compiler.Context) (*ApiKeySecurity, error)
NewApiKeySecurity creates an object of type ApiKeySecurity if possible, returning an error if not.
func (*ApiKeySecurity) Descriptor
deprecated
func (*ApiKeySecurity) Descriptor() ([]byte, []int)
Deprecated: Use ApiKeySecurity.ProtoReflect.Descriptor instead.
func (*ApiKeySecurity) GetDescription ¶
func (x *ApiKeySecurity) GetDescription() string
func (*ApiKeySecurity) GetIn ¶
func (x *ApiKeySecurity) GetIn() string
func (*ApiKeySecurity) GetName ¶
func (x *ApiKeySecurity) GetName() string
func (*ApiKeySecurity) GetType ¶
func (x *ApiKeySecurity) GetType() string
func (*ApiKeySecurity) GetVendorExtension ¶
func (x *ApiKeySecurity) GetVendorExtension() []*NamedAny
func (*ApiKeySecurity) ProtoMessage ¶
func (*ApiKeySecurity) ProtoMessage()
func (*ApiKeySecurity) ProtoReflect ¶
func (x *ApiKeySecurity) ProtoReflect() protoreflect.Message
func (*ApiKeySecurity) Reset ¶
func (x *ApiKeySecurity) Reset()
func (*ApiKeySecurity) ResolveReferences ¶
func (m *ApiKeySecurity) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside ApiKeySecurity objects.
func (*ApiKeySecurity) String ¶
func (x *ApiKeySecurity) String() string
func (*ApiKeySecurity) ToRawInfo ¶
func (m *ApiKeySecurity) ToRawInfo() *yaml.Node
ToRawInfo returns a description of ApiKeySecurity suitable for JSON or YAML export.
type BasicAuthenticationSecurity ¶
type BasicAuthenticationSecurity struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,3,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
func NewBasicAuthenticationSecurity ¶
func NewBasicAuthenticationSecurity(in *yaml.Node, context *compiler.Context) (*BasicAuthenticationSecurity, error)
NewBasicAuthenticationSecurity creates an object of type BasicAuthenticationSecurity if possible, returning an error if not.
func (*BasicAuthenticationSecurity) Descriptor
deprecated
func (*BasicAuthenticationSecurity) Descriptor() ([]byte, []int)
Deprecated: Use BasicAuthenticationSecurity.ProtoReflect.Descriptor instead.
func (*BasicAuthenticationSecurity) GetDescription ¶
func (x *BasicAuthenticationSecurity) GetDescription() string
func (*BasicAuthenticationSecurity) GetType ¶
func (x *BasicAuthenticationSecurity) GetType() string
func (*BasicAuthenticationSecurity) GetVendorExtension ¶
func (x *BasicAuthenticationSecurity) GetVendorExtension() []*NamedAny
func (*BasicAuthenticationSecurity) ProtoMessage ¶
func (*BasicAuthenticationSecurity) ProtoMessage()
func (*BasicAuthenticationSecurity) ProtoReflect ¶
func (x *BasicAuthenticationSecurity) ProtoReflect() protoreflect.Message
func (*BasicAuthenticationSecurity) Reset ¶
func (x *BasicAuthenticationSecurity) Reset()
func (*BasicAuthenticationSecurity) ResolveReferences ¶
func (m *BasicAuthenticationSecurity) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside BasicAuthenticationSecurity objects.
func (*BasicAuthenticationSecurity) String ¶
func (x *BasicAuthenticationSecurity) String() string
func (*BasicAuthenticationSecurity) ToRawInfo ¶
func (m *BasicAuthenticationSecurity) ToRawInfo() *yaml.Node
ToRawInfo returns a description of BasicAuthenticationSecurity suitable for JSON or YAML export.
type BodyParameter ¶
type BodyParameter struct { // A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed. Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // The name of the parameter. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Determines the location of the parameter. In string `protobuf:"bytes,3,opt,name=in,proto3" json:"in,omitempty"` // Determines whether or not this parameter is required or optional. Required bool `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"` Schema *Schema `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,6,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
func NewBodyParameter ¶
func NewBodyParameter(in *yaml.Node, context *compiler.Context) (*BodyParameter, error)
NewBodyParameter creates an object of type BodyParameter if possible, returning an error if not.
func (*BodyParameter) Descriptor
deprecated
func (*BodyParameter) Descriptor() ([]byte, []int)
Deprecated: Use BodyParameter.ProtoReflect.Descriptor instead.
func (*BodyParameter) GetDescription ¶
func (x *BodyParameter) GetDescription() string
func (*BodyParameter) GetIn ¶
func (x *BodyParameter) GetIn() string
func (*BodyParameter) GetName ¶
func (x *BodyParameter) GetName() string
func (*BodyParameter) GetRequired ¶
func (x *BodyParameter) GetRequired() bool
func (*BodyParameter) GetSchema ¶
func (x *BodyParameter) GetSchema() *Schema
func (*BodyParameter) GetVendorExtension ¶
func (x *BodyParameter) GetVendorExtension() []*NamedAny
func (*BodyParameter) ProtoMessage ¶
func (*BodyParameter) ProtoMessage()
func (*BodyParameter) ProtoReflect ¶
func (x *BodyParameter) ProtoReflect() protoreflect.Message
func (*BodyParameter) Reset ¶
func (x *BodyParameter) Reset()
func (*BodyParameter) ResolveReferences ¶
func (m *BodyParameter) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside BodyParameter objects.
func (*BodyParameter) String ¶
func (x *BodyParameter) String() string
func (*BodyParameter) ToRawInfo ¶
func (m *BodyParameter) ToRawInfo() *yaml.Node
ToRawInfo returns a description of BodyParameter suitable for JSON or YAML export.
type Contact ¶
type Contact struct { // The identifying name of the contact person/organization. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The URL pointing to the contact information. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // The email address of the contact person/organization. Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,4,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
Contact information for the owners of the API.
func NewContact ¶
NewContact creates an object of type Contact if possible, returning an error if not.
func (*Contact) Descriptor
deprecated
func (*Contact) GetVendorExtension ¶
func (*Contact) ProtoMessage ¶
func (*Contact) ProtoMessage()
func (*Contact) ProtoReflect ¶
func (x *Contact) ProtoReflect() protoreflect.Message
func (*Contact) ResolveReferences ¶
ResolveReferences resolves references found inside Contact objects.
type Default ¶
type Default struct { AdditionalProperties []*NamedAny `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"` // contains filtered or unexported fields }
func NewDefault ¶
NewDefault creates an object of type Default if possible, returning an error if not.
func (*Default) Descriptor
deprecated
func (*Default) GetAdditionalProperties ¶
func (*Default) ProtoMessage ¶
func (*Default) ProtoMessage()
func (*Default) ProtoReflect ¶
func (x *Default) ProtoReflect() protoreflect.Message
func (*Default) ResolveReferences ¶
ResolveReferences resolves references found inside Default objects.
type Definitions ¶
type Definitions struct { AdditionalProperties []*NamedSchema `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"` // contains filtered or unexported fields }
One or more JSON objects describing the schemas being consumed and produced by the API.
func NewDefinitions ¶
func NewDefinitions(in *yaml.Node, context *compiler.Context) (*Definitions, error)
NewDefinitions creates an object of type Definitions if possible, returning an error if not.
func (*Definitions) Descriptor
deprecated
func (*Definitions) Descriptor() ([]byte, []int)
Deprecated: Use Definitions.ProtoReflect.Descriptor instead.
func (*Definitions) GetAdditionalProperties ¶
func (x *Definitions) GetAdditionalProperties() []*NamedSchema
func (*Definitions) ProtoMessage ¶
func (*Definitions) ProtoMessage()
func (*Definitions) ProtoReflect ¶
func (x *Definitions) ProtoReflect() protoreflect.Message
func (*Definitions) Reset ¶
func (x *Definitions) Reset()
func (*Definitions) ResolveReferences ¶
func (m *Definitions) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside Definitions objects.
func (*Definitions) String ¶
func (x *Definitions) String() string
func (*Definitions) ToRawInfo ¶
func (m *Definitions) ToRawInfo() *yaml.Node
ToRawInfo returns a description of Definitions suitable for JSON or YAML export.
type Document ¶
type Document struct { // The Swagger version of this document. Swagger string `protobuf:"bytes,1,opt,name=swagger,proto3" json:"swagger,omitempty"` Info *Info `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` // The host (name or ip) of the API. Example: 'swagger.io' Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` // The base path to the API. Example: '/api'. BasePath string `protobuf:"bytes,4,opt,name=base_path,json=basePath,proto3" json:"base_path,omitempty"` // The transfer protocol of the API. Schemes []string `protobuf:"bytes,5,rep,name=schemes,proto3" json:"schemes,omitempty"` // A list of MIME types accepted by the API. Consumes []string `protobuf:"bytes,6,rep,name=consumes,proto3" json:"consumes,omitempty"` // A list of MIME types the API can produce. Produces []string `protobuf:"bytes,7,rep,name=produces,proto3" json:"produces,omitempty"` Paths *Paths `protobuf:"bytes,8,opt,name=paths,proto3" json:"paths,omitempty"` Definitions *Definitions `protobuf:"bytes,9,opt,name=definitions,proto3" json:"definitions,omitempty"` Parameters *ParameterDefinitions `protobuf:"bytes,10,opt,name=parameters,proto3" json:"parameters,omitempty"` Responses *ResponseDefinitions `protobuf:"bytes,11,opt,name=responses,proto3" json:"responses,omitempty"` Security []*SecurityRequirement `protobuf:"bytes,12,rep,name=security,proto3" json:"security,omitempty"` SecurityDefinitions *SecurityDefinitions `protobuf:"bytes,13,opt,name=security_definitions,json=securityDefinitions,proto3" json:"security_definitions,omitempty"` Tags []*Tag `protobuf:"bytes,14,rep,name=tags,proto3" json:"tags,omitempty"` ExternalDocs *ExternalDocs `protobuf:"bytes,15,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,16,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
func NewDocument ¶
NewDocument creates an object of type Document if possible, returning an error if not.
func ParseDocument ¶
ParseDocument reads an OpenAPI v2 description from a YAML/JSON representation.
func (*Document) Descriptor
deprecated
func (*Document) GetBasePath ¶
func (*Document) GetConsumes ¶
func (*Document) GetDefinitions ¶
func (x *Document) GetDefinitions() *Definitions
func (*Document) GetExternalDocs ¶
func (x *Document) GetExternalDocs() *ExternalDocs
func (*Document) GetParameters ¶
func (x *Document) GetParameters() *ParameterDefinitions
func (*Document) GetProduces ¶
func (*Document) GetResponses ¶
func (x *Document) GetResponses() *ResponseDefinitions
func (*Document) GetSchemes ¶
func (*Document) GetSecurity ¶
func (x *Document) GetSecurity() []*SecurityRequirement
func (*Document) GetSecurityDefinitions ¶
func (x *Document) GetSecurityDefinitions() *SecurityDefinitions
func (*Document) GetSwagger ¶
func (*Document) GetVendorExtension ¶
func (*Document) ProtoMessage ¶
func (*Document) ProtoMessage()
func (*Document) ProtoReflect ¶
func (x *Document) ProtoReflect() protoreflect.Message
func (*Document) ResolveReferences ¶
ResolveReferences resolves references found inside Document objects.
type Examples ¶
type Examples struct { AdditionalProperties []*NamedAny `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"` // contains filtered or unexported fields }
func NewExamples ¶
NewExamples creates an object of type Examples if possible, returning an error if not.
func (*Examples) Descriptor
deprecated
func (*Examples) GetAdditionalProperties ¶
func (*Examples) ProtoMessage ¶
func (*Examples) ProtoMessage()
func (*Examples) ProtoReflect ¶
func (x *Examples) ProtoReflect() protoreflect.Message
func (*Examples) ResolveReferences ¶
ResolveReferences resolves references found inside Examples objects.
type ExternalDocs ¶
type ExternalDocs struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,3,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
information about external documentation
func NewExternalDocs ¶
func NewExternalDocs(in *yaml.Node, context *compiler.Context) (*ExternalDocs, error)
NewExternalDocs creates an object of type ExternalDocs if possible, returning an error if not.
func (*ExternalDocs) Descriptor
deprecated
func (*ExternalDocs) Descriptor() ([]byte, []int)
Deprecated: Use ExternalDocs.ProtoReflect.Descriptor instead.
func (*ExternalDocs) GetDescription ¶
func (x *ExternalDocs) GetDescription() string
func (*ExternalDocs) GetUrl ¶
func (x *ExternalDocs) GetUrl() string
func (*ExternalDocs) GetVendorExtension ¶
func (x *ExternalDocs) GetVendorExtension() []*NamedAny
func (*ExternalDocs) ProtoMessage ¶
func (*ExternalDocs) ProtoMessage()
func (*ExternalDocs) ProtoReflect ¶
func (x *ExternalDocs) ProtoReflect() protoreflect.Message
func (*ExternalDocs) Reset ¶
func (x *ExternalDocs) Reset()
func (*ExternalDocs) ResolveReferences ¶
func (m *ExternalDocs) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside ExternalDocs objects.
func (*ExternalDocs) String ¶
func (x *ExternalDocs) String() string
func (*ExternalDocs) ToRawInfo ¶
func (m *ExternalDocs) ToRawInfo() *yaml.Node
ToRawInfo returns a description of ExternalDocs suitable for JSON or YAML export.
type FileSchema ¶
type FileSchema struct { Format string `protobuf:"bytes,1,opt,name=format,proto3" json:"format,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Default *Any `protobuf:"bytes,4,opt,name=default,proto3" json:"default,omitempty"` Required []string `protobuf:"bytes,5,rep,name=required,proto3" json:"required,omitempty"` Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` ReadOnly bool `protobuf:"varint,7,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` ExternalDocs *ExternalDocs `protobuf:"bytes,8,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"` Example *Any `protobuf:"bytes,9,opt,name=example,proto3" json:"example,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,10,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
A deterministic version of a JSON Schema object.
func NewFileSchema ¶
func NewFileSchema(in *yaml.Node, context *compiler.Context) (*FileSchema, error)
NewFileSchema creates an object of type FileSchema if possible, returning an error if not.
func (*FileSchema) Descriptor
deprecated
func (*FileSchema) Descriptor() ([]byte, []int)
Deprecated: Use FileSchema.ProtoReflect.Descriptor instead.
func (*FileSchema) GetDefault ¶
func (x *FileSchema) GetDefault() *Any
func (*FileSchema) GetDescription ¶
func (x *FileSchema) GetDescription() string
func (*FileSchema) GetExample ¶
func (x *FileSchema) GetExample() *Any
func (*FileSchema) GetExternalDocs ¶
func (x *FileSchema) GetExternalDocs() *ExternalDocs
func (*FileSchema) GetFormat ¶
func (x *FileSchema) GetFormat() string
func (*FileSchema) GetReadOnly ¶
func (x *FileSchema) GetReadOnly() bool
func (*FileSchema) GetRequired ¶
func (x *FileSchema) GetRequired() []string
func (*FileSchema) GetTitle ¶
func (x *FileSchema) GetTitle() string
func (*FileSchema) GetType ¶
func (x *FileSchema) GetType() string
func (*FileSchema) GetVendorExtension ¶
func (x *FileSchema) GetVendorExtension() []*NamedAny
func (*FileSchema) ProtoMessage ¶
func (*FileSchema) ProtoMessage()
func (*FileSchema) ProtoReflect ¶
func (x *FileSchema) ProtoReflect() protoreflect.Message
func (*FileSchema) Reset ¶
func (x *FileSchema) Reset()
func (*FileSchema) ResolveReferences ¶
func (m *FileSchema) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside FileSchema objects.
func (*FileSchema) String ¶
func (x *FileSchema) String() string
func (*FileSchema) ToRawInfo ¶
func (m *FileSchema) ToRawInfo() *yaml.Node
ToRawInfo returns a description of FileSchema suitable for JSON or YAML export.
type FormDataParameterSubSchema ¶
type FormDataParameterSubSchema struct { // Determines whether or not this parameter is required or optional. Required bool `protobuf:"varint,1,opt,name=required,proto3" json:"required,omitempty"` // Determines the location of the parameter. In string `protobuf:"bytes,2,opt,name=in,proto3" json:"in,omitempty"` // A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // The name of the parameter. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // allows sending a parameter by name only or with an empty value. AllowEmptyValue bool `protobuf:"varint,5,opt,name=allow_empty_value,json=allowEmptyValue,proto3" json:"allow_empty_value,omitempty"` Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` Format string `protobuf:"bytes,7,opt,name=format,proto3" json:"format,omitempty"` Items *PrimitivesItems `protobuf:"bytes,8,opt,name=items,proto3" json:"items,omitempty"` CollectionFormat string `protobuf:"bytes,9,opt,name=collection_format,json=collectionFormat,proto3" json:"collection_format,omitempty"` Default *Any `protobuf:"bytes,10,opt,name=default,proto3" json:"default,omitempty"` Maximum float64 `protobuf:"fixed64,11,opt,name=maximum,proto3" json:"maximum,omitempty"` ExclusiveMaximum bool `protobuf:"varint,12,opt,name=exclusive_maximum,json=exclusiveMaximum,proto3" json:"exclusive_maximum,omitempty"` Minimum float64 `protobuf:"fixed64,13,opt,name=minimum,proto3" json:"minimum,omitempty"` ExclusiveMinimum bool `protobuf:"varint,14,opt,name=exclusive_minimum,json=exclusiveMinimum,proto3" json:"exclusive_minimum,omitempty"` MaxLength int64 `protobuf:"varint,15,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"` MinLength int64 `protobuf:"varint,16,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"` Pattern string `protobuf:"bytes,17,opt,name=pattern,proto3" json:"pattern,omitempty"` MaxItems int64 `protobuf:"varint,18,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"` MinItems int64 `protobuf:"varint,19,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"` UniqueItems bool `protobuf:"varint,20,opt,name=unique_items,json=uniqueItems,proto3" json:"unique_items,omitempty"` Enum []*Any `protobuf:"bytes,21,rep,name=enum,proto3" json:"enum,omitempty"` MultipleOf float64 `protobuf:"fixed64,22,opt,name=multiple_of,json=multipleOf,proto3" json:"multiple_of,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,23,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
func NewFormDataParameterSubSchema ¶
func NewFormDataParameterSubSchema(in *yaml.Node, context *compiler.Context) (*FormDataParameterSubSchema, error)
NewFormDataParameterSubSchema creates an object of type FormDataParameterSubSchema if possible, returning an error if not.
func (*FormDataParameterSubSchema) Descriptor
deprecated
func (*FormDataParameterSubSchema) Descriptor() ([]byte, []int)
Deprecated: Use FormDataParameterSubSchema.ProtoReflect.Descriptor instead.
func (*FormDataParameterSubSchema) GetAllowEmptyValue ¶
func (x *FormDataParameterSubSchema) GetAllowEmptyValue() bool
func (*FormDataParameterSubSchema) GetCollectionFormat ¶
func (x *FormDataParameterSubSchema) GetCollectionFormat() string
func (*FormDataParameterSubSchema) GetDefault ¶
func (x *FormDataParameterSubSchema) GetDefault() *Any
func (*FormDataParameterSubSchema) GetDescription ¶
func (x *FormDataParameterSubSchema) GetDescription() string
func (*FormDataParameterSubSchema) GetEnum ¶
func (x *FormDataParameterSubSchema) GetEnum() []*Any
func (*FormDataParameterSubSchema) GetExclusiveMaximum ¶
func (x *FormDataParameterSubSchema) GetExclusiveMaximum() bool
func (*FormDataParameterSubSchema) GetExclusiveMinimum ¶
func (x *FormDataParameterSubSchema) GetExclusiveMinimum() bool
func (*FormDataParameterSubSchema) GetFormat ¶
func (x *FormDataParameterSubSchema) GetFormat() string
func (*FormDataParameterSubSchema) GetIn ¶
func (x *FormDataParameterSubSchema) GetIn() string
func (*FormDataParameterSubSchema) GetItems ¶
func (x *FormDataParameterSubSchema) GetItems() *PrimitivesItems
func (*FormDataParameterSubSchema) GetMaxItems ¶
func (x *FormDataParameterSubSchema) GetMaxItems() int64
func (*FormDataParameterSubSchema) GetMaxLength ¶
func (x *FormDataParameterSubSchema) GetMaxLength() int64
func (*FormDataParameterSubSchema) GetMaximum ¶
func (x *FormDataParameterSubSchema) GetMaximum() float64
func (*FormDataParameterSubSchema) GetMinItems ¶
func (x *FormDataParameterSubSchema) GetMinItems() int64
func (*FormDataParameterSubSchema) GetMinLength ¶
func (x *FormDataParameterSubSchema) GetMinLength() int64
func (*FormDataParameterSubSchema) GetMinimum ¶
func (x *FormDataParameterSubSchema) GetMinimum() float64
func (*FormDataParameterSubSchema) GetMultipleOf ¶
func (x *FormDataParameterSubSchema) GetMultipleOf() float64
func (*FormDataParameterSubSchema) GetName ¶
func (x *FormDataParameterSubSchema) GetName() string
func (*FormDataParameterSubSchema) GetPattern ¶
func (x *FormDataParameterSubSchema) GetPattern() string
func (*FormDataParameterSubSchema) GetRequired ¶
func (x *FormDataParameterSubSchema) GetRequired() bool
func (*FormDataParameterSubSchema) GetType ¶
func (x *FormDataParameterSubSchema) GetType() string
func (*FormDataParameterSubSchema) GetUniqueItems ¶
func (x *FormDataParameterSubSchema) GetUniqueItems() bool
func (*FormDataParameterSubSchema) GetVendorExtension ¶
func (x *FormDataParameterSubSchema) GetVendorExtension() []*NamedAny
func (*FormDataParameterSubSchema) ProtoMessage ¶
func (*FormDataParameterSubSchema) ProtoMessage()
func (*FormDataParameterSubSchema) ProtoReflect ¶
func (x *FormDataParameterSubSchema) ProtoReflect() protoreflect.Message
func (*FormDataParameterSubSchema) Reset ¶
func (x *FormDataParameterSubSchema) Reset()
func (*FormDataParameterSubSchema) ResolveReferences ¶
func (m *FormDataParameterSubSchema) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside FormDataParameterSubSchema objects.
func (*FormDataParameterSubSchema) String ¶
func (x *FormDataParameterSubSchema) String() string
func (*FormDataParameterSubSchema) ToRawInfo ¶
func (m *FormDataParameterSubSchema) ToRawInfo() *yaml.Node
ToRawInfo returns a description of FormDataParameterSubSchema suitable for JSON or YAML export.
type Header ¶
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 (*Header) Descriptor
deprecated
func (*Header) GetCollectionFormat ¶
func (*Header) GetDefault ¶
func (*Header) GetDescription ¶
func (*Header) GetExclusiveMaximum ¶
func (*Header) GetExclusiveMinimum ¶
func (*Header) GetItems ¶
func (x *Header) GetItems() *PrimitivesItems
func (*Header) GetMaxItems ¶
func (*Header) GetMaxLength ¶
func (*Header) GetMaximum ¶
func (*Header) GetMinItems ¶
func (*Header) GetMinLength ¶
func (*Header) GetMinimum ¶
func (*Header) GetMultipleOf ¶
func (*Header) GetPattern ¶
func (*Header) GetUniqueItems ¶
func (*Header) GetVendorExtension ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
func (*Header) ResolveReferences ¶
ResolveReferences resolves references found inside Header objects.
type HeaderParameterSubSchema ¶
type HeaderParameterSubSchema struct { // Determines whether or not this parameter is required or optional. Required bool `protobuf:"varint,1,opt,name=required,proto3" json:"required,omitempty"` // Determines the location of the parameter. In string `protobuf:"bytes,2,opt,name=in,proto3" json:"in,omitempty"` // A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // The name of the parameter. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"` Format string `protobuf:"bytes,6,opt,name=format,proto3" json:"format,omitempty"` Items *PrimitivesItems `protobuf:"bytes,7,opt,name=items,proto3" json:"items,omitempty"` CollectionFormat string `protobuf:"bytes,8,opt,name=collection_format,json=collectionFormat,proto3" json:"collection_format,omitempty"` Default *Any `protobuf:"bytes,9,opt,name=default,proto3" json:"default,omitempty"` Maximum float64 `protobuf:"fixed64,10,opt,name=maximum,proto3" json:"maximum,omitempty"` ExclusiveMaximum bool `protobuf:"varint,11,opt,name=exclusive_maximum,json=exclusiveMaximum,proto3" json:"exclusive_maximum,omitempty"` Minimum float64 `protobuf:"fixed64,12,opt,name=minimum,proto3" json:"minimum,omitempty"` ExclusiveMinimum bool `protobuf:"varint,13,opt,name=exclusive_minimum,json=exclusiveMinimum,proto3" json:"exclusive_minimum,omitempty"` MaxLength int64 `protobuf:"varint,14,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"` MinLength int64 `protobuf:"varint,15,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"` Pattern string `protobuf:"bytes,16,opt,name=pattern,proto3" json:"pattern,omitempty"` MaxItems int64 `protobuf:"varint,17,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"` MinItems int64 `protobuf:"varint,18,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"` UniqueItems bool `protobuf:"varint,19,opt,name=unique_items,json=uniqueItems,proto3" json:"unique_items,omitempty"` Enum []*Any `protobuf:"bytes,20,rep,name=enum,proto3" json:"enum,omitempty"` MultipleOf float64 `protobuf:"fixed64,21,opt,name=multiple_of,json=multipleOf,proto3" json:"multiple_of,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,22,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
func NewHeaderParameterSubSchema ¶
func NewHeaderParameterSubSchema(in *yaml.Node, context *compiler.Context) (*HeaderParameterSubSchema, error)
NewHeaderParameterSubSchema creates an object of type HeaderParameterSubSchema if possible, returning an error if not.
func (*HeaderParameterSubSchema) Descriptor
deprecated
func (*HeaderParameterSubSchema) Descriptor() ([]byte, []int)
Deprecated: Use HeaderParameterSubSchema.ProtoReflect.Descriptor instead.
func (*HeaderParameterSubSchema) GetCollectionFormat ¶
func (x *HeaderParameterSubSchema) GetCollectionFormat() string
func (*HeaderParameterSubSchema) GetDefault ¶
func (x *HeaderParameterSubSchema) GetDefault() *Any
func (*HeaderParameterSubSchema) GetDescription ¶
func (x *HeaderParameterSubSchema) GetDescription() string
func (*HeaderParameterSubSchema) GetEnum ¶
func (x *HeaderParameterSubSchema) GetEnum() []*Any
func (*HeaderParameterSubSchema) GetExclusiveMaximum ¶
func (x *HeaderParameterSubSchema) GetExclusiveMaximum() bool
func (*HeaderParameterSubSchema) GetExclusiveMinimum ¶
func (x *HeaderParameterSubSchema) GetExclusiveMinimum() bool
func (*HeaderParameterSubSchema) GetFormat ¶
func (x *HeaderParameterSubSchema) GetFormat() string
func (*HeaderParameterSubSchema) GetIn ¶
func (x *HeaderParameterSubSchema) GetIn() string
func (*HeaderParameterSubSchema) GetItems ¶
func (x *HeaderParameterSubSchema) GetItems() *PrimitivesItems
func (*HeaderParameterSubSchema) GetMaxItems ¶
func (x *HeaderParameterSubSchema) GetMaxItems() int64
func (*HeaderParameterSubSchema) GetMaxLength ¶
func (x *HeaderParameterSubSchema) GetMaxLength() int64
func (*HeaderParameterSubSchema) GetMaximum ¶
func (x *HeaderParameterSubSchema) GetMaximum() float64
func (*HeaderParameterSubSchema) GetMinItems ¶
func (x *HeaderParameterSubSchema) GetMinItems() int64
func (*HeaderParameterSubSchema) GetMinLength ¶
func (x *HeaderParameterSubSchema) GetMinLength() int64
func (*HeaderParameterSubSchema) GetMinimum ¶
func (x *HeaderParameterSubSchema) GetMinimum() float64
func (*HeaderParameterSubSchema) GetMultipleOf ¶
func (x *HeaderParameterSubSchema) GetMultipleOf() float64
func (*HeaderParameterSubSchema) GetName ¶
func (x *HeaderParameterSubSchema) GetName() string
func (*HeaderParameterSubSchema) GetPattern ¶
func (x *HeaderParameterSubSchema) GetPattern() string
func (*HeaderParameterSubSchema) GetRequired ¶
func (x *HeaderParameterSubSchema) GetRequired() bool
func (*HeaderParameterSubSchema) GetType ¶
func (x *HeaderParameterSubSchema) GetType() string
func (*HeaderParameterSubSchema) GetUniqueItems ¶
func (x *HeaderParameterSubSchema) GetUniqueItems() bool
func (*HeaderParameterSubSchema) GetVendorExtension ¶
func (x *HeaderParameterSubSchema) GetVendorExtension() []*NamedAny
func (*HeaderParameterSubSchema) ProtoMessage ¶
func (*HeaderParameterSubSchema) ProtoMessage()
func (*HeaderParameterSubSchema) ProtoReflect ¶
func (x *HeaderParameterSubSchema) ProtoReflect() protoreflect.Message
func (*HeaderParameterSubSchema) Reset ¶
func (x *HeaderParameterSubSchema) Reset()
func (*HeaderParameterSubSchema) ResolveReferences ¶
func (m *HeaderParameterSubSchema) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside HeaderParameterSubSchema objects.
func (*HeaderParameterSubSchema) String ¶
func (x *HeaderParameterSubSchema) String() string
func (*HeaderParameterSubSchema) ToRawInfo ¶
func (m *HeaderParameterSubSchema) ToRawInfo() *yaml.Node
ToRawInfo returns a description of HeaderParameterSubSchema suitable for JSON or YAML export.
type Headers ¶
type Headers struct { AdditionalProperties []*NamedHeader `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"` // contains filtered or unexported fields }
func NewHeaders ¶
NewHeaders creates an object of type Headers if possible, returning an error if not.
func (*Headers) Descriptor
deprecated
func (*Headers) GetAdditionalProperties ¶
func (x *Headers) GetAdditionalProperties() []*NamedHeader
func (*Headers) ProtoMessage ¶
func (*Headers) ProtoMessage()
func (*Headers) ProtoReflect ¶
func (x *Headers) ProtoReflect() protoreflect.Message
func (*Headers) ResolveReferences ¶
ResolveReferences resolves references found inside Headers objects.
type Info ¶
type Info struct { // A unique and precise title of the API. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // A semantic version number of the API. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // A longer description of the API. Should be different from the title. GitHub Flavored Markdown is allowed. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // The terms of service for the API. TermsOfService string `protobuf:"bytes,4,opt,name=terms_of_service,json=termsOfService,proto3" json:"terms_of_service,omitempty"` Contact *Contact `protobuf:"bytes,5,opt,name=contact,proto3" json:"contact,omitempty"` License *License `protobuf:"bytes,6,opt,name=license,proto3" json:"license,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,7,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
General information about the API.
func (*Info) Descriptor
deprecated
func (*Info) GetContact ¶
func (*Info) GetDescription ¶
func (*Info) GetLicense ¶
func (*Info) GetTermsOfService ¶
func (*Info) GetVendorExtension ¶
func (*Info) GetVersion ¶
func (*Info) ProtoMessage ¶
func (*Info) ProtoMessage()
func (*Info) ProtoReflect ¶
func (x *Info) ProtoReflect() protoreflect.Message
func (*Info) ResolveReferences ¶
ResolveReferences resolves references found inside Info objects.
type ItemsItem ¶
type ItemsItem struct { Schema []*Schema `protobuf:"bytes,1,rep,name=schema,proto3" json:"schema,omitempty"` // contains filtered or unexported fields }
func NewItemsItem ¶
NewItemsItem creates an object of type ItemsItem if possible, returning an error if not.
func (*ItemsItem) Descriptor
deprecated
func (*ItemsItem) ProtoMessage ¶
func (*ItemsItem) ProtoMessage()
func (*ItemsItem) ProtoReflect ¶
func (x *ItemsItem) ProtoReflect() protoreflect.Message
func (*ItemsItem) ResolveReferences ¶
ResolveReferences resolves references found inside ItemsItem objects.
type JsonReference ¶
type JsonReference struct { XRef string `protobuf:"bytes,1,opt,name=_ref,json=Ref,proto3" json:"_ref,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func NewJsonReference ¶
func NewJsonReference(in *yaml.Node, context *compiler.Context) (*JsonReference, error)
NewJsonReference creates an object of type JsonReference if possible, returning an error if not.
func (*JsonReference) Descriptor
deprecated
func (*JsonReference) Descriptor() ([]byte, []int)
Deprecated: Use JsonReference.ProtoReflect.Descriptor instead.
func (*JsonReference) GetDescription ¶
func (x *JsonReference) GetDescription() string
func (*JsonReference) GetXRef ¶
func (x *JsonReference) GetXRef() string
func (*JsonReference) ProtoMessage ¶
func (*JsonReference) ProtoMessage()
func (*JsonReference) ProtoReflect ¶
func (x *JsonReference) ProtoReflect() protoreflect.Message
func (*JsonReference) Reset ¶
func (x *JsonReference) Reset()
func (*JsonReference) ResolveReferences ¶
func (m *JsonReference) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside JsonReference objects.
func (*JsonReference) String ¶
func (x *JsonReference) String() string
func (*JsonReference) ToRawInfo ¶
func (m *JsonReference) ToRawInfo() *yaml.Node
ToRawInfo returns a description of JsonReference suitable for JSON or YAML export.
type License ¶
type License struct { // The name of the license type. It's encouraged to use an OSI compatible license. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The URL pointing to the license. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,3,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
func NewLicense ¶
NewLicense creates an object of type License if possible, returning an error if not.
func (*License) Descriptor
deprecated
func (*License) GetVendorExtension ¶
func (*License) ProtoMessage ¶
func (*License) ProtoMessage()
func (*License) ProtoReflect ¶
func (x *License) ProtoReflect() protoreflect.Message
func (*License) ResolveReferences ¶
ResolveReferences resolves references found inside License objects.
type NamedAny ¶
type NamedAny struct { // Map key Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Mapped value Value *Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Automatically-generated message used to represent maps of Any as ordered (name,value) pairs.
func NewNamedAny ¶
NewNamedAny creates an object of type NamedAny if possible, returning an error if not.
func (*NamedAny) Descriptor
deprecated
func (*NamedAny) ProtoMessage ¶
func (*NamedAny) ProtoMessage()
func (*NamedAny) ProtoReflect ¶
func (x *NamedAny) ProtoReflect() protoreflect.Message
func (*NamedAny) ResolveReferences ¶
ResolveReferences resolves references found inside NamedAny objects.
type NamedHeader ¶
type NamedHeader struct { // Map key Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Mapped value Value *Header `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Automatically-generated message used to represent maps of Header as ordered (name,value) pairs.
func NewNamedHeader ¶
func NewNamedHeader(in *yaml.Node, context *compiler.Context) (*NamedHeader, error)
NewNamedHeader creates an object of type NamedHeader if possible, returning an error if not.
func (*NamedHeader) Descriptor
deprecated
func (*NamedHeader) Descriptor() ([]byte, []int)
Deprecated: Use NamedHeader.ProtoReflect.Descriptor instead.
func (*NamedHeader) GetName ¶
func (x *NamedHeader) GetName() string
func (*NamedHeader) GetValue ¶
func (x *NamedHeader) GetValue() *Header
func (*NamedHeader) ProtoMessage ¶
func (*NamedHeader) ProtoMessage()
func (*NamedHeader) ProtoReflect ¶
func (x *NamedHeader) ProtoReflect() protoreflect.Message
func (*NamedHeader) Reset ¶
func (x *NamedHeader) Reset()
func (*NamedHeader) ResolveReferences ¶
func (m *NamedHeader) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside NamedHeader objects.
func (*NamedHeader) String ¶
func (x *NamedHeader) String() string
func (*NamedHeader) ToRawInfo ¶
func (m *NamedHeader) ToRawInfo() *yaml.Node
ToRawInfo returns a description of NamedHeader suitable for JSON or YAML export.
type NamedParameter ¶
type NamedParameter struct { // Map key Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Mapped value Value *Parameter `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Automatically-generated message used to represent maps of Parameter as ordered (name,value) pairs.
func NewNamedParameter ¶
func NewNamedParameter(in *yaml.Node, context *compiler.Context) (*NamedParameter, error)
NewNamedParameter creates an object of type NamedParameter if possible, returning an error if not.
func (*NamedParameter) Descriptor
deprecated
func (*NamedParameter) Descriptor() ([]byte, []int)
Deprecated: Use NamedParameter.ProtoReflect.Descriptor instead.
func (*NamedParameter) GetName ¶
func (x *NamedParameter) GetName() string
func (*NamedParameter) GetValue ¶
func (x *NamedParameter) GetValue() *Parameter
func (*NamedParameter) ProtoMessage ¶
func (*NamedParameter) ProtoMessage()
func (*NamedParameter) ProtoReflect ¶
func (x *NamedParameter) ProtoReflect() protoreflect.Message
func (*NamedParameter) Reset ¶
func (x *NamedParameter) Reset()
func (*NamedParameter) ResolveReferences ¶
func (m *NamedParameter) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside NamedParameter objects.
func (*NamedParameter) String ¶
func (x *NamedParameter) String() string
func (*NamedParameter) ToRawInfo ¶
func (m *NamedParameter) ToRawInfo() *yaml.Node
ToRawInfo returns a description of NamedParameter suitable for JSON or YAML export.
type NamedPathItem ¶
type NamedPathItem struct { // Map key Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Mapped value Value *PathItem `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Automatically-generated message used to represent maps of PathItem as ordered (name,value) pairs.
func NewNamedPathItem ¶
func NewNamedPathItem(in *yaml.Node, context *compiler.Context) (*NamedPathItem, error)
NewNamedPathItem creates an object of type NamedPathItem if possible, returning an error if not.
func (*NamedPathItem) Descriptor
deprecated
func (*NamedPathItem) Descriptor() ([]byte, []int)
Deprecated: Use NamedPathItem.ProtoReflect.Descriptor instead.
func (*NamedPathItem) GetName ¶
func (x *NamedPathItem) GetName() string
func (*NamedPathItem) GetValue ¶
func (x *NamedPathItem) GetValue() *PathItem
func (*NamedPathItem) ProtoMessage ¶
func (*NamedPathItem) ProtoMessage()
func (*NamedPathItem) ProtoReflect ¶
func (x *NamedPathItem) ProtoReflect() protoreflect.Message
func (*NamedPathItem) Reset ¶
func (x *NamedPathItem) Reset()
func (*NamedPathItem) ResolveReferences ¶
func (m *NamedPathItem) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside NamedPathItem objects.
func (*NamedPathItem) String ¶
func (x *NamedPathItem) String() string
func (*NamedPathItem) ToRawInfo ¶
func (m *NamedPathItem) ToRawInfo() *yaml.Node
ToRawInfo returns a description of NamedPathItem suitable for JSON or YAML export.
type NamedResponse ¶
type NamedResponse struct { // Map key Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Mapped value Value *Response `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Automatically-generated message used to represent maps of Response as ordered (name,value) pairs.
func NewNamedResponse ¶
func NewNamedResponse(in *yaml.Node, context *compiler.Context) (*NamedResponse, error)
NewNamedResponse creates an object of type NamedResponse if possible, returning an error if not.
func (*NamedResponse) Descriptor
deprecated
func (*NamedResponse) Descriptor() ([]byte, []int)
Deprecated: Use NamedResponse.ProtoReflect.Descriptor instead.
func (*NamedResponse) GetName ¶
func (x *NamedResponse) GetName() string
func (*NamedResponse) GetValue ¶
func (x *NamedResponse) GetValue() *Response
func (*NamedResponse) ProtoMessage ¶
func (*NamedResponse) ProtoMessage()
func (*NamedResponse) ProtoReflect ¶
func (x *NamedResponse) ProtoReflect() protoreflect.Message
func (*NamedResponse) Reset ¶
func (x *NamedResponse) Reset()
func (*NamedResponse) ResolveReferences ¶
func (m *NamedResponse) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside NamedResponse objects.
func (*NamedResponse) String ¶
func (x *NamedResponse) String() string
func (*NamedResponse) ToRawInfo ¶
func (m *NamedResponse) ToRawInfo() *yaml.Node
ToRawInfo returns a description of NamedResponse suitable for JSON or YAML export.
type NamedResponseValue ¶
type NamedResponseValue struct { // Map key Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Mapped value Value *ResponseValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Automatically-generated message used to represent maps of ResponseValue as ordered (name,value) pairs.
func NewNamedResponseValue ¶
func NewNamedResponseValue(in *yaml.Node, context *compiler.Context) (*NamedResponseValue, error)
NewNamedResponseValue creates an object of type NamedResponseValue if possible, returning an error if not.
func (*NamedResponseValue) Descriptor
deprecated
func (*NamedResponseValue) Descriptor() ([]byte, []int)
Deprecated: Use NamedResponseValue.ProtoReflect.Descriptor instead.
func (*NamedResponseValue) GetName ¶
func (x *NamedResponseValue) GetName() string
func (*NamedResponseValue) GetValue ¶
func (x *NamedResponseValue) GetValue() *ResponseValue
func (*NamedResponseValue) ProtoMessage ¶
func (*NamedResponseValue) ProtoMessage()
func (*NamedResponseValue) ProtoReflect ¶
func (x *NamedResponseValue) ProtoReflect() protoreflect.Message
func (*NamedResponseValue) Reset ¶
func (x *NamedResponseValue) Reset()
func (*NamedResponseValue) ResolveReferences ¶
func (m *NamedResponseValue) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside NamedResponseValue objects.
func (*NamedResponseValue) String ¶
func (x *NamedResponseValue) String() string
func (*NamedResponseValue) ToRawInfo ¶
func (m *NamedResponseValue) ToRawInfo() *yaml.Node
ToRawInfo returns a description of NamedResponseValue suitable for JSON or YAML export.
type NamedSchema ¶
type NamedSchema struct { // Map key Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Mapped value Value *Schema `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Automatically-generated message used to represent maps of Schema as ordered (name,value) pairs.
func NewNamedSchema ¶
func NewNamedSchema(in *yaml.Node, context *compiler.Context) (*NamedSchema, error)
NewNamedSchema creates an object of type NamedSchema if possible, returning an error if not.
func (*NamedSchema) Descriptor
deprecated
func (*NamedSchema) Descriptor() ([]byte, []int)
Deprecated: Use NamedSchema.ProtoReflect.Descriptor instead.
func (*NamedSchema) GetName ¶
func (x *NamedSchema) GetName() string
func (*NamedSchema) GetValue ¶
func (x *NamedSchema) GetValue() *Schema
func (*NamedSchema) ProtoMessage ¶
func (*NamedSchema) ProtoMessage()
func (*NamedSchema) ProtoReflect ¶
func (x *NamedSchema) ProtoReflect() protoreflect.Message
func (*NamedSchema) Reset ¶
func (x *NamedSchema) Reset()
func (*NamedSchema) ResolveReferences ¶
func (m *NamedSchema) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside NamedSchema objects.
func (*NamedSchema) String ¶
func (x *NamedSchema) String() string
func (*NamedSchema) ToRawInfo ¶
func (m *NamedSchema) ToRawInfo() *yaml.Node
ToRawInfo returns a description of NamedSchema suitable for JSON or YAML export.
type NamedSecurityDefinitionsItem ¶
type NamedSecurityDefinitionsItem struct { // Map key Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Mapped value Value *SecurityDefinitionsItem `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Automatically-generated message used to represent maps of SecurityDefinitionsItem as ordered (name,value) pairs.
func NewNamedSecurityDefinitionsItem ¶
func NewNamedSecurityDefinitionsItem(in *yaml.Node, context *compiler.Context) (*NamedSecurityDefinitionsItem, error)
NewNamedSecurityDefinitionsItem creates an object of type NamedSecurityDefinitionsItem if possible, returning an error if not.
func (*NamedSecurityDefinitionsItem) Descriptor
deprecated
func (*NamedSecurityDefinitionsItem) Descriptor() ([]byte, []int)
Deprecated: Use NamedSecurityDefinitionsItem.ProtoReflect.Descriptor instead.
func (*NamedSecurityDefinitionsItem) GetName ¶
func (x *NamedSecurityDefinitionsItem) GetName() string
func (*NamedSecurityDefinitionsItem) GetValue ¶
func (x *NamedSecurityDefinitionsItem) GetValue() *SecurityDefinitionsItem
func (*NamedSecurityDefinitionsItem) ProtoMessage ¶
func (*NamedSecurityDefinitionsItem) ProtoMessage()
func (*NamedSecurityDefinitionsItem) ProtoReflect ¶
func (x *NamedSecurityDefinitionsItem) ProtoReflect() protoreflect.Message
func (*NamedSecurityDefinitionsItem) Reset ¶
func (x *NamedSecurityDefinitionsItem) Reset()
func (*NamedSecurityDefinitionsItem) ResolveReferences ¶
func (m *NamedSecurityDefinitionsItem) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside NamedSecurityDefinitionsItem objects.
func (*NamedSecurityDefinitionsItem) String ¶
func (x *NamedSecurityDefinitionsItem) String() string
func (*NamedSecurityDefinitionsItem) ToRawInfo ¶
func (m *NamedSecurityDefinitionsItem) ToRawInfo() *yaml.Node
ToRawInfo returns a description of NamedSecurityDefinitionsItem suitable for JSON or YAML export.
type NamedString ¶
type NamedString struct { // Map key Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Mapped value Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Automatically-generated message used to represent maps of string as ordered (name,value) pairs.
func NewNamedString ¶
func NewNamedString(in *yaml.Node, context *compiler.Context) (*NamedString, error)
NewNamedString creates an object of type NamedString if possible, returning an error if not.
func (*NamedString) Descriptor
deprecated
func (*NamedString) Descriptor() ([]byte, []int)
Deprecated: Use NamedString.ProtoReflect.Descriptor instead.
func (*NamedString) GetName ¶
func (x *NamedString) GetName() string
func (*NamedString) GetValue ¶
func (x *NamedString) GetValue() string
func (*NamedString) ProtoMessage ¶
func (*NamedString) ProtoMessage()
func (*NamedString) ProtoReflect ¶
func (x *NamedString) ProtoReflect() protoreflect.Message
func (*NamedString) Reset ¶
func (x *NamedString) Reset()
func (*NamedString) ResolveReferences ¶
func (m *NamedString) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside NamedString objects.
func (*NamedString) String ¶
func (x *NamedString) String() string
func (*NamedString) ToRawInfo ¶
func (m *NamedString) ToRawInfo() *yaml.Node
ToRawInfo returns a description of NamedString suitable for JSON or YAML export.
type NamedStringArray ¶
type NamedStringArray struct { // Map key Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Mapped value Value *StringArray `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Automatically-generated message used to represent maps of StringArray as ordered (name,value) pairs.
func NewNamedStringArray ¶
func NewNamedStringArray(in *yaml.Node, context *compiler.Context) (*NamedStringArray, error)
NewNamedStringArray creates an object of type NamedStringArray if possible, returning an error if not.
func (*NamedStringArray) Descriptor
deprecated
func (*NamedStringArray) Descriptor() ([]byte, []int)
Deprecated: Use NamedStringArray.ProtoReflect.Descriptor instead.
func (*NamedStringArray) GetName ¶
func (x *NamedStringArray) GetName() string
func (*NamedStringArray) GetValue ¶
func (x *NamedStringArray) GetValue() *StringArray
func (*NamedStringArray) ProtoMessage ¶
func (*NamedStringArray) ProtoMessage()
func (*NamedStringArray) ProtoReflect ¶
func (x *NamedStringArray) ProtoReflect() protoreflect.Message
func (*NamedStringArray) Reset ¶
func (x *NamedStringArray) Reset()
func (*NamedStringArray) ResolveReferences ¶
func (m *NamedStringArray) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside NamedStringArray objects.
func (*NamedStringArray) String ¶
func (x *NamedStringArray) String() string
func (*NamedStringArray) ToRawInfo ¶
func (m *NamedStringArray) ToRawInfo() *yaml.Node
ToRawInfo returns a description of NamedStringArray suitable for JSON or YAML export.
type NonBodyParameter ¶
type NonBodyParameter struct { // Types that are assignable to Oneof: // // *NonBodyParameter_HeaderParameterSubSchema // *NonBodyParameter_FormDataParameterSubSchema // *NonBodyParameter_QueryParameterSubSchema // *NonBodyParameter_PathParameterSubSchema Oneof isNonBodyParameter_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func NewNonBodyParameter ¶
func NewNonBodyParameter(in *yaml.Node, context *compiler.Context) (*NonBodyParameter, error)
NewNonBodyParameter creates an object of type NonBodyParameter if possible, returning an error if not.
func (*NonBodyParameter) Descriptor
deprecated
func (*NonBodyParameter) Descriptor() ([]byte, []int)
Deprecated: Use NonBodyParameter.ProtoReflect.Descriptor instead.
func (*NonBodyParameter) GetFormDataParameterSubSchema ¶
func (x *NonBodyParameter) GetFormDataParameterSubSchema() *FormDataParameterSubSchema
func (*NonBodyParameter) GetHeaderParameterSubSchema ¶
func (x *NonBodyParameter) GetHeaderParameterSubSchema() *HeaderParameterSubSchema
func (*NonBodyParameter) GetOneof ¶
func (m *NonBodyParameter) GetOneof() isNonBodyParameter_Oneof
func (*NonBodyParameter) GetPathParameterSubSchema ¶
func (x *NonBodyParameter) GetPathParameterSubSchema() *PathParameterSubSchema
func (*NonBodyParameter) GetQueryParameterSubSchema ¶
func (x *NonBodyParameter) GetQueryParameterSubSchema() *QueryParameterSubSchema
func (*NonBodyParameter) ProtoMessage ¶
func (*NonBodyParameter) ProtoMessage()
func (*NonBodyParameter) ProtoReflect ¶
func (x *NonBodyParameter) ProtoReflect() protoreflect.Message
func (*NonBodyParameter) Reset ¶
func (x *NonBodyParameter) Reset()
func (*NonBodyParameter) ResolveReferences ¶
func (m *NonBodyParameter) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside NonBodyParameter objects.
func (*NonBodyParameter) String ¶
func (x *NonBodyParameter) String() string
func (*NonBodyParameter) ToRawInfo ¶
func (m *NonBodyParameter) ToRawInfo() *yaml.Node
ToRawInfo returns a description of NonBodyParameter suitable for JSON or YAML export.
type NonBodyParameter_FormDataParameterSubSchema ¶
type NonBodyParameter_FormDataParameterSubSchema struct {
FormDataParameterSubSchema *FormDataParameterSubSchema `protobuf:"bytes,2,opt,name=form_data_parameter_sub_schema,json=formDataParameterSubSchema,proto3,oneof"`
}
type NonBodyParameter_HeaderParameterSubSchema ¶
type NonBodyParameter_HeaderParameterSubSchema struct {
HeaderParameterSubSchema *HeaderParameterSubSchema `protobuf:"bytes,1,opt,name=header_parameter_sub_schema,json=headerParameterSubSchema,proto3,oneof"`
}
type NonBodyParameter_PathParameterSubSchema ¶
type NonBodyParameter_PathParameterSubSchema struct {
PathParameterSubSchema *PathParameterSubSchema `protobuf:"bytes,4,opt,name=path_parameter_sub_schema,json=pathParameterSubSchema,proto3,oneof"`
}
type NonBodyParameter_QueryParameterSubSchema ¶
type NonBodyParameter_QueryParameterSubSchema struct {
QueryParameterSubSchema *QueryParameterSubSchema `protobuf:"bytes,3,opt,name=query_parameter_sub_schema,json=queryParameterSubSchema,proto3,oneof"`
}
type Oauth2AccessCodeSecurity ¶
type Oauth2AccessCodeSecurity struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Flow string `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"` Scopes *Oauth2Scopes `protobuf:"bytes,3,opt,name=scopes,proto3" json:"scopes,omitempty"` AuthorizationUrl string `protobuf:"bytes,4,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"` TokenUrl string `protobuf:"bytes,5,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,7,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
func NewOauth2AccessCodeSecurity ¶
func NewOauth2AccessCodeSecurity(in *yaml.Node, context *compiler.Context) (*Oauth2AccessCodeSecurity, error)
NewOauth2AccessCodeSecurity creates an object of type Oauth2AccessCodeSecurity if possible, returning an error if not.
func (*Oauth2AccessCodeSecurity) Descriptor
deprecated
func (*Oauth2AccessCodeSecurity) Descriptor() ([]byte, []int)
Deprecated: Use Oauth2AccessCodeSecurity.ProtoReflect.Descriptor instead.
func (*Oauth2AccessCodeSecurity) GetAuthorizationUrl ¶
func (x *Oauth2AccessCodeSecurity) GetAuthorizationUrl() string
func (*Oauth2AccessCodeSecurity) GetDescription ¶
func (x *Oauth2AccessCodeSecurity) GetDescription() string
func (*Oauth2AccessCodeSecurity) GetFlow ¶
func (x *Oauth2AccessCodeSecurity) GetFlow() string
func (*Oauth2AccessCodeSecurity) GetScopes ¶
func (x *Oauth2AccessCodeSecurity) GetScopes() *Oauth2Scopes
func (*Oauth2AccessCodeSecurity) GetTokenUrl ¶
func (x *Oauth2AccessCodeSecurity) GetTokenUrl() string
func (*Oauth2AccessCodeSecurity) GetType ¶
func (x *Oauth2AccessCodeSecurity) GetType() string
func (*Oauth2AccessCodeSecurity) GetVendorExtension ¶
func (x *Oauth2AccessCodeSecurity) GetVendorExtension() []*NamedAny
func (*Oauth2AccessCodeSecurity) ProtoMessage ¶
func (*Oauth2AccessCodeSecurity) ProtoMessage()
func (*Oauth2AccessCodeSecurity) ProtoReflect ¶
func (x *Oauth2AccessCodeSecurity) ProtoReflect() protoreflect.Message
func (*Oauth2AccessCodeSecurity) Reset ¶
func (x *Oauth2AccessCodeSecurity) Reset()
func (*Oauth2AccessCodeSecurity) ResolveReferences ¶
func (m *Oauth2AccessCodeSecurity) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside Oauth2AccessCodeSecurity objects.
func (*Oauth2AccessCodeSecurity) String ¶
func (x *Oauth2AccessCodeSecurity) String() string
func (*Oauth2AccessCodeSecurity) ToRawInfo ¶
func (m *Oauth2AccessCodeSecurity) ToRawInfo() *yaml.Node
ToRawInfo returns a description of Oauth2AccessCodeSecurity suitable for JSON or YAML export.
type Oauth2ApplicationSecurity ¶
type Oauth2ApplicationSecurity struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Flow string `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"` Scopes *Oauth2Scopes `protobuf:"bytes,3,opt,name=scopes,proto3" json:"scopes,omitempty"` TokenUrl string `protobuf:"bytes,4,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,6,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
func NewOauth2ApplicationSecurity ¶
func NewOauth2ApplicationSecurity(in *yaml.Node, context *compiler.Context) (*Oauth2ApplicationSecurity, error)
NewOauth2ApplicationSecurity creates an object of type Oauth2ApplicationSecurity if possible, returning an error if not.
func (*Oauth2ApplicationSecurity) Descriptor
deprecated
func (*Oauth2ApplicationSecurity) Descriptor() ([]byte, []int)
Deprecated: Use Oauth2ApplicationSecurity.ProtoReflect.Descriptor instead.
func (*Oauth2ApplicationSecurity) GetDescription ¶
func (x *Oauth2ApplicationSecurity) GetDescription() string
func (*Oauth2ApplicationSecurity) GetFlow ¶
func (x *Oauth2ApplicationSecurity) GetFlow() string
func (*Oauth2ApplicationSecurity) GetScopes ¶
func (x *Oauth2ApplicationSecurity) GetScopes() *Oauth2Scopes
func (*Oauth2ApplicationSecurity) GetTokenUrl ¶
func (x *Oauth2ApplicationSecurity) GetTokenUrl() string
func (*Oauth2ApplicationSecurity) GetType ¶
func (x *Oauth2ApplicationSecurity) GetType() string
func (*Oauth2ApplicationSecurity) GetVendorExtension ¶
func (x *Oauth2ApplicationSecurity) GetVendorExtension() []*NamedAny
func (*Oauth2ApplicationSecurity) ProtoMessage ¶
func (*Oauth2ApplicationSecurity) ProtoMessage()
func (*Oauth2ApplicationSecurity) ProtoReflect ¶
func (x *Oauth2ApplicationSecurity) ProtoReflect() protoreflect.Message
func (*Oauth2ApplicationSecurity) Reset ¶
func (x *Oauth2ApplicationSecurity) Reset()
func (*Oauth2ApplicationSecurity) ResolveReferences ¶
func (m *Oauth2ApplicationSecurity) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside Oauth2ApplicationSecurity objects.
func (*Oauth2ApplicationSecurity) String ¶
func (x *Oauth2ApplicationSecurity) String() string
func (*Oauth2ApplicationSecurity) ToRawInfo ¶
func (m *Oauth2ApplicationSecurity) ToRawInfo() *yaml.Node
ToRawInfo returns a description of Oauth2ApplicationSecurity suitable for JSON or YAML export.
type Oauth2ImplicitSecurity ¶
type Oauth2ImplicitSecurity struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Flow string `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"` Scopes *Oauth2Scopes `protobuf:"bytes,3,opt,name=scopes,proto3" json:"scopes,omitempty"` AuthorizationUrl string `protobuf:"bytes,4,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,6,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
func NewOauth2ImplicitSecurity ¶
func NewOauth2ImplicitSecurity(in *yaml.Node, context *compiler.Context) (*Oauth2ImplicitSecurity, error)
NewOauth2ImplicitSecurity creates an object of type Oauth2ImplicitSecurity if possible, returning an error if not.
func (*Oauth2ImplicitSecurity) Descriptor
deprecated
func (*Oauth2ImplicitSecurity) Descriptor() ([]byte, []int)
Deprecated: Use Oauth2ImplicitSecurity.ProtoReflect.Descriptor instead.
func (*Oauth2ImplicitSecurity) GetAuthorizationUrl ¶
func (x *Oauth2ImplicitSecurity) GetAuthorizationUrl() string
func (*Oauth2ImplicitSecurity) GetDescription ¶
func (x *Oauth2ImplicitSecurity) GetDescription() string
func (*Oauth2ImplicitSecurity) GetFlow ¶
func (x *Oauth2ImplicitSecurity) GetFlow() string
func (*Oauth2ImplicitSecurity) GetScopes ¶
func (x *Oauth2ImplicitSecurity) GetScopes() *Oauth2Scopes
func (*Oauth2ImplicitSecurity) GetType ¶
func (x *Oauth2ImplicitSecurity) GetType() string
func (*Oauth2ImplicitSecurity) GetVendorExtension ¶
func (x *Oauth2ImplicitSecurity) GetVendorExtension() []*NamedAny
func (*Oauth2ImplicitSecurity) ProtoMessage ¶
func (*Oauth2ImplicitSecurity) ProtoMessage()
func (*Oauth2ImplicitSecurity) ProtoReflect ¶
func (x *Oauth2ImplicitSecurity) ProtoReflect() protoreflect.Message
func (*Oauth2ImplicitSecurity) Reset ¶
func (x *Oauth2ImplicitSecurity) Reset()
func (*Oauth2ImplicitSecurity) ResolveReferences ¶
func (m *Oauth2ImplicitSecurity) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside Oauth2ImplicitSecurity objects.
func (*Oauth2ImplicitSecurity) String ¶
func (x *Oauth2ImplicitSecurity) String() string
func (*Oauth2ImplicitSecurity) ToRawInfo ¶
func (m *Oauth2ImplicitSecurity) ToRawInfo() *yaml.Node
ToRawInfo returns a description of Oauth2ImplicitSecurity suitable for JSON or YAML export.
type Oauth2PasswordSecurity ¶
type Oauth2PasswordSecurity struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Flow string `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"` Scopes *Oauth2Scopes `protobuf:"bytes,3,opt,name=scopes,proto3" json:"scopes,omitempty"` TokenUrl string `protobuf:"bytes,4,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,6,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
func NewOauth2PasswordSecurity ¶
func NewOauth2PasswordSecurity(in *yaml.Node, context *compiler.Context) (*Oauth2PasswordSecurity, error)
NewOauth2PasswordSecurity creates an object of type Oauth2PasswordSecurity if possible, returning an error if not.
func (*Oauth2PasswordSecurity) Descriptor
deprecated
func (*Oauth2PasswordSecurity) Descriptor() ([]byte, []int)
Deprecated: Use Oauth2PasswordSecurity.ProtoReflect.Descriptor instead.
func (*Oauth2PasswordSecurity) GetDescription ¶
func (x *Oauth2PasswordSecurity) GetDescription() string
func (*Oauth2PasswordSecurity) GetFlow ¶
func (x *Oauth2PasswordSecurity) GetFlow() string
func (*Oauth2PasswordSecurity) GetScopes ¶
func (x *Oauth2PasswordSecurity) GetScopes() *Oauth2Scopes
func (*Oauth2PasswordSecurity) GetTokenUrl ¶
func (x *Oauth2PasswordSecurity) GetTokenUrl() string
func (*Oauth2PasswordSecurity) GetType ¶
func (x *Oauth2PasswordSecurity) GetType() string
func (*Oauth2PasswordSecurity) GetVendorExtension ¶
func (x *Oauth2PasswordSecurity) GetVendorExtension() []*NamedAny
func (*Oauth2PasswordSecurity) ProtoMessage ¶
func (*Oauth2PasswordSecurity) ProtoMessage()
func (*Oauth2PasswordSecurity) ProtoReflect ¶
func (x *Oauth2PasswordSecurity) ProtoReflect() protoreflect.Message
func (*Oauth2PasswordSecurity) Reset ¶
func (x *Oauth2PasswordSecurity) Reset()
func (*Oauth2PasswordSecurity) ResolveReferences ¶
func (m *Oauth2PasswordSecurity) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside Oauth2PasswordSecurity objects.
func (*Oauth2PasswordSecurity) String ¶
func (x *Oauth2PasswordSecurity) String() string
func (*Oauth2PasswordSecurity) ToRawInfo ¶
func (m *Oauth2PasswordSecurity) ToRawInfo() *yaml.Node
ToRawInfo returns a description of Oauth2PasswordSecurity suitable for JSON or YAML export.
type Oauth2Scopes ¶
type Oauth2Scopes struct { AdditionalProperties []*NamedString `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"` // contains filtered or unexported fields }
func NewOauth2Scopes ¶
func NewOauth2Scopes(in *yaml.Node, context *compiler.Context) (*Oauth2Scopes, error)
NewOauth2Scopes creates an object of type Oauth2Scopes if possible, returning an error if not.
func (*Oauth2Scopes) Descriptor
deprecated
func (*Oauth2Scopes) Descriptor() ([]byte, []int)
Deprecated: Use Oauth2Scopes.ProtoReflect.Descriptor instead.
func (*Oauth2Scopes) GetAdditionalProperties ¶
func (x *Oauth2Scopes) GetAdditionalProperties() []*NamedString
func (*Oauth2Scopes) ProtoMessage ¶
func (*Oauth2Scopes) ProtoMessage()
func (*Oauth2Scopes) ProtoReflect ¶
func (x *Oauth2Scopes) ProtoReflect() protoreflect.Message
func (*Oauth2Scopes) Reset ¶
func (x *Oauth2Scopes) Reset()
func (*Oauth2Scopes) ResolveReferences ¶
func (m *Oauth2Scopes) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside Oauth2Scopes objects.
func (*Oauth2Scopes) String ¶
func (x *Oauth2Scopes) String() string
func (*Oauth2Scopes) ToRawInfo ¶
func (m *Oauth2Scopes) ToRawInfo() *yaml.Node
ToRawInfo returns a description of Oauth2Scopes suitable for JSON or YAML export.
type Operation ¶
type Operation struct { Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` // A brief summary of the operation. Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` // A longer description of the operation, GitHub Flavored Markdown is allowed. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` ExternalDocs *ExternalDocs `protobuf:"bytes,4,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"` // A unique identifier of the operation. OperationId string `protobuf:"bytes,5,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // A list of MIME types the API can produce. Produces []string `protobuf:"bytes,6,rep,name=produces,proto3" json:"produces,omitempty"` // A list of MIME types the API can consume. Consumes []string `protobuf:"bytes,7,rep,name=consumes,proto3" json:"consumes,omitempty"` // The parameters needed to send a valid API call. Parameters []*ParametersItem `protobuf:"bytes,8,rep,name=parameters,proto3" json:"parameters,omitempty"` Responses *Responses `protobuf:"bytes,9,opt,name=responses,proto3" json:"responses,omitempty"` // The transfer protocol of the API. Schemes []string `protobuf:"bytes,10,rep,name=schemes,proto3" json:"schemes,omitempty"` Deprecated bool `protobuf:"varint,11,opt,name=deprecated,proto3" json:"deprecated,omitempty"` Security []*SecurityRequirement `protobuf:"bytes,12,rep,name=security,proto3" json:"security,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,13,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
func NewOperation ¶
NewOperation creates an object of type Operation if possible, returning an error if not.
func (*Operation) Descriptor
deprecated
func (*Operation) GetConsumes ¶
func (*Operation) GetDeprecated ¶
func (*Operation) GetDescription ¶
func (*Operation) GetExternalDocs ¶
func (x *Operation) GetExternalDocs() *ExternalDocs
func (*Operation) GetOperationId ¶
func (*Operation) GetParameters ¶
func (x *Operation) GetParameters() []*ParametersItem
func (*Operation) GetProduces ¶
func (*Operation) GetResponses ¶
func (*Operation) GetSchemes ¶
func (*Operation) GetSecurity ¶
func (x *Operation) GetSecurity() []*SecurityRequirement
func (*Operation) GetSummary ¶
func (*Operation) GetVendorExtension ¶
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) ProtoReflect ¶
func (x *Operation) ProtoReflect() protoreflect.Message
func (*Operation) ResolveReferences ¶
ResolveReferences resolves references found inside Operation objects.
type Parameter ¶
type Parameter struct { // Types that are assignable to Oneof: // // *Parameter_BodyParameter // *Parameter_NonBodyParameter Oneof isParameter_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func NewParameter ¶
NewParameter creates an object of type Parameter if possible, returning an error if not.
func (*Parameter) Descriptor
deprecated
func (*Parameter) GetBodyParameter ¶
func (x *Parameter) GetBodyParameter() *BodyParameter
func (*Parameter) GetNonBodyParameter ¶
func (x *Parameter) GetNonBodyParameter() *NonBodyParameter
func (*Parameter) ProtoMessage ¶
func (*Parameter) ProtoMessage()
func (*Parameter) ProtoReflect ¶
func (x *Parameter) ProtoReflect() protoreflect.Message
func (*Parameter) ResolveReferences ¶
ResolveReferences resolves references found inside Parameter objects.
type ParameterDefinitions ¶
type ParameterDefinitions struct { AdditionalProperties []*NamedParameter `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"` // contains filtered or unexported fields }
One or more JSON representations for parameters
func NewParameterDefinitions ¶
func NewParameterDefinitions(in *yaml.Node, context *compiler.Context) (*ParameterDefinitions, error)
NewParameterDefinitions creates an object of type ParameterDefinitions if possible, returning an error if not.
func (*ParameterDefinitions) Descriptor
deprecated
func (*ParameterDefinitions) Descriptor() ([]byte, []int)
Deprecated: Use ParameterDefinitions.ProtoReflect.Descriptor instead.
func (*ParameterDefinitions) GetAdditionalProperties ¶
func (x *ParameterDefinitions) GetAdditionalProperties() []*NamedParameter
func (*ParameterDefinitions) ProtoMessage ¶
func (*ParameterDefinitions) ProtoMessage()
func (*ParameterDefinitions) ProtoReflect ¶
func (x *ParameterDefinitions) ProtoReflect() protoreflect.Message
func (*ParameterDefinitions) Reset ¶
func (x *ParameterDefinitions) Reset()
func (*ParameterDefinitions) ResolveReferences ¶
func (m *ParameterDefinitions) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside ParameterDefinitions objects.
func (*ParameterDefinitions) String ¶
func (x *ParameterDefinitions) String() string
func (*ParameterDefinitions) ToRawInfo ¶
func (m *ParameterDefinitions) ToRawInfo() *yaml.Node
ToRawInfo returns a description of ParameterDefinitions suitable for JSON or YAML export.
type Parameter_BodyParameter ¶
type Parameter_BodyParameter struct {
BodyParameter *BodyParameter `protobuf:"bytes,1,opt,name=body_parameter,json=bodyParameter,proto3,oneof"`
}
type Parameter_NonBodyParameter ¶
type Parameter_NonBodyParameter struct {
NonBodyParameter *NonBodyParameter `protobuf:"bytes,2,opt,name=non_body_parameter,json=nonBodyParameter,proto3,oneof"`
}
type ParametersItem ¶
type ParametersItem struct { // Types that are assignable to Oneof: // // *ParametersItem_Parameter // *ParametersItem_JsonReference Oneof isParametersItem_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func NewParametersItem ¶
func NewParametersItem(in *yaml.Node, context *compiler.Context) (*ParametersItem, error)
NewParametersItem creates an object of type ParametersItem if possible, returning an error if not.
func (*ParametersItem) Descriptor
deprecated
func (*ParametersItem) Descriptor() ([]byte, []int)
Deprecated: Use ParametersItem.ProtoReflect.Descriptor instead.
func (*ParametersItem) GetJsonReference ¶
func (x *ParametersItem) GetJsonReference() *JsonReference
func (*ParametersItem) GetOneof ¶
func (m *ParametersItem) GetOneof() isParametersItem_Oneof
func (*ParametersItem) GetParameter ¶
func (x *ParametersItem) GetParameter() *Parameter
func (*ParametersItem) ProtoMessage ¶
func (*ParametersItem) ProtoMessage()
func (*ParametersItem) ProtoReflect ¶
func (x *ParametersItem) ProtoReflect() protoreflect.Message
func (*ParametersItem) Reset ¶
func (x *ParametersItem) Reset()
func (*ParametersItem) ResolveReferences ¶
func (m *ParametersItem) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside ParametersItem objects.
func (*ParametersItem) String ¶
func (x *ParametersItem) String() string
func (*ParametersItem) ToRawInfo ¶
func (m *ParametersItem) ToRawInfo() *yaml.Node
ToRawInfo returns a description of ParametersItem suitable for JSON or YAML export.
type ParametersItem_JsonReference ¶
type ParametersItem_JsonReference struct {
JsonReference *JsonReference `protobuf:"bytes,2,opt,name=json_reference,json=jsonReference,proto3,oneof"`
}
type ParametersItem_Parameter ¶
type ParametersItem_Parameter struct {
Parameter *Parameter `protobuf:"bytes,1,opt,name=parameter,proto3,oneof"`
}
type PathItem ¶
type PathItem struct { XRef string `protobuf:"bytes,1,opt,name=_ref,json=Ref,proto3" json:"_ref,omitempty"` Get *Operation `protobuf:"bytes,2,opt,name=get,proto3" json:"get,omitempty"` Put *Operation `protobuf:"bytes,3,opt,name=put,proto3" json:"put,omitempty"` Post *Operation `protobuf:"bytes,4,opt,name=post,proto3" json:"post,omitempty"` Delete *Operation `protobuf:"bytes,5,opt,name=delete,proto3" json:"delete,omitempty"` Options *Operation `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"` Head *Operation `protobuf:"bytes,7,opt,name=head,proto3" json:"head,omitempty"` Patch *Operation `protobuf:"bytes,8,opt,name=patch,proto3" json:"patch,omitempty"` // The parameters needed to send a valid API call. Parameters []*ParametersItem `protobuf:"bytes,9,rep,name=parameters,proto3" json:"parameters,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,10,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
func NewPathItem ¶
NewPathItem creates an object of type PathItem if possible, returning an error if not.
func (*PathItem) Descriptor
deprecated
func (*PathItem) GetOptions ¶
func (*PathItem) GetParameters ¶
func (x *PathItem) GetParameters() []*ParametersItem
func (*PathItem) GetVendorExtension ¶
func (*PathItem) ProtoMessage ¶
func (*PathItem) ProtoMessage()
func (*PathItem) ProtoReflect ¶
func (x *PathItem) ProtoReflect() protoreflect.Message
func (*PathItem) ResolveReferences ¶
ResolveReferences resolves references found inside PathItem objects.
type PathParameterSubSchema ¶
type PathParameterSubSchema struct { // Determines whether or not this parameter is required or optional. Required bool `protobuf:"varint,1,opt,name=required,proto3" json:"required,omitempty"` // Determines the location of the parameter. In string `protobuf:"bytes,2,opt,name=in,proto3" json:"in,omitempty"` // A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // The name of the parameter. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"` Format string `protobuf:"bytes,6,opt,name=format,proto3" json:"format,omitempty"` Items *PrimitivesItems `protobuf:"bytes,7,opt,name=items,proto3" json:"items,omitempty"` CollectionFormat string `protobuf:"bytes,8,opt,name=collection_format,json=collectionFormat,proto3" json:"collection_format,omitempty"` Default *Any `protobuf:"bytes,9,opt,name=default,proto3" json:"default,omitempty"` Maximum float64 `protobuf:"fixed64,10,opt,name=maximum,proto3" json:"maximum,omitempty"` ExclusiveMaximum bool `protobuf:"varint,11,opt,name=exclusive_maximum,json=exclusiveMaximum,proto3" json:"exclusive_maximum,omitempty"` Minimum float64 `protobuf:"fixed64,12,opt,name=minimum,proto3" json:"minimum,omitempty"` ExclusiveMinimum bool `protobuf:"varint,13,opt,name=exclusive_minimum,json=exclusiveMinimum,proto3" json:"exclusive_minimum,omitempty"` MaxLength int64 `protobuf:"varint,14,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"` MinLength int64 `protobuf:"varint,15,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"` Pattern string `protobuf:"bytes,16,opt,name=pattern,proto3" json:"pattern,omitempty"` MaxItems int64 `protobuf:"varint,17,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"` MinItems int64 `protobuf:"varint,18,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"` UniqueItems bool `protobuf:"varint,19,opt,name=unique_items,json=uniqueItems,proto3" json:"unique_items,omitempty"` Enum []*Any `protobuf:"bytes,20,rep,name=enum,proto3" json:"enum,omitempty"` MultipleOf float64 `protobuf:"fixed64,21,opt,name=multiple_of,json=multipleOf,proto3" json:"multiple_of,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,22,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
func NewPathParameterSubSchema ¶
func NewPathParameterSubSchema(in *yaml.Node, context *compiler.Context) (*PathParameterSubSchema, error)
NewPathParameterSubSchema creates an object of type PathParameterSubSchema if possible, returning an error if not.
func (*PathParameterSubSchema) Descriptor
deprecated
func (*PathParameterSubSchema) Descriptor() ([]byte, []int)
Deprecated: Use PathParameterSubSchema.ProtoReflect.Descriptor instead.
func (*PathParameterSubSchema) GetCollectionFormat ¶
func (x *PathParameterSubSchema) GetCollectionFormat() string
func (*PathParameterSubSchema) GetDefault ¶
func (x *PathParameterSubSchema) GetDefault() *Any
func (*PathParameterSubSchema) GetDescription ¶
func (x *PathParameterSubSchema) GetDescription() string
func (*PathParameterSubSchema) GetEnum ¶
func (x *PathParameterSubSchema) GetEnum() []*Any
func (*PathParameterSubSchema) GetExclusiveMaximum ¶
func (x *PathParameterSubSchema) GetExclusiveMaximum() bool
func (*PathParameterSubSchema) GetExclusiveMinimum ¶
func (x *PathParameterSubSchema) GetExclusiveMinimum() bool
func (*PathParameterSubSchema) GetFormat ¶
func (x *PathParameterSubSchema) GetFormat() string
func (*PathParameterSubSchema) GetIn ¶
func (x *PathParameterSubSchema) GetIn() string
func (*PathParameterSubSchema) GetItems ¶
func (x *PathParameterSubSchema) GetItems() *PrimitivesItems
func (*PathParameterSubSchema) GetMaxItems ¶
func (x *PathParameterSubSchema) GetMaxItems() int64
func (*PathParameterSubSchema) GetMaxLength ¶
func (x *PathParameterSubSchema) GetMaxLength() int64
func (*PathParameterSubSchema) GetMaximum ¶
func (x *PathParameterSubSchema) GetMaximum() float64
func (*PathParameterSubSchema) GetMinItems ¶
func (x *PathParameterSubSchema) GetMinItems() int64
func (*PathParameterSubSchema) GetMinLength ¶
func (x *PathParameterSubSchema) GetMinLength() int64
func (*PathParameterSubSchema) GetMinimum ¶
func (x *PathParameterSubSchema) GetMinimum() float64
func (*PathParameterSubSchema) GetMultipleOf ¶
func (x *PathParameterSubSchema) GetMultipleOf() float64
func (*PathParameterSubSchema) GetName ¶
func (x *PathParameterSubSchema) GetName() string
func (*PathParameterSubSchema) GetPattern ¶
func (x *PathParameterSubSchema) GetPattern() string
func (*PathParameterSubSchema) GetRequired ¶
func (x *PathParameterSubSchema) GetRequired() bool
func (*PathParameterSubSchema) GetType ¶
func (x *PathParameterSubSchema) GetType() string
func (*PathParameterSubSchema) GetUniqueItems ¶
func (x *PathParameterSubSchema) GetUniqueItems() bool
func (*PathParameterSubSchema) GetVendorExtension ¶
func (x *PathParameterSubSchema) GetVendorExtension() []*NamedAny
func (*PathParameterSubSchema) ProtoMessage ¶
func (*PathParameterSubSchema) ProtoMessage()
func (*PathParameterSubSchema) ProtoReflect ¶
func (x *PathParameterSubSchema) ProtoReflect() protoreflect.Message
func (*PathParameterSubSchema) Reset ¶
func (x *PathParameterSubSchema) Reset()
func (*PathParameterSubSchema) ResolveReferences ¶
func (m *PathParameterSubSchema) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside PathParameterSubSchema objects.
func (*PathParameterSubSchema) String ¶
func (x *PathParameterSubSchema) String() string
func (*PathParameterSubSchema) ToRawInfo ¶
func (m *PathParameterSubSchema) ToRawInfo() *yaml.Node
ToRawInfo returns a description of PathParameterSubSchema suitable for JSON or YAML export.
type Paths ¶
type Paths struct { VendorExtension []*NamedAny `protobuf:"bytes,1,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` Path []*NamedPathItem `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
Relative paths to the individual endpoints. They must be relative to the 'basePath'.
func (*Paths) Descriptor
deprecated
func (*Paths) GetPath ¶
func (x *Paths) GetPath() []*NamedPathItem
func (*Paths) GetVendorExtension ¶
func (*Paths) ProtoMessage ¶
func (*Paths) ProtoMessage()
func (*Paths) ProtoReflect ¶
func (x *Paths) ProtoReflect() protoreflect.Message
func (*Paths) ResolveReferences ¶
ResolveReferences resolves references found inside Paths objects.
type PrimitivesItems ¶
type PrimitivesItems struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` Items *PrimitivesItems `protobuf:"bytes,3,opt,name=items,proto3" json:"items,omitempty"` CollectionFormat string `protobuf:"bytes,4,opt,name=collection_format,json=collectionFormat,proto3" json:"collection_format,omitempty"` Default *Any `protobuf:"bytes,5,opt,name=default,proto3" json:"default,omitempty"` Maximum float64 `protobuf:"fixed64,6,opt,name=maximum,proto3" json:"maximum,omitempty"` ExclusiveMaximum bool `protobuf:"varint,7,opt,name=exclusive_maximum,json=exclusiveMaximum,proto3" json:"exclusive_maximum,omitempty"` Minimum float64 `protobuf:"fixed64,8,opt,name=minimum,proto3" json:"minimum,omitempty"` ExclusiveMinimum bool `protobuf:"varint,9,opt,name=exclusive_minimum,json=exclusiveMinimum,proto3" json:"exclusive_minimum,omitempty"` MaxLength int64 `protobuf:"varint,10,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"` MinLength int64 `protobuf:"varint,11,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"` Pattern string `protobuf:"bytes,12,opt,name=pattern,proto3" json:"pattern,omitempty"` MaxItems int64 `protobuf:"varint,13,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"` MinItems int64 `protobuf:"varint,14,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"` UniqueItems bool `protobuf:"varint,15,opt,name=unique_items,json=uniqueItems,proto3" json:"unique_items,omitempty"` Enum []*Any `protobuf:"bytes,16,rep,name=enum,proto3" json:"enum,omitempty"` MultipleOf float64 `protobuf:"fixed64,17,opt,name=multiple_of,json=multipleOf,proto3" json:"multiple_of,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,18,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
func NewPrimitivesItems ¶
func NewPrimitivesItems(in *yaml.Node, context *compiler.Context) (*PrimitivesItems, error)
NewPrimitivesItems creates an object of type PrimitivesItems if possible, returning an error if not.
func (*PrimitivesItems) Descriptor
deprecated
func (*PrimitivesItems) Descriptor() ([]byte, []int)
Deprecated: Use PrimitivesItems.ProtoReflect.Descriptor instead.
func (*PrimitivesItems) GetCollectionFormat ¶
func (x *PrimitivesItems) GetCollectionFormat() string
func (*PrimitivesItems) GetDefault ¶
func (x *PrimitivesItems) GetDefault() *Any
func (*PrimitivesItems) GetEnum ¶
func (x *PrimitivesItems) GetEnum() []*Any
func (*PrimitivesItems) GetExclusiveMaximum ¶
func (x *PrimitivesItems) GetExclusiveMaximum() bool
func (*PrimitivesItems) GetExclusiveMinimum ¶
func (x *PrimitivesItems) GetExclusiveMinimum() bool
func (*PrimitivesItems) GetFormat ¶
func (x *PrimitivesItems) GetFormat() string
func (*PrimitivesItems) GetItems ¶
func (x *PrimitivesItems) GetItems() *PrimitivesItems
func (*PrimitivesItems) GetMaxItems ¶
func (x *PrimitivesItems) GetMaxItems() int64
func (*PrimitivesItems) GetMaxLength ¶
func (x *PrimitivesItems) GetMaxLength() int64
func (*PrimitivesItems) GetMaximum ¶
func (x *PrimitivesItems) GetMaximum() float64
func (*PrimitivesItems) GetMinItems ¶
func (x *PrimitivesItems) GetMinItems() int64
func (*PrimitivesItems) GetMinLength ¶
func (x *PrimitivesItems) GetMinLength() int64
func (*PrimitivesItems) GetMinimum ¶
func (x *PrimitivesItems) GetMinimum() float64
func (*PrimitivesItems) GetMultipleOf ¶
func (x *PrimitivesItems) GetMultipleOf() float64
func (*PrimitivesItems) GetPattern ¶
func (x *PrimitivesItems) GetPattern() string
func (*PrimitivesItems) GetType ¶
func (x *PrimitivesItems) GetType() string
func (*PrimitivesItems) GetUniqueItems ¶
func (x *PrimitivesItems) GetUniqueItems() bool
func (*PrimitivesItems) GetVendorExtension ¶
func (x *PrimitivesItems) GetVendorExtension() []*NamedAny
func (*PrimitivesItems) ProtoMessage ¶
func (*PrimitivesItems) ProtoMessage()
func (*PrimitivesItems) ProtoReflect ¶
func (x *PrimitivesItems) ProtoReflect() protoreflect.Message
func (*PrimitivesItems) Reset ¶
func (x *PrimitivesItems) Reset()
func (*PrimitivesItems) ResolveReferences ¶
func (m *PrimitivesItems) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside PrimitivesItems objects.
func (*PrimitivesItems) String ¶
func (x *PrimitivesItems) String() string
func (*PrimitivesItems) ToRawInfo ¶
func (m *PrimitivesItems) ToRawInfo() *yaml.Node
ToRawInfo returns a description of PrimitivesItems suitable for JSON or YAML export.
type Properties ¶
type Properties struct { AdditionalProperties []*NamedSchema `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"` // contains filtered or unexported fields }
func NewProperties ¶
func NewProperties(in *yaml.Node, context *compiler.Context) (*Properties, error)
NewProperties creates an object of type Properties if possible, returning an error if not.
func (*Properties) Descriptor
deprecated
func (*Properties) Descriptor() ([]byte, []int)
Deprecated: Use Properties.ProtoReflect.Descriptor instead.
func (*Properties) GetAdditionalProperties ¶
func (x *Properties) GetAdditionalProperties() []*NamedSchema
func (*Properties) ProtoMessage ¶
func (*Properties) ProtoMessage()
func (*Properties) ProtoReflect ¶
func (x *Properties) ProtoReflect() protoreflect.Message
func (*Properties) Reset ¶
func (x *Properties) Reset()
func (*Properties) ResolveReferences ¶
func (m *Properties) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside Properties objects.
func (*Properties) String ¶
func (x *Properties) String() string
func (*Properties) ToRawInfo ¶
func (m *Properties) ToRawInfo() *yaml.Node
ToRawInfo returns a description of Properties suitable for JSON or YAML export.
type QueryParameterSubSchema ¶
type QueryParameterSubSchema struct { // Determines whether or not this parameter is required or optional. Required bool `protobuf:"varint,1,opt,name=required,proto3" json:"required,omitempty"` // Determines the location of the parameter. In string `protobuf:"bytes,2,opt,name=in,proto3" json:"in,omitempty"` // A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // The name of the parameter. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // allows sending a parameter by name only or with an empty value. AllowEmptyValue bool `protobuf:"varint,5,opt,name=allow_empty_value,json=allowEmptyValue,proto3" json:"allow_empty_value,omitempty"` Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` Format string `protobuf:"bytes,7,opt,name=format,proto3" json:"format,omitempty"` Items *PrimitivesItems `protobuf:"bytes,8,opt,name=items,proto3" json:"items,omitempty"` CollectionFormat string `protobuf:"bytes,9,opt,name=collection_format,json=collectionFormat,proto3" json:"collection_format,omitempty"` Default *Any `protobuf:"bytes,10,opt,name=default,proto3" json:"default,omitempty"` Maximum float64 `protobuf:"fixed64,11,opt,name=maximum,proto3" json:"maximum,omitempty"` ExclusiveMaximum bool `protobuf:"varint,12,opt,name=exclusive_maximum,json=exclusiveMaximum,proto3" json:"exclusive_maximum,omitempty"` Minimum float64 `protobuf:"fixed64,13,opt,name=minimum,proto3" json:"minimum,omitempty"` ExclusiveMinimum bool `protobuf:"varint,14,opt,name=exclusive_minimum,json=exclusiveMinimum,proto3" json:"exclusive_minimum,omitempty"` MaxLength int64 `protobuf:"varint,15,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"` MinLength int64 `protobuf:"varint,16,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"` Pattern string `protobuf:"bytes,17,opt,name=pattern,proto3" json:"pattern,omitempty"` MaxItems int64 `protobuf:"varint,18,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"` MinItems int64 `protobuf:"varint,19,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"` UniqueItems bool `protobuf:"varint,20,opt,name=unique_items,json=uniqueItems,proto3" json:"unique_items,omitempty"` Enum []*Any `protobuf:"bytes,21,rep,name=enum,proto3" json:"enum,omitempty"` MultipleOf float64 `protobuf:"fixed64,22,opt,name=multiple_of,json=multipleOf,proto3" json:"multiple_of,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,23,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
func NewQueryParameterSubSchema ¶
func NewQueryParameterSubSchema(in *yaml.Node, context *compiler.Context) (*QueryParameterSubSchema, error)
NewQueryParameterSubSchema creates an object of type QueryParameterSubSchema if possible, returning an error if not.
func (*QueryParameterSubSchema) Descriptor
deprecated
func (*QueryParameterSubSchema) Descriptor() ([]byte, []int)
Deprecated: Use QueryParameterSubSchema.ProtoReflect.Descriptor instead.
func (*QueryParameterSubSchema) GetAllowEmptyValue ¶
func (x *QueryParameterSubSchema) GetAllowEmptyValue() bool
func (*QueryParameterSubSchema) GetCollectionFormat ¶
func (x *QueryParameterSubSchema) GetCollectionFormat() string
func (*QueryParameterSubSchema) GetDefault ¶
func (x *QueryParameterSubSchema) GetDefault() *Any
func (*QueryParameterSubSchema) GetDescription ¶
func (x *QueryParameterSubSchema) GetDescription() string
func (*QueryParameterSubSchema) GetEnum ¶
func (x *QueryParameterSubSchema) GetEnum() []*Any
func (*QueryParameterSubSchema) GetExclusiveMaximum ¶
func (x *QueryParameterSubSchema) GetExclusiveMaximum() bool
func (*QueryParameterSubSchema) GetExclusiveMinimum ¶
func (x *QueryParameterSubSchema) GetExclusiveMinimum() bool
func (*QueryParameterSubSchema) GetFormat ¶
func (x *QueryParameterSubSchema) GetFormat() string
func (*QueryParameterSubSchema) GetIn ¶
func (x *QueryParameterSubSchema) GetIn() string
func (*QueryParameterSubSchema) GetItems ¶
func (x *QueryParameterSubSchema) GetItems() *PrimitivesItems
func (*QueryParameterSubSchema) GetMaxItems ¶
func (x *QueryParameterSubSchema) GetMaxItems() int64
func (*QueryParameterSubSchema) GetMaxLength ¶
func (x *QueryParameterSubSchema) GetMaxLength() int64
func (*QueryParameterSubSchema) GetMaximum ¶
func (x *QueryParameterSubSchema) GetMaximum() float64
func (*QueryParameterSubSchema) GetMinItems ¶
func (x *QueryParameterSubSchema) GetMinItems() int64
func (*QueryParameterSubSchema) GetMinLength ¶
func (x *QueryParameterSubSchema) GetMinLength() int64
func (*QueryParameterSubSchema) GetMinimum ¶
func (x *QueryParameterSubSchema) GetMinimum() float64
func (*QueryParameterSubSchema) GetMultipleOf ¶
func (x *QueryParameterSubSchema) GetMultipleOf() float64
func (*QueryParameterSubSchema) GetName ¶
func (x *QueryParameterSubSchema) GetName() string
func (*QueryParameterSubSchema) GetPattern ¶
func (x *QueryParameterSubSchema) GetPattern() string
func (*QueryParameterSubSchema) GetRequired ¶
func (x *QueryParameterSubSchema) GetRequired() bool
func (*QueryParameterSubSchema) GetType ¶
func (x *QueryParameterSubSchema) GetType() string
func (*QueryParameterSubSchema) GetUniqueItems ¶
func (x *QueryParameterSubSchema) GetUniqueItems() bool
func (*QueryParameterSubSchema) GetVendorExtension ¶
func (x *QueryParameterSubSchema) GetVendorExtension() []*NamedAny
func (*QueryParameterSubSchema) ProtoMessage ¶
func (*QueryParameterSubSchema) ProtoMessage()
func (*QueryParameterSubSchema) ProtoReflect ¶
func (x *QueryParameterSubSchema) ProtoReflect() protoreflect.Message
func (*QueryParameterSubSchema) Reset ¶
func (x *QueryParameterSubSchema) Reset()
func (*QueryParameterSubSchema) ResolveReferences ¶
func (m *QueryParameterSubSchema) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside QueryParameterSubSchema objects.
func (*QueryParameterSubSchema) String ¶
func (x *QueryParameterSubSchema) String() string
func (*QueryParameterSubSchema) ToRawInfo ¶
func (m *QueryParameterSubSchema) ToRawInfo() *yaml.Node
ToRawInfo returns a description of QueryParameterSubSchema suitable for JSON or YAML export.
type Response ¶
type Response struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` Schema *SchemaItem `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` Headers *Headers `protobuf:"bytes,3,opt,name=headers,proto3" json:"headers,omitempty"` Examples *Examples `protobuf:"bytes,4,opt,name=examples,proto3" json:"examples,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,5,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
func NewResponse ¶
NewResponse creates an object of type Response if possible, returning an error if not.
func (*Response) Descriptor
deprecated
func (*Response) GetDescription ¶
func (*Response) GetExamples ¶
func (*Response) GetHeaders ¶
func (*Response) GetSchema ¶
func (x *Response) GetSchema() *SchemaItem
func (*Response) GetVendorExtension ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
func (*Response) ResolveReferences ¶
ResolveReferences resolves references found inside Response objects.
type ResponseDefinitions ¶
type ResponseDefinitions struct { AdditionalProperties []*NamedResponse `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"` // contains filtered or unexported fields }
One or more JSON representations for responses
func NewResponseDefinitions ¶
func NewResponseDefinitions(in *yaml.Node, context *compiler.Context) (*ResponseDefinitions, error)
NewResponseDefinitions creates an object of type ResponseDefinitions if possible, returning an error if not.
func (*ResponseDefinitions) Descriptor
deprecated
func (*ResponseDefinitions) Descriptor() ([]byte, []int)
Deprecated: Use ResponseDefinitions.ProtoReflect.Descriptor instead.
func (*ResponseDefinitions) GetAdditionalProperties ¶
func (x *ResponseDefinitions) GetAdditionalProperties() []*NamedResponse
func (*ResponseDefinitions) ProtoMessage ¶
func (*ResponseDefinitions) ProtoMessage()
func (*ResponseDefinitions) ProtoReflect ¶
func (x *ResponseDefinitions) ProtoReflect() protoreflect.Message
func (*ResponseDefinitions) Reset ¶
func (x *ResponseDefinitions) Reset()
func (*ResponseDefinitions) ResolveReferences ¶
func (m *ResponseDefinitions) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside ResponseDefinitions objects.
func (*ResponseDefinitions) String ¶
func (x *ResponseDefinitions) String() string
func (*ResponseDefinitions) ToRawInfo ¶
func (m *ResponseDefinitions) ToRawInfo() *yaml.Node
ToRawInfo returns a description of ResponseDefinitions suitable for JSON or YAML export.
type ResponseValue ¶
type ResponseValue struct { // Types that are assignable to Oneof: // // *ResponseValue_Response // *ResponseValue_JsonReference Oneof isResponseValue_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func NewResponseValue ¶
func NewResponseValue(in *yaml.Node, context *compiler.Context) (*ResponseValue, error)
NewResponseValue creates an object of type ResponseValue if possible, returning an error if not.
func (*ResponseValue) Descriptor
deprecated
func (*ResponseValue) Descriptor() ([]byte, []int)
Deprecated: Use ResponseValue.ProtoReflect.Descriptor instead.
func (*ResponseValue) GetJsonReference ¶
func (x *ResponseValue) GetJsonReference() *JsonReference
func (*ResponseValue) GetOneof ¶
func (m *ResponseValue) GetOneof() isResponseValue_Oneof
func (*ResponseValue) GetResponse ¶
func (x *ResponseValue) GetResponse() *Response
func (*ResponseValue) ProtoMessage ¶
func (*ResponseValue) ProtoMessage()
func (*ResponseValue) ProtoReflect ¶
func (x *ResponseValue) ProtoReflect() protoreflect.Message
func (*ResponseValue) Reset ¶
func (x *ResponseValue) Reset()
func (*ResponseValue) ResolveReferences ¶
func (m *ResponseValue) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside ResponseValue objects.
func (*ResponseValue) String ¶
func (x *ResponseValue) String() string
func (*ResponseValue) ToRawInfo ¶
func (m *ResponseValue) ToRawInfo() *yaml.Node
ToRawInfo returns a description of ResponseValue suitable for JSON or YAML export.
type ResponseValue_JsonReference ¶
type ResponseValue_JsonReference struct {
JsonReference *JsonReference `protobuf:"bytes,2,opt,name=json_reference,json=jsonReference,proto3,oneof"`
}
type ResponseValue_Response ¶
type ResponseValue_Response struct {
Response *Response `protobuf:"bytes,1,opt,name=response,proto3,oneof"`
}
type Responses ¶
type Responses struct { ResponseCode []*NamedResponseValue `protobuf:"bytes,1,rep,name=response_code,json=responseCode,proto3" json:"response_code,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,2,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
Response objects names can either be any valid HTTP status code or 'default'.
func NewResponses ¶
NewResponses creates an object of type Responses if possible, returning an error if not.
func (*Responses) Descriptor
deprecated
func (*Responses) GetResponseCode ¶
func (x *Responses) GetResponseCode() []*NamedResponseValue
func (*Responses) GetVendorExtension ¶
func (*Responses) ProtoMessage ¶
func (*Responses) ProtoMessage()
func (*Responses) ProtoReflect ¶
func (x *Responses) ProtoReflect() protoreflect.Message
func (*Responses) ResolveReferences ¶
ResolveReferences resolves references found inside Responses objects.
type Schema ¶
type Schema struct { XRef string `protobuf:"bytes,1,opt,name=_ref,json=Ref,proto3" json:"_ref,omitempty"` Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Default *Any `protobuf:"bytes,5,opt,name=default,proto3" json:"default,omitempty"` MultipleOf float64 `protobuf:"fixed64,6,opt,name=multiple_of,json=multipleOf,proto3" json:"multiple_of,omitempty"` Maximum float64 `protobuf:"fixed64,7,opt,name=maximum,proto3" json:"maximum,omitempty"` ExclusiveMaximum bool `protobuf:"varint,8,opt,name=exclusive_maximum,json=exclusiveMaximum,proto3" json:"exclusive_maximum,omitempty"` Minimum float64 `protobuf:"fixed64,9,opt,name=minimum,proto3" json:"minimum,omitempty"` ExclusiveMinimum bool `protobuf:"varint,10,opt,name=exclusive_minimum,json=exclusiveMinimum,proto3" json:"exclusive_minimum,omitempty"` MaxLength int64 `protobuf:"varint,11,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"` MinLength int64 `protobuf:"varint,12,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"` Pattern string `protobuf:"bytes,13,opt,name=pattern,proto3" json:"pattern,omitempty"` MaxItems int64 `protobuf:"varint,14,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"` MinItems int64 `protobuf:"varint,15,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"` UniqueItems bool `protobuf:"varint,16,opt,name=unique_items,json=uniqueItems,proto3" json:"unique_items,omitempty"` MaxProperties int64 `protobuf:"varint,17,opt,name=max_properties,json=maxProperties,proto3" json:"max_properties,omitempty"` MinProperties int64 `protobuf:"varint,18,opt,name=min_properties,json=minProperties,proto3" json:"min_properties,omitempty"` Required []string `protobuf:"bytes,19,rep,name=required,proto3" json:"required,omitempty"` Enum []*Any `protobuf:"bytes,20,rep,name=enum,proto3" json:"enum,omitempty"` AdditionalProperties *AdditionalPropertiesItem `protobuf:"bytes,21,opt,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"` Type *TypeItem `protobuf:"bytes,22,opt,name=type,proto3" json:"type,omitempty"` Items *ItemsItem `protobuf:"bytes,23,opt,name=items,proto3" json:"items,omitempty"` AllOf []*Schema `protobuf:"bytes,24,rep,name=all_of,json=allOf,proto3" json:"all_of,omitempty"` Properties *Properties `protobuf:"bytes,25,opt,name=properties,proto3" json:"properties,omitempty"` Discriminator string `protobuf:"bytes,26,opt,name=discriminator,proto3" json:"discriminator,omitempty"` ReadOnly bool `protobuf:"varint,27,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` Xml *Xml `protobuf:"bytes,28,opt,name=xml,proto3" json:"xml,omitempty"` ExternalDocs *ExternalDocs `protobuf:"bytes,29,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"` Example *Any `protobuf:"bytes,30,opt,name=example,proto3" json:"example,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,31,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
A deterministic version of a JSON Schema object.
func (*Schema) Descriptor
deprecated
func (*Schema) GetAdditionalProperties ¶
func (x *Schema) GetAdditionalProperties() *AdditionalPropertiesItem
func (*Schema) GetDefault ¶
func (*Schema) GetDescription ¶
func (*Schema) GetDiscriminator ¶
func (*Schema) GetExample ¶
func (*Schema) GetExclusiveMaximum ¶
func (*Schema) GetExclusiveMinimum ¶
func (*Schema) GetExternalDocs ¶
func (x *Schema) GetExternalDocs() *ExternalDocs
func (*Schema) GetMaxItems ¶
func (*Schema) GetMaxLength ¶
func (*Schema) GetMaxProperties ¶
func (*Schema) GetMaximum ¶
func (*Schema) GetMinItems ¶
func (*Schema) GetMinLength ¶
func (*Schema) GetMinProperties ¶
func (*Schema) GetMinimum ¶
func (*Schema) GetMultipleOf ¶
func (*Schema) GetPattern ¶
func (*Schema) GetProperties ¶
func (x *Schema) GetProperties() *Properties
func (*Schema) GetReadOnly ¶
func (*Schema) GetRequired ¶
func (*Schema) GetUniqueItems ¶
func (*Schema) GetVendorExtension ¶
func (*Schema) ProtoMessage ¶
func (*Schema) ProtoMessage()
func (*Schema) ProtoReflect ¶
func (x *Schema) ProtoReflect() protoreflect.Message
func (*Schema) ResolveReferences ¶
ResolveReferences resolves references found inside Schema objects.
type SchemaItem ¶
type SchemaItem struct { // Types that are assignable to Oneof: // // *SchemaItem_Schema // *SchemaItem_FileSchema Oneof isSchemaItem_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func NewSchemaItem ¶
func NewSchemaItem(in *yaml.Node, context *compiler.Context) (*SchemaItem, error)
NewSchemaItem creates an object of type SchemaItem if possible, returning an error if not.
func (*SchemaItem) Descriptor
deprecated
func (*SchemaItem) Descriptor() ([]byte, []int)
Deprecated: Use SchemaItem.ProtoReflect.Descriptor instead.
func (*SchemaItem) GetFileSchema ¶
func (x *SchemaItem) GetFileSchema() *FileSchema
func (*SchemaItem) GetOneof ¶
func (m *SchemaItem) GetOneof() isSchemaItem_Oneof
func (*SchemaItem) GetSchema ¶
func (x *SchemaItem) GetSchema() *Schema
func (*SchemaItem) ProtoMessage ¶
func (*SchemaItem) ProtoMessage()
func (*SchemaItem) ProtoReflect ¶
func (x *SchemaItem) ProtoReflect() protoreflect.Message
func (*SchemaItem) Reset ¶
func (x *SchemaItem) Reset()
func (*SchemaItem) ResolveReferences ¶
func (m *SchemaItem) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside SchemaItem objects.
func (*SchemaItem) String ¶
func (x *SchemaItem) String() string
func (*SchemaItem) ToRawInfo ¶
func (m *SchemaItem) ToRawInfo() *yaml.Node
ToRawInfo returns a description of SchemaItem suitable for JSON or YAML export.
type SchemaItem_FileSchema ¶
type SchemaItem_FileSchema struct {
FileSchema *FileSchema `protobuf:"bytes,2,opt,name=file_schema,json=fileSchema,proto3,oneof"`
}
type SchemaItem_Schema ¶
type SchemaItem_Schema struct {
Schema *Schema `protobuf:"bytes,1,opt,name=schema,proto3,oneof"`
}
type SecurityDefinitions ¶
type SecurityDefinitions struct { AdditionalProperties []*NamedSecurityDefinitionsItem `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"` // contains filtered or unexported fields }
func NewSecurityDefinitions ¶
func NewSecurityDefinitions(in *yaml.Node, context *compiler.Context) (*SecurityDefinitions, error)
NewSecurityDefinitions creates an object of type SecurityDefinitions if possible, returning an error if not.
func (*SecurityDefinitions) Descriptor
deprecated
func (*SecurityDefinitions) Descriptor() ([]byte, []int)
Deprecated: Use SecurityDefinitions.ProtoReflect.Descriptor instead.
func (*SecurityDefinitions) GetAdditionalProperties ¶
func (x *SecurityDefinitions) GetAdditionalProperties() []*NamedSecurityDefinitionsItem
func (*SecurityDefinitions) ProtoMessage ¶
func (*SecurityDefinitions) ProtoMessage()
func (*SecurityDefinitions) ProtoReflect ¶
func (x *SecurityDefinitions) ProtoReflect() protoreflect.Message
func (*SecurityDefinitions) Reset ¶
func (x *SecurityDefinitions) Reset()
func (*SecurityDefinitions) ResolveReferences ¶
func (m *SecurityDefinitions) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside SecurityDefinitions objects.
func (*SecurityDefinitions) String ¶
func (x *SecurityDefinitions) String() string
func (*SecurityDefinitions) ToRawInfo ¶
func (m *SecurityDefinitions) ToRawInfo() *yaml.Node
ToRawInfo returns a description of SecurityDefinitions suitable for JSON or YAML export.
type SecurityDefinitionsItem ¶
type SecurityDefinitionsItem struct { // Types that are assignable to Oneof: // // *SecurityDefinitionsItem_BasicAuthenticationSecurity // *SecurityDefinitionsItem_ApiKeySecurity // *SecurityDefinitionsItem_Oauth2ImplicitSecurity // *SecurityDefinitionsItem_Oauth2PasswordSecurity // *SecurityDefinitionsItem_Oauth2ApplicationSecurity // *SecurityDefinitionsItem_Oauth2AccessCodeSecurity Oneof isSecurityDefinitionsItem_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func NewSecurityDefinitionsItem ¶
func NewSecurityDefinitionsItem(in *yaml.Node, context *compiler.Context) (*SecurityDefinitionsItem, error)
NewSecurityDefinitionsItem creates an object of type SecurityDefinitionsItem if possible, returning an error if not.
func (*SecurityDefinitionsItem) Descriptor
deprecated
func (*SecurityDefinitionsItem) Descriptor() ([]byte, []int)
Deprecated: Use SecurityDefinitionsItem.ProtoReflect.Descriptor instead.
func (*SecurityDefinitionsItem) GetApiKeySecurity ¶
func (x *SecurityDefinitionsItem) GetApiKeySecurity() *ApiKeySecurity
func (*SecurityDefinitionsItem) GetBasicAuthenticationSecurity ¶
func (x *SecurityDefinitionsItem) GetBasicAuthenticationSecurity() *BasicAuthenticationSecurity
func (*SecurityDefinitionsItem) GetOauth2AccessCodeSecurity ¶
func (x *SecurityDefinitionsItem) GetOauth2AccessCodeSecurity() *Oauth2AccessCodeSecurity
func (*SecurityDefinitionsItem) GetOauth2ApplicationSecurity ¶
func (x *SecurityDefinitionsItem) GetOauth2ApplicationSecurity() *Oauth2ApplicationSecurity
func (*SecurityDefinitionsItem) GetOauth2ImplicitSecurity ¶
func (x *SecurityDefinitionsItem) GetOauth2ImplicitSecurity() *Oauth2ImplicitSecurity
func (*SecurityDefinitionsItem) GetOauth2PasswordSecurity ¶
func (x *SecurityDefinitionsItem) GetOauth2PasswordSecurity() *Oauth2PasswordSecurity
func (*SecurityDefinitionsItem) GetOneof ¶
func (m *SecurityDefinitionsItem) GetOneof() isSecurityDefinitionsItem_Oneof
func (*SecurityDefinitionsItem) ProtoMessage ¶
func (*SecurityDefinitionsItem) ProtoMessage()
func (*SecurityDefinitionsItem) ProtoReflect ¶
func (x *SecurityDefinitionsItem) ProtoReflect() protoreflect.Message
func (*SecurityDefinitionsItem) Reset ¶
func (x *SecurityDefinitionsItem) Reset()
func (*SecurityDefinitionsItem) ResolveReferences ¶
func (m *SecurityDefinitionsItem) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside SecurityDefinitionsItem objects.
func (*SecurityDefinitionsItem) String ¶
func (x *SecurityDefinitionsItem) String() string
func (*SecurityDefinitionsItem) ToRawInfo ¶
func (m *SecurityDefinitionsItem) ToRawInfo() *yaml.Node
ToRawInfo returns a description of SecurityDefinitionsItem suitable for JSON or YAML export.
type SecurityDefinitionsItem_ApiKeySecurity ¶
type SecurityDefinitionsItem_ApiKeySecurity struct {
ApiKeySecurity *ApiKeySecurity `protobuf:"bytes,2,opt,name=api_key_security,json=apiKeySecurity,proto3,oneof"`
}
type SecurityDefinitionsItem_BasicAuthenticationSecurity ¶
type SecurityDefinitionsItem_BasicAuthenticationSecurity struct {
BasicAuthenticationSecurity *BasicAuthenticationSecurity `protobuf:"bytes,1,opt,name=basic_authentication_security,json=basicAuthenticationSecurity,proto3,oneof"`
}
type SecurityDefinitionsItem_Oauth2AccessCodeSecurity ¶
type SecurityDefinitionsItem_Oauth2AccessCodeSecurity struct {
Oauth2AccessCodeSecurity *Oauth2AccessCodeSecurity `protobuf:"bytes,6,opt,name=oauth2_access_code_security,json=oauth2AccessCodeSecurity,proto3,oneof"`
}
type SecurityDefinitionsItem_Oauth2ApplicationSecurity ¶
type SecurityDefinitionsItem_Oauth2ApplicationSecurity struct {
Oauth2ApplicationSecurity *Oauth2ApplicationSecurity `protobuf:"bytes,5,opt,name=oauth2_application_security,json=oauth2ApplicationSecurity,proto3,oneof"`
}
type SecurityDefinitionsItem_Oauth2ImplicitSecurity ¶
type SecurityDefinitionsItem_Oauth2ImplicitSecurity struct {
Oauth2ImplicitSecurity *Oauth2ImplicitSecurity `protobuf:"bytes,3,opt,name=oauth2_implicit_security,json=oauth2ImplicitSecurity,proto3,oneof"`
}
type SecurityDefinitionsItem_Oauth2PasswordSecurity ¶
type SecurityDefinitionsItem_Oauth2PasswordSecurity struct {
Oauth2PasswordSecurity *Oauth2PasswordSecurity `protobuf:"bytes,4,opt,name=oauth2_password_security,json=oauth2PasswordSecurity,proto3,oneof"`
}
type SecurityRequirement ¶
type SecurityRequirement struct { AdditionalProperties []*NamedStringArray `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"` // contains filtered or unexported fields }
func NewSecurityRequirement ¶
func NewSecurityRequirement(in *yaml.Node, context *compiler.Context) (*SecurityRequirement, error)
NewSecurityRequirement creates an object of type SecurityRequirement if possible, returning an error if not.
func (*SecurityRequirement) Descriptor
deprecated
func (*SecurityRequirement) Descriptor() ([]byte, []int)
Deprecated: Use SecurityRequirement.ProtoReflect.Descriptor instead.
func (*SecurityRequirement) GetAdditionalProperties ¶
func (x *SecurityRequirement) GetAdditionalProperties() []*NamedStringArray
func (*SecurityRequirement) ProtoMessage ¶
func (*SecurityRequirement) ProtoMessage()
func (*SecurityRequirement) ProtoReflect ¶
func (x *SecurityRequirement) ProtoReflect() protoreflect.Message
func (*SecurityRequirement) Reset ¶
func (x *SecurityRequirement) Reset()
func (*SecurityRequirement) ResolveReferences ¶
func (m *SecurityRequirement) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside SecurityRequirement objects.
func (*SecurityRequirement) String ¶
func (x *SecurityRequirement) String() string
func (*SecurityRequirement) ToRawInfo ¶
func (m *SecurityRequirement) ToRawInfo() *yaml.Node
ToRawInfo returns a description of SecurityRequirement suitable for JSON or YAML export.
type StringArray ¶
type StringArray struct { Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func NewStringArray ¶
func NewStringArray(in *yaml.Node, context *compiler.Context) (*StringArray, error)
NewStringArray creates an object of type StringArray if possible, returning an error if not.
func (*StringArray) Descriptor
deprecated
func (*StringArray) Descriptor() ([]byte, []int)
Deprecated: Use StringArray.ProtoReflect.Descriptor instead.
func (*StringArray) GetValue ¶
func (x *StringArray) GetValue() []string
func (*StringArray) ProtoMessage ¶
func (*StringArray) ProtoMessage()
func (*StringArray) ProtoReflect ¶
func (x *StringArray) ProtoReflect() protoreflect.Message
func (*StringArray) Reset ¶
func (x *StringArray) Reset()
func (*StringArray) ResolveReferences ¶
func (m *StringArray) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside StringArray objects.
func (*StringArray) String ¶
func (x *StringArray) String() string
func (*StringArray) ToRawInfo ¶
func (m *StringArray) ToRawInfo() *yaml.Node
ToRawInfo returns a description of StringArray suitable for JSON or YAML export.
type Tag ¶
type Tag struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` ExternalDocs *ExternalDocs `protobuf:"bytes,3,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,4,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
func (*Tag) Descriptor
deprecated
func (*Tag) GetDescription ¶
func (*Tag) GetExternalDocs ¶
func (x *Tag) GetExternalDocs() *ExternalDocs
func (*Tag) GetVendorExtension ¶
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
func (*Tag) ResolveReferences ¶
ResolveReferences resolves references found inside Tag objects.
type TypeItem ¶
type TypeItem struct { Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func NewTypeItem ¶
NewTypeItem creates an object of type TypeItem if possible, returning an error if not.
func (*TypeItem) Descriptor
deprecated
func (*TypeItem) ProtoMessage ¶
func (*TypeItem) ProtoMessage()
func (*TypeItem) ProtoReflect ¶
func (x *TypeItem) ProtoReflect() protoreflect.Message
func (*TypeItem) ResolveReferences ¶
ResolveReferences resolves references found inside TypeItem objects.
type VendorExtension ¶
type VendorExtension struct { AdditionalProperties []*NamedAny `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"` // contains filtered or unexported fields }
Any property starting with x- is valid.
func NewVendorExtension ¶
func NewVendorExtension(in *yaml.Node, context *compiler.Context) (*VendorExtension, error)
NewVendorExtension creates an object of type VendorExtension if possible, returning an error if not.
func (*VendorExtension) Descriptor
deprecated
func (*VendorExtension) Descriptor() ([]byte, []int)
Deprecated: Use VendorExtension.ProtoReflect.Descriptor instead.
func (*VendorExtension) GetAdditionalProperties ¶
func (x *VendorExtension) GetAdditionalProperties() []*NamedAny
func (*VendorExtension) ProtoMessage ¶
func (*VendorExtension) ProtoMessage()
func (*VendorExtension) ProtoReflect ¶
func (x *VendorExtension) ProtoReflect() protoreflect.Message
func (*VendorExtension) Reset ¶
func (x *VendorExtension) Reset()
func (*VendorExtension) ResolveReferences ¶
func (m *VendorExtension) ResolveReferences(root string) (*yaml.Node, error)
ResolveReferences resolves references found inside VendorExtension objects.
func (*VendorExtension) String ¶
func (x *VendorExtension) String() string
func (*VendorExtension) ToRawInfo ¶
func (m *VendorExtension) ToRawInfo() *yaml.Node
ToRawInfo returns a description of VendorExtension suitable for JSON or YAML export.
type Xml ¶
type Xml struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` Attribute bool `protobuf:"varint,4,opt,name=attribute,proto3" json:"attribute,omitempty"` Wrapped bool `protobuf:"varint,5,opt,name=wrapped,proto3" json:"wrapped,omitempty"` VendorExtension []*NamedAny `protobuf:"bytes,6,rep,name=vendor_extension,json=vendorExtension,proto3" json:"vendor_extension,omitempty"` // contains filtered or unexported fields }
func (*Xml) Descriptor
deprecated
func (*Xml) GetAttribute ¶
func (*Xml) GetNamespace ¶
func (*Xml) GetVendorExtension ¶
func (*Xml) GetWrapped ¶
func (*Xml) ProtoMessage ¶
func (*Xml) ProtoMessage()
func (*Xml) ProtoReflect ¶
func (x *Xml) ProtoReflect() protoreflect.Message
func (*Xml) ResolveReferences ¶
ResolveReferences resolves references found inside Xml objects.