package openapi_v3
import "github.com/google/gnostic/OpenAPIv3"
Package openapi_v3 is a generated protocol buffer package.
It is generated from these files:
OpenAPIv3/OpenAPIv3.proto
It has these top-level messages:
AdditionalPropertiesItem Any AnyOrExpression AnysOrExpressions Callback CallbackOrReference CallbacksOrReferences Components Contact DefaultType Discriminator Document Encoding Encodings Example ExampleOrReference ExamplesOrReferences Expression ExternalDocs Header HeaderOrReference HeadersOrReferences Info ItemsItem License Link LinkOrReference LinksOrReferences MediaType MediaTypes NamedAny NamedAnyOrExpression NamedCallbackOrReference NamedEncoding NamedExampleOrReference NamedHeaderOrReference NamedLinkOrReference NamedMediaType NamedParameterOrReference NamedPathItem NamedRequestBodyOrReference NamedResponseOrReference NamedSchemaOrReference NamedSecuritySchemeOrReference NamedServerVariable NamedString OauthFlow OauthFlows Object Operation Parameter ParameterOrReference ParametersOrReferences PathItem Paths Properties Reference RequestBodiesOrReferences RequestBody RequestBodyOrReference Response ResponseOrReference Responses ResponsesOrReferences Schema SchemaOrReference SchemasOrReferences SecurityRequirement SecurityScheme SecuritySchemeOrReference SecuritySchemesOrReferences Server ServerVariable ServerVariables SpecificationExtension StringArray Strings Tag Xml
Index ¶
- func Version() string
- type AdditionalPropertiesItem
- func NewAdditionalPropertiesItem(in interface{}, context *compiler.Context) (*AdditionalPropertiesItem, error)
- func (*AdditionalPropertiesItem) Descriptor() ([]byte, []int)
- func (m *AdditionalPropertiesItem) GetBoolean() bool
- func (m *AdditionalPropertiesItem) GetOneof() isAdditionalPropertiesItem_Oneof
- func (m *AdditionalPropertiesItem) GetSchemaOrReference() *SchemaOrReference
- func (*AdditionalPropertiesItem) ProtoMessage()
- func (m *AdditionalPropertiesItem) Reset()
- func (m *AdditionalPropertiesItem) ResolveReferences(root string) (interface{}, error)
- func (m *AdditionalPropertiesItem) String() string
- func (m *AdditionalPropertiesItem) ToRawInfo() interface{}
- func (*AdditionalPropertiesItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
- type AdditionalPropertiesItem_Boolean
- type AdditionalPropertiesItem_SchemaOrReference
- type Any
- func NewAny(in interface{}, context *compiler.Context) (*Any, error)
- func (*Any) Descriptor() ([]byte, []int)
- func (m *Any) GetValue() *google_protobuf.Any
- func (m *Any) GetYaml() string
- func (*Any) ProtoMessage()
- func (m *Any) Reset()
- func (m *Any) ResolveReferences(root string) (interface{}, error)
- func (m *Any) String() string
- func (m *Any) ToRawInfo() interface{}
- type AnyOrExpression
- func NewAnyOrExpression(in interface{}, context *compiler.Context) (*AnyOrExpression, error)
- func (*AnyOrExpression) Descriptor() ([]byte, []int)
- func (m *AnyOrExpression) GetAny() *Any
- func (m *AnyOrExpression) GetExpression() *Expression
- func (m *AnyOrExpression) GetOneof() isAnyOrExpression_Oneof
- func (*AnyOrExpression) ProtoMessage()
- func (m *AnyOrExpression) Reset()
- func (m *AnyOrExpression) ResolveReferences(root string) (interface{}, error)
- func (m *AnyOrExpression) String() string
- func (m *AnyOrExpression) ToRawInfo() interface{}
- func (*AnyOrExpression) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
- type AnyOrExpression_Any
- type AnyOrExpression_Expression
- type AnysOrExpressions
- func NewAnysOrExpressions(in interface{}, context *compiler.Context) (*AnysOrExpressions, error)
- func (*AnysOrExpressions) Descriptor() ([]byte, []int)
- func (m *AnysOrExpressions) GetAdditionalProperties() []*NamedAnyOrExpression
- func (*AnysOrExpressions) ProtoMessage()
- func (m *AnysOrExpressions) Reset()
- func (m *AnysOrExpressions) ResolveReferences(root string) (interface{}, error)
- func (m *AnysOrExpressions) String() string
- func (m *AnysOrExpressions) ToRawInfo() interface{}
- type Callback
- func NewCallback(in interface{}, context *compiler.Context) (*Callback, error)
- func (*Callback) Descriptor() ([]byte, []int)
- func (m *Callback) GetPath() []*NamedPathItem
- func (m *Callback) GetSpecificationExtension() []*NamedAny
- func (*Callback) ProtoMessage()
- func (m *Callback) Reset()
- func (m *Callback) ResolveReferences(root string) (interface{}, error)
- func (m *Callback) String() string
- func (m *Callback) ToRawInfo() interface{}
- type CallbackOrReference
- func NewCallbackOrReference(in interface{}, context *compiler.Context) (*CallbackOrReference, error)
- func (*CallbackOrReference) Descriptor() ([]byte, []int)
- func (m *CallbackOrReference) GetCallback() *Callback
- func (m *CallbackOrReference) GetOneof() isCallbackOrReference_Oneof
- func (m *CallbackOrReference) GetReference() *Reference
- func (*CallbackOrReference) ProtoMessage()
- func (m *CallbackOrReference) Reset()
- func (m *CallbackOrReference) ResolveReferences(root string) (interface{}, error)
- func (m *CallbackOrReference) String() string
- func (m *CallbackOrReference) ToRawInfo() interface{}
- func (*CallbackOrReference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
- type CallbackOrReference_Callback
- type CallbackOrReference_Reference
- type CallbacksOrReferences
- func NewCallbacksOrReferences(in interface{}, context *compiler.Context) (*CallbacksOrReferences, error)
- func (*CallbacksOrReferences) Descriptor() ([]byte, []int)
- func (m *CallbacksOrReferences) GetAdditionalProperties() []*NamedCallbackOrReference
- func (*CallbacksOrReferences) ProtoMessage()
- func (m *CallbacksOrReferences) Reset()
- func (m *CallbacksOrReferences) ResolveReferences(root string) (interface{}, error)
- func (m *CallbacksOrReferences) String() string
- func (m *CallbacksOrReferences) ToRawInfo() interface{}
- type Components
- func NewComponents(in interface{}, context *compiler.Context) (*Components, error)
- func (*Components) Descriptor() ([]byte, []int)
- func (m *Components) GetCallbacks() *CallbacksOrReferences
- func (m *Components) GetExamples() *ExamplesOrReferences
- func (m *Components) GetHeaders() *HeadersOrReferences
- func (m *Components) GetLinks() *LinksOrReferences
- func (m *Components) GetParameters() *ParametersOrReferences
- func (m *Components) GetRequestBodies() *RequestBodiesOrReferences
- func (m *Components) GetResponses() *ResponsesOrReferences
- func (m *Components) GetSchemas() *SchemasOrReferences
- func (m *Components) GetSecuritySchemes() *SecuritySchemesOrReferences
- func (m *Components) GetSpecificationExtension() []*NamedAny
- func (*Components) ProtoMessage()
- func (m *Components) Reset()
- func (m *Components) ResolveReferences(root string) (interface{}, error)
- func (m *Components) String() string
- func (m *Components) ToRawInfo() interface{}
- type Contact
- func NewContact(in interface{}, context *compiler.Context) (*Contact, error)
- func (*Contact) Descriptor() ([]byte, []int)
- func (m *Contact) GetEmail() string
- func (m *Contact) GetName() string
- func (m *Contact) GetSpecificationExtension() []*NamedAny
- func (m *Contact) GetUrl() string
- func (*Contact) ProtoMessage()
- func (m *Contact) Reset()
- func (m *Contact) ResolveReferences(root string) (interface{}, error)
- func (m *Contact) String() string
- func (m *Contact) ToRawInfo() interface{}
- type DefaultType
- func NewDefaultType(in interface{}, context *compiler.Context) (*DefaultType, error)
- func (*DefaultType) Descriptor() ([]byte, []int)
- func (m *DefaultType) GetBoolean() bool
- func (m *DefaultType) GetNumber() float64
- func (m *DefaultType) GetOneof() isDefaultType_Oneof
- func (m *DefaultType) GetString_() string
- func (*DefaultType) ProtoMessage()
- func (m *DefaultType) Reset()
- func (m *DefaultType) ResolveReferences(root string) (interface{}, error)
- func (m *DefaultType) String() string
- func (m *DefaultType) ToRawInfo() interface{}
- func (*DefaultType) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
- type DefaultType_Boolean
- type DefaultType_Number
- type DefaultType_String_
- type Discriminator
- func NewDiscriminator(in interface{}, context *compiler.Context) (*Discriminator, error)
- func (*Discriminator) Descriptor() ([]byte, []int)
- func (m *Discriminator) GetMapping() *Strings
- func (m *Discriminator) GetPropertyName() string
- func (*Discriminator) ProtoMessage()
- func (m *Discriminator) Reset()
- func (m *Discriminator) ResolveReferences(root string) (interface{}, error)
- func (m *Discriminator) String() string
- func (m *Discriminator) ToRawInfo() interface{}
- type Document
- func NewDocument(in interface{}, context *compiler.Context) (*Document, error)
- func (*Document) Descriptor() ([]byte, []int)
- func (m *Document) GetComponents() *Components
- func (m *Document) GetExternalDocs() *ExternalDocs
- func (m *Document) GetInfo() *Info
- func (m *Document) GetOpenapi() string
- func (m *Document) GetPaths() *Paths
- func (m *Document) GetSecurity() []*SecurityRequirement
- func (m *Document) GetServers() []*Server
- func (m *Document) GetSpecificationExtension() []*NamedAny
- func (m *Document) GetTags() []*Tag
- func (*Document) ProtoMessage()
- func (m *Document) Reset()
- func (m *Document) ResolveReferences(root string) (interface{}, error)
- func (m *Document) String() string
- func (m *Document) ToRawInfo() interface{}
- type Encoding
- func NewEncoding(in interface{}, context *compiler.Context) (*Encoding, error)
- func (*Encoding) Descriptor() ([]byte, []int)
- func (m *Encoding) GetAllowReserved() bool
- func (m *Encoding) GetContentType() string
- func (m *Encoding) GetExplode() bool
- func (m *Encoding) GetHeaders() *HeadersOrReferences
- func (m *Encoding) GetSpecificationExtension() []*NamedAny
- func (m *Encoding) GetStyle() string
- func (*Encoding) ProtoMessage()
- func (m *Encoding) Reset()
- func (m *Encoding) ResolveReferences(root string) (interface{}, error)
- func (m *Encoding) String() string
- func (m *Encoding) ToRawInfo() interface{}
- type Encodings
- func NewEncodings(in interface{}, context *compiler.Context) (*Encodings, error)
- func (*Encodings) Descriptor() ([]byte, []int)
- func (m *Encodings) GetAdditionalProperties() []*NamedEncoding
- func (*Encodings) ProtoMessage()
- func (m *Encodings) Reset()
- func (m *Encodings) ResolveReferences(root string) (interface{}, error)
- func (m *Encodings) String() string
- func (m *Encodings) ToRawInfo() interface{}
- type Example
- func NewExample(in interface{}, context *compiler.Context) (*Example, error)
- func (*Example) Descriptor() ([]byte, []int)
- func (m *Example) GetDescription() string
- func (m *Example) GetExternalValue() string
- func (m *Example) GetSpecificationExtension() []*NamedAny
- func (m *Example) GetSummary() string
- func (m *Example) GetValue() *Any
- func (*Example) ProtoMessage()
- func (m *Example) Reset()
- func (m *Example) ResolveReferences(root string) (interface{}, error)
- func (m *Example) String() string
- func (m *Example) ToRawInfo() interface{}
- type ExampleOrReference
- func NewExampleOrReference(in interface{}, context *compiler.Context) (*ExampleOrReference, error)
- func (*ExampleOrReference) Descriptor() ([]byte, []int)
- func (m *ExampleOrReference) GetExample() *Example
- func (m *ExampleOrReference) GetOneof() isExampleOrReference_Oneof
- func (m *ExampleOrReference) GetReference() *Reference
- func (*ExampleOrReference) ProtoMessage()
- func (m *ExampleOrReference) Reset()
- func (m *ExampleOrReference) ResolveReferences(root string) (interface{}, error)
- func (m *ExampleOrReference) String() string
- func (m *ExampleOrReference) ToRawInfo() interface{}
- func (*ExampleOrReference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
- type ExampleOrReference_Example
- type ExampleOrReference_Reference
- type ExamplesOrReferences
- func NewExamplesOrReferences(in interface{}, context *compiler.Context) (*ExamplesOrReferences, error)
- func (*ExamplesOrReferences) Descriptor() ([]byte, []int)
- func (m *ExamplesOrReferences) GetAdditionalProperties() []*NamedExampleOrReference
- func (*ExamplesOrReferences) ProtoMessage()
- func (m *ExamplesOrReferences) Reset()
- func (m *ExamplesOrReferences) ResolveReferences(root string) (interface{}, error)
- func (m *ExamplesOrReferences) String() string
- func (m *ExamplesOrReferences) ToRawInfo() interface{}
- type Expression
- func NewExpression(in interface{}, context *compiler.Context) (*Expression, error)
- func (*Expression) Descriptor() ([]byte, []int)
- func (m *Expression) GetAdditionalProperties() []*NamedAny
- func (*Expression) ProtoMessage()
- func (m *Expression) Reset()
- func (m *Expression) ResolveReferences(root string) (interface{}, error)
- func (m *Expression) String() string
- func (m *Expression) ToRawInfo() interface{}
- type ExternalDocs
- func NewExternalDocs(in interface{}, context *compiler.Context) (*ExternalDocs, error)
- func (*ExternalDocs) Descriptor() ([]byte, []int)
- func (m *ExternalDocs) GetDescription() string
- func (m *ExternalDocs) GetSpecificationExtension() []*NamedAny
- func (m *ExternalDocs) GetUrl() string
- func (*ExternalDocs) ProtoMessage()
- func (m *ExternalDocs) Reset()
- func (m *ExternalDocs) ResolveReferences(root string) (interface{}, error)
- func (m *ExternalDocs) String() string
- func (m *ExternalDocs) ToRawInfo() interface{}
- type Header
- func NewHeader(in interface{}, context *compiler.Context) (*Header, error)
- func (*Header) Descriptor() ([]byte, []int)
- func (m *Header) GetAllowEmptyValue() bool
- func (m *Header) GetAllowReserved() bool
- func (m *Header) GetContent() *MediaTypes
- func (m *Header) GetDeprecated() bool
- func (m *Header) GetDescription() string
- func (m *Header) GetExample() *Any
- func (m *Header) GetExamples() *ExamplesOrReferences
- func (m *Header) GetExplode() bool
- func (m *Header) GetRequired() bool
- func (m *Header) GetSchema() *SchemaOrReference
- func (m *Header) GetSpecificationExtension() []*NamedAny
- func (m *Header) GetStyle() string
- func (*Header) ProtoMessage()
- func (m *Header) Reset()
- func (m *Header) ResolveReferences(root string) (interface{}, error)
- func (m *Header) String() string
- func (m *Header) ToRawInfo() interface{}
- type HeaderOrReference
- func NewHeaderOrReference(in interface{}, context *compiler.Context) (*HeaderOrReference, error)
- func (*HeaderOrReference) Descriptor() ([]byte, []int)
- func (m *HeaderOrReference) GetHeader() *Header
- func (m *HeaderOrReference) GetOneof() isHeaderOrReference_Oneof
- func (m *HeaderOrReference) GetReference() *Reference
- func (*HeaderOrReference) ProtoMessage()
- func (m *HeaderOrReference) Reset()
- func (m *HeaderOrReference) ResolveReferences(root string) (interface{}, error)
- func (m *HeaderOrReference) String() string
- func (m *HeaderOrReference) ToRawInfo() interface{}
- func (*HeaderOrReference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
- type HeaderOrReference_Header
- type HeaderOrReference_Reference
- type HeadersOrReferences
- func NewHeadersOrReferences(in interface{}, context *compiler.Context) (*HeadersOrReferences, error)
- func (*HeadersOrReferences) Descriptor() ([]byte, []int)
- func (m *HeadersOrReferences) GetAdditionalProperties() []*NamedHeaderOrReference
- func (*HeadersOrReferences) ProtoMessage()
- func (m *HeadersOrReferences) Reset()
- func (m *HeadersOrReferences) ResolveReferences(root string) (interface{}, error)
- func (m *HeadersOrReferences) String() string
- func (m *HeadersOrReferences) ToRawInfo() interface{}
- type Info
- func NewInfo(in interface{}, context *compiler.Context) (*Info, error)
- func (*Info) Descriptor() ([]byte, []int)
- func (m *Info) GetContact() *Contact
- func (m *Info) GetDescription() string
- func (m *Info) GetLicense() *License
- func (m *Info) GetSpecificationExtension() []*NamedAny
- func (m *Info) GetTermsOfService() string
- func (m *Info) GetTitle() string
- func (m *Info) GetVersion() string
- func (*Info) ProtoMessage()
- func (m *Info) Reset()
- func (m *Info) ResolveReferences(root string) (interface{}, error)
- func (m *Info) String() string
- func (m *Info) ToRawInfo() interface{}
- type ItemsItem
- func NewItemsItem(in interface{}, context *compiler.Context) (*ItemsItem, error)
- func (*ItemsItem) Descriptor() ([]byte, []int)
- func (m *ItemsItem) GetSchemaOrReference() []*SchemaOrReference
- func (*ItemsItem) ProtoMessage()
- func (m *ItemsItem) Reset()
- func (m *ItemsItem) ResolveReferences(root string) (interface{}, error)
- func (m *ItemsItem) String() string
- func (m *ItemsItem) ToRawInfo() interface{}
- type License
- func NewLicense(in interface{}, context *compiler.Context) (*License, error)
- func (*License) Descriptor() ([]byte, []int)
- func (m *License) GetName() string
- func (m *License) GetSpecificationExtension() []*NamedAny
- func (m *License) GetUrl() string
- func (*License) ProtoMessage()
- func (m *License) Reset()
- func (m *License) ResolveReferences(root string) (interface{}, error)
- func (m *License) String() string
- func (m *License) ToRawInfo() interface{}
- type Link
- func NewLink(in interface{}, context *compiler.Context) (*Link, error)
- func (*Link) Descriptor() ([]byte, []int)
- func (m *Link) GetDescription() string
- func (m *Link) GetOperationId() string
- func (m *Link) GetOperationRef() string
- func (m *Link) GetParameters() *AnysOrExpressions
- func (m *Link) GetRequestBody() *AnyOrExpression
- func (m *Link) GetServer() *Server
- func (m *Link) GetSpecificationExtension() []*NamedAny
- func (*Link) ProtoMessage()
- func (m *Link) Reset()
- func (m *Link) ResolveReferences(root string) (interface{}, error)
- func (m *Link) String() string
- func (m *Link) ToRawInfo() interface{}
- type LinkOrReference
- func NewLinkOrReference(in interface{}, context *compiler.Context) (*LinkOrReference, error)
- func (*LinkOrReference) Descriptor() ([]byte, []int)
- func (m *LinkOrReference) GetLink() *Link
- func (m *LinkOrReference) GetOneof() isLinkOrReference_Oneof
- func (m *LinkOrReference) GetReference() *Reference
- func (*LinkOrReference) ProtoMessage()
- func (m *LinkOrReference) Reset()
- func (m *LinkOrReference) ResolveReferences(root string) (interface{}, error)
- func (m *LinkOrReference) String() string
- func (m *LinkOrReference) ToRawInfo() interface{}
- func (*LinkOrReference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
- type LinkOrReference_Link
- type LinkOrReference_Reference
- type LinksOrReferences
- func NewLinksOrReferences(in interface{}, context *compiler.Context) (*LinksOrReferences, error)
- func (*LinksOrReferences) Descriptor() ([]byte, []int)
- func (m *LinksOrReferences) GetAdditionalProperties() []*NamedLinkOrReference
- func (*LinksOrReferences) ProtoMessage()
- func (m *LinksOrReferences) Reset()
- func (m *LinksOrReferences) ResolveReferences(root string) (interface{}, error)
- func (m *LinksOrReferences) String() string
- func (m *LinksOrReferences) ToRawInfo() interface{}
- type MediaType
- func NewMediaType(in interface{}, context *compiler.Context) (*MediaType, error)
- func (*MediaType) Descriptor() ([]byte, []int)
- func (m *MediaType) GetEncoding() *Encodings
- func (m *MediaType) GetExample() *Any
- func (m *MediaType) GetExamples() *ExamplesOrReferences
- func (m *MediaType) GetSchema() *SchemaOrReference
- func (m *MediaType) GetSpecificationExtension() []*NamedAny
- func (*MediaType) ProtoMessage()
- func (m *MediaType) Reset()
- func (m *MediaType) ResolveReferences(root string) (interface{}, error)
- func (m *MediaType) String() string
- func (m *MediaType) ToRawInfo() interface{}
- type MediaTypes
- func NewMediaTypes(in interface{}, context *compiler.Context) (*MediaTypes, error)
- func (*MediaTypes) Descriptor() ([]byte, []int)
- func (m *MediaTypes) GetAdditionalProperties() []*NamedMediaType
- func (*MediaTypes) ProtoMessage()
- func (m *MediaTypes) Reset()
- func (m *MediaTypes) ResolveReferences(root string) (interface{}, error)
- func (m *MediaTypes) String() string
- func (m *MediaTypes) ToRawInfo() interface{}
- type NamedAny
- func NewNamedAny(in interface{}, context *compiler.Context) (*NamedAny, error)
- func (*NamedAny) Descriptor() ([]byte, []int)
- func (m *NamedAny) GetName() string
- func (m *NamedAny) GetValue() *Any
- func (*NamedAny) ProtoMessage()
- func (m *NamedAny) Reset()
- func (m *NamedAny) ResolveReferences(root string) (interface{}, error)
- func (m *NamedAny) String() string
- func (m *NamedAny) ToRawInfo() interface{}
- type NamedAnyOrExpression
- func NewNamedAnyOrExpression(in interface{}, context *compiler.Context) (*NamedAnyOrExpression, error)
- func (*NamedAnyOrExpression) Descriptor() ([]byte, []int)
- func (m *NamedAnyOrExpression) GetName() string
- func (m *NamedAnyOrExpression) GetValue() *AnyOrExpression
- func (*NamedAnyOrExpression) ProtoMessage()
- func (m *NamedAnyOrExpression) Reset()
- func (m *NamedAnyOrExpression) ResolveReferences(root string) (interface{}, error)
- func (m *NamedAnyOrExpression) String() string
- func (m *NamedAnyOrExpression) ToRawInfo() interface{}
- type NamedCallbackOrReference
- func NewNamedCallbackOrReference(in interface{}, context *compiler.Context) (*NamedCallbackOrReference, error)
- func (*NamedCallbackOrReference) Descriptor() ([]byte, []int)
- func (m *NamedCallbackOrReference) GetName() string
- func (m *NamedCallbackOrReference) GetValue() *CallbackOrReference
- func (*NamedCallbackOrReference) ProtoMessage()
- func (m *NamedCallbackOrReference) Reset()
- func (m *NamedCallbackOrReference) ResolveReferences(root string) (interface{}, error)
- func (m *NamedCallbackOrReference) String() string
- func (m *NamedCallbackOrReference) ToRawInfo() interface{}
- type NamedEncoding
- func NewNamedEncoding(in interface{}, context *compiler.Context) (*NamedEncoding, error)
- func (*NamedEncoding) Descriptor() ([]byte, []int)
- func (m *NamedEncoding) GetName() string
- func (m *NamedEncoding) GetValue() *Encoding
- func (*NamedEncoding) ProtoMessage()
- func (m *NamedEncoding) Reset()
- func (m *NamedEncoding) ResolveReferences(root string) (interface{}, error)
- func (m *NamedEncoding) String() string
- func (m *NamedEncoding) ToRawInfo() interface{}
- type NamedExampleOrReference
- func NewNamedExampleOrReference(in interface{}, context *compiler.Context) (*NamedExampleOrReference, error)
- func (*NamedExampleOrReference) Descriptor() ([]byte, []int)
- func (m *NamedExampleOrReference) GetName() string
- func (m *NamedExampleOrReference) GetValue() *ExampleOrReference
- func (*NamedExampleOrReference) ProtoMessage()
- func (m *NamedExampleOrReference) Reset()
- func (m *NamedExampleOrReference) ResolveReferences(root string) (interface{}, error)
- func (m *NamedExampleOrReference) String() string
- func (m *NamedExampleOrReference) ToRawInfo() interface{}
- type NamedHeaderOrReference
- func NewNamedHeaderOrReference(in interface{}, context *compiler.Context) (*NamedHeaderOrReference, error)
- func (*NamedHeaderOrReference) Descriptor() ([]byte, []int)
- func (m *NamedHeaderOrReference) GetName() string
- func (m *NamedHeaderOrReference) GetValue() *HeaderOrReference
- func (*NamedHeaderOrReference) ProtoMessage()
- func (m *NamedHeaderOrReference) Reset()
- func (m *NamedHeaderOrReference) ResolveReferences(root string) (interface{}, error)
- func (m *NamedHeaderOrReference) String() string
- func (m *NamedHeaderOrReference) ToRawInfo() interface{}
- type NamedLinkOrReference
- func NewNamedLinkOrReference(in interface{}, context *compiler.Context) (*NamedLinkOrReference, error)
- func (*NamedLinkOrReference) Descriptor() ([]byte, []int)
- func (m *NamedLinkOrReference) GetName() string
- func (m *NamedLinkOrReference) GetValue() *LinkOrReference
- func (*NamedLinkOrReference) ProtoMessage()
- func (m *NamedLinkOrReference) Reset()
- func (m *NamedLinkOrReference) ResolveReferences(root string) (interface{}, error)
- func (m *NamedLinkOrReference) String() string
- func (m *NamedLinkOrReference) ToRawInfo() interface{}
- type NamedMediaType
- func NewNamedMediaType(in interface{}, context *compiler.Context) (*NamedMediaType, error)
- func (*NamedMediaType) Descriptor() ([]byte, []int)
- func (m *NamedMediaType) GetName() string
- func (m *NamedMediaType) GetValue() *MediaType
- func (*NamedMediaType) ProtoMessage()
- func (m *NamedMediaType) Reset()
- func (m *NamedMediaType) ResolveReferences(root string) (interface{}, error)
- func (m *NamedMediaType) String() string
- func (m *NamedMediaType) ToRawInfo() interface{}
- type NamedParameterOrReference
- func NewNamedParameterOrReference(in interface{}, context *compiler.Context) (*NamedParameterOrReference, error)
- func (*NamedParameterOrReference) Descriptor() ([]byte, []int)
- func (m *NamedParameterOrReference) GetName() string
- func (m *NamedParameterOrReference) GetValue() *ParameterOrReference
- func (*NamedParameterOrReference) ProtoMessage()
- func (m *NamedParameterOrReference) Reset()
- func (m *NamedParameterOrReference) ResolveReferences(root string) (interface{}, error)
- func (m *NamedParameterOrReference) String() string
- func (m *NamedParameterOrReference) ToRawInfo() interface{}
- type NamedPathItem
- func NewNamedPathItem(in interface{}, context *compiler.Context) (*NamedPathItem, error)
- func (*NamedPathItem) Descriptor() ([]byte, []int)
- func (m *NamedPathItem) GetName() string
- func (m *NamedPathItem) GetValue() *PathItem
- func (*NamedPathItem) ProtoMessage()
- func (m *NamedPathItem) Reset()
- func (m *NamedPathItem) ResolveReferences(root string) (interface{}, error)
- func (m *NamedPathItem) String() string
- func (m *NamedPathItem) ToRawInfo() interface{}
- type NamedRequestBodyOrReference
- func NewNamedRequestBodyOrReference(in interface{}, context *compiler.Context) (*NamedRequestBodyOrReference, error)
- func (*NamedRequestBodyOrReference) Descriptor() ([]byte, []int)
- func (m *NamedRequestBodyOrReference) GetName() string
- func (m *NamedRequestBodyOrReference) GetValue() *RequestBodyOrReference
- func (*NamedRequestBodyOrReference) ProtoMessage()
- func (m *NamedRequestBodyOrReference) Reset()
- func (m *NamedRequestBodyOrReference) ResolveReferences(root string) (interface{}, error)
- func (m *NamedRequestBodyOrReference) String() string
- func (m *NamedRequestBodyOrReference) ToRawInfo() interface{}
- type NamedResponseOrReference
- func NewNamedResponseOrReference(in interface{}, context *compiler.Context) (*NamedResponseOrReference, error)
- func (*NamedResponseOrReference) Descriptor() ([]byte, []int)
- func (m *NamedResponseOrReference) GetName() string
- func (m *NamedResponseOrReference) GetValue() *ResponseOrReference
- func (*NamedResponseOrReference) ProtoMessage()
- func (m *NamedResponseOrReference) Reset()
- func (m *NamedResponseOrReference) ResolveReferences(root string) (interface{}, error)
- func (m *NamedResponseOrReference) String() string
- func (m *NamedResponseOrReference) ToRawInfo() interface{}
- type NamedSchemaOrReference
- func NewNamedSchemaOrReference(in interface{}, context *compiler.Context) (*NamedSchemaOrReference, error)
- func (*NamedSchemaOrReference) Descriptor() ([]byte, []int)
- func (m *NamedSchemaOrReference) GetName() string
- func (m *NamedSchemaOrReference) GetValue() *SchemaOrReference
- func (*NamedSchemaOrReference) ProtoMessage()
- func (m *NamedSchemaOrReference) Reset()
- func (m *NamedSchemaOrReference) ResolveReferences(root string) (interface{}, error)
- func (m *NamedSchemaOrReference) String() string
- func (m *NamedSchemaOrReference) ToRawInfo() interface{}
- type NamedSecuritySchemeOrReference
- func NewNamedSecuritySchemeOrReference(in interface{}, context *compiler.Context) (*NamedSecuritySchemeOrReference, error)
- func (*NamedSecuritySchemeOrReference) Descriptor() ([]byte, []int)
- func (m *NamedSecuritySchemeOrReference) GetName() string
- func (m *NamedSecuritySchemeOrReference) GetValue() *SecuritySchemeOrReference
- func (*NamedSecuritySchemeOrReference) ProtoMessage()
- func (m *NamedSecuritySchemeOrReference) Reset()
- func (m *NamedSecuritySchemeOrReference) ResolveReferences(root string) (interface{}, error)
- func (m *NamedSecuritySchemeOrReference) String() string
- func (m *NamedSecuritySchemeOrReference) ToRawInfo() interface{}
- type NamedServerVariable
- func NewNamedServerVariable(in interface{}, context *compiler.Context) (*NamedServerVariable, error)
- func (*NamedServerVariable) Descriptor() ([]byte, []int)
- func (m *NamedServerVariable) GetName() string
- func (m *NamedServerVariable) GetValue() *ServerVariable
- func (*NamedServerVariable) ProtoMessage()
- func (m *NamedServerVariable) Reset()
- func (m *NamedServerVariable) ResolveReferences(root string) (interface{}, error)
- func (m *NamedServerVariable) String() string
- func (m *NamedServerVariable) ToRawInfo() interface{}
- type NamedString
- func NewNamedString(in interface{}, context *compiler.Context) (*NamedString, error)
- func (*NamedString) Descriptor() ([]byte, []int)
- func (m *NamedString) GetName() string
- func (m *NamedString) GetValue() string
- func (*NamedString) ProtoMessage()
- func (m *NamedString) Reset()
- func (m *NamedString) ResolveReferences(root string) (interface{}, error)
- func (m *NamedString) String() string
- func (m *NamedString) ToRawInfo() interface{}
- type OauthFlow
- func NewOauthFlow(in interface{}, context *compiler.Context) (*OauthFlow, error)
- func (*OauthFlow) Descriptor() ([]byte, []int)
- func (m *OauthFlow) GetAuthorizationUrl() string
- func (m *OauthFlow) GetRefreshUrl() string
- func (m *OauthFlow) GetScopes() *Strings
- func (m *OauthFlow) GetSpecificationExtension() []*NamedAny
- func (m *OauthFlow) GetTokenUrl() string
- func (*OauthFlow) ProtoMessage()
- func (m *OauthFlow) Reset()
- func (m *OauthFlow) ResolveReferences(root string) (interface{}, error)
- func (m *OauthFlow) String() string
- func (m *OauthFlow) ToRawInfo() interface{}
- type OauthFlows
- func NewOauthFlows(in interface{}, context *compiler.Context) (*OauthFlows, error)
- func (*OauthFlows) Descriptor() ([]byte, []int)
- func (m *OauthFlows) GetAuthorizationCode() *OauthFlow
- func (m *OauthFlows) GetClientCredentials() *OauthFlow
- func (m *OauthFlows) GetImplicit() *OauthFlow
- func (m *OauthFlows) GetPassword() *OauthFlow
- func (m *OauthFlows) GetSpecificationExtension() []*NamedAny
- func (*OauthFlows) ProtoMessage()
- func (m *OauthFlows) Reset()
- func (m *OauthFlows) ResolveReferences(root string) (interface{}, error)
- func (m *OauthFlows) String() string
- func (m *OauthFlows) ToRawInfo() interface{}
- type Object
- func NewObject(in interface{}, context *compiler.Context) (*Object, error)
- func (*Object) Descriptor() ([]byte, []int)
- func (m *Object) GetAdditionalProperties() []*NamedAny
- func (*Object) ProtoMessage()
- func (m *Object) Reset()
- func (m *Object) ResolveReferences(root string) (interface{}, error)
- func (m *Object) String() string
- func (m *Object) ToRawInfo() interface{}
- type Operation
- func NewOperation(in interface{}, context *compiler.Context) (*Operation, error)
- func (*Operation) Descriptor() ([]byte, []int)
- func (m *Operation) GetCallbacks() *CallbacksOrReferences
- func (m *Operation) GetDeprecated() bool
- func (m *Operation) GetDescription() string
- func (m *Operation) GetExternalDocs() *ExternalDocs
- func (m *Operation) GetOperationId() string
- func (m *Operation) GetParameters() []*ParameterOrReference
- func (m *Operation) GetRequestBody() *RequestBodyOrReference
- func (m *Operation) GetResponses() *Responses
- func (m *Operation) GetSecurity() []*SecurityRequirement
- func (m *Operation) GetServers() []*Server
- func (m *Operation) GetSpecificationExtension() []*NamedAny
- func (m *Operation) GetSummary() string
- func (m *Operation) GetTags() []string
- func (*Operation) ProtoMessage()
- func (m *Operation) Reset()
- func (m *Operation) ResolveReferences(root string) (interface{}, error)
- func (m *Operation) String() string
- func (m *Operation) ToRawInfo() interface{}
- type Parameter
- func NewParameter(in interface{}, context *compiler.Context) (*Parameter, error)
- func (*Parameter) Descriptor() ([]byte, []int)
- func (m *Parameter) GetAllowEmptyValue() bool
- func (m *Parameter) GetAllowReserved() bool
- func (m *Parameter) GetContent() *MediaTypes
- func (m *Parameter) GetDeprecated() bool
- func (m *Parameter) GetDescription() string
- func (m *Parameter) GetExample() *Any
- func (m *Parameter) GetExamples() *ExamplesOrReferences
- func (m *Parameter) GetExplode() bool
- func (m *Parameter) GetIn() string
- func (m *Parameter) GetName() string
- func (m *Parameter) GetRequired() bool
- func (m *Parameter) GetSchema() *SchemaOrReference
- func (m *Parameter) GetSpecificationExtension() []*NamedAny
- func (m *Parameter) GetStyle() string
- func (*Parameter) ProtoMessage()
- func (m *Parameter) Reset()
- func (m *Parameter) ResolveReferences(root string) (interface{}, error)
- func (m *Parameter) String() string
- func (m *Parameter) ToRawInfo() interface{}
- type ParameterOrReference
- func NewParameterOrReference(in interface{}, context *compiler.Context) (*ParameterOrReference, error)
- func (*ParameterOrReference) Descriptor() ([]byte, []int)
- func (m *ParameterOrReference) GetOneof() isParameterOrReference_Oneof
- func (m *ParameterOrReference) GetParameter() *Parameter
- func (m *ParameterOrReference) GetReference() *Reference
- func (*ParameterOrReference) ProtoMessage()
- func (m *ParameterOrReference) Reset()
- func (m *ParameterOrReference) ResolveReferences(root string) (interface{}, error)
- func (m *ParameterOrReference) String() string
- func (m *ParameterOrReference) ToRawInfo() interface{}
- func (*ParameterOrReference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
- type ParameterOrReference_Parameter
- type ParameterOrReference_Reference
- type ParametersOrReferences
- func NewParametersOrReferences(in interface{}, context *compiler.Context) (*ParametersOrReferences, error)
- func (*ParametersOrReferences) Descriptor() ([]byte, []int)
- func (m *ParametersOrReferences) GetAdditionalProperties() []*NamedParameterOrReference
- func (*ParametersOrReferences) ProtoMessage()
- func (m *ParametersOrReferences) Reset()
- func (m *ParametersOrReferences) ResolveReferences(root string) (interface{}, error)
- func (m *ParametersOrReferences) String() string
- func (m *ParametersOrReferences) ToRawInfo() interface{}
- type PathItem
- func NewPathItem(in interface{}, context *compiler.Context) (*PathItem, error)
- func (*PathItem) Descriptor() ([]byte, []int)
- func (m *PathItem) GetDelete() *Operation
- func (m *PathItem) GetDescription() string
- func (m *PathItem) GetGet() *Operation
- func (m *PathItem) GetHead() *Operation
- func (m *PathItem) GetOptions() *Operation
- func (m *PathItem) GetParameters() []*ParameterOrReference
- func (m *PathItem) GetPatch() *Operation
- func (m *PathItem) GetPost() *Operation
- func (m *PathItem) GetPut() *Operation
- func (m *PathItem) GetServers() []*Server
- func (m *PathItem) GetSpecificationExtension() []*NamedAny
- func (m *PathItem) GetSummary() string
- func (m *PathItem) GetTrace() *Operation
- func (m *PathItem) GetXRef() string
- func (*PathItem) ProtoMessage()
- func (m *PathItem) Reset()
- func (m *PathItem) ResolveReferences(root string) (interface{}, error)
- func (m *PathItem) String() string
- func (m *PathItem) ToRawInfo() interface{}
- type Paths
- func NewPaths(in interface{}, context *compiler.Context) (*Paths, error)
- func (*Paths) Descriptor() ([]byte, []int)
- func (m *Paths) GetPath() []*NamedPathItem
- func (m *Paths) GetSpecificationExtension() []*NamedAny
- func (*Paths) ProtoMessage()
- func (m *Paths) Reset()
- func (m *Paths) ResolveReferences(root string) (interface{}, error)
- func (m *Paths) String() string
- func (m *Paths) ToRawInfo() interface{}
- type Properties
- func NewProperties(in interface{}, context *compiler.Context) (*Properties, error)
- func (*Properties) Descriptor() ([]byte, []int)
- func (m *Properties) GetAdditionalProperties() []*NamedSchemaOrReference
- func (*Properties) ProtoMessage()
- func (m *Properties) Reset()
- func (m *Properties) ResolveReferences(root string) (interface{}, error)
- func (m *Properties) String() string
- func (m *Properties) ToRawInfo() interface{}
- type Reference
- func NewReference(in interface{}, context *compiler.Context) (*Reference, error)
- func (*Reference) Descriptor() ([]byte, []int)
- func (m *Reference) GetXRef() string
- func (*Reference) ProtoMessage()
- func (m *Reference) Reset()
- func (m *Reference) ResolveReferences(root string) (interface{}, error)
- func (m *Reference) String() string
- func (m *Reference) ToRawInfo() interface{}
- type RequestBodiesOrReferences
- func NewRequestBodiesOrReferences(in interface{}, context *compiler.Context) (*RequestBodiesOrReferences, error)
- func (*RequestBodiesOrReferences) Descriptor() ([]byte, []int)
- func (m *RequestBodiesOrReferences) GetAdditionalProperties() []*NamedRequestBodyOrReference
- func (*RequestBodiesOrReferences) ProtoMessage()
- func (m *RequestBodiesOrReferences) Reset()
- func (m *RequestBodiesOrReferences) ResolveReferences(root string) (interface{}, error)
- func (m *RequestBodiesOrReferences) String() string
- func (m *RequestBodiesOrReferences) ToRawInfo() interface{}
- type RequestBody
- func NewRequestBody(in interface{}, context *compiler.Context) (*RequestBody, error)
- func (*RequestBody) Descriptor() ([]byte, []int)
- func (m *RequestBody) GetContent() *MediaTypes
- func (m *RequestBody) GetDescription() string
- func (m *RequestBody) GetRequired() bool
- func (m *RequestBody) GetSpecificationExtension() []*NamedAny
- func (*RequestBody) ProtoMessage()
- func (m *RequestBody) Reset()
- func (m *RequestBody) ResolveReferences(root string) (interface{}, error)
- func (m *RequestBody) String() string
- func (m *RequestBody) ToRawInfo() interface{}
- type RequestBodyOrReference
- func NewRequestBodyOrReference(in interface{}, context *compiler.Context) (*RequestBodyOrReference, error)
- func (*RequestBodyOrReference) Descriptor() ([]byte, []int)
- func (m *RequestBodyOrReference) GetOneof() isRequestBodyOrReference_Oneof
- func (m *RequestBodyOrReference) GetReference() *Reference
- func (m *RequestBodyOrReference) GetRequestBody() *RequestBody
- func (*RequestBodyOrReference) ProtoMessage()
- func (m *RequestBodyOrReference) Reset()
- func (m *RequestBodyOrReference) ResolveReferences(root string) (interface{}, error)
- func (m *RequestBodyOrReference) String() string
- func (m *RequestBodyOrReference) ToRawInfo() interface{}
- func (*RequestBodyOrReference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
- type RequestBodyOrReference_Reference
- type RequestBodyOrReference_RequestBody
- type Response
- func NewResponse(in interface{}, context *compiler.Context) (*Response, error)
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetContent() *MediaTypes
- func (m *Response) GetDescription() string
- func (m *Response) GetHeaders() *HeadersOrReferences
- func (m *Response) GetLinks() *LinksOrReferences
- func (m *Response) GetSpecificationExtension() []*NamedAny
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) ResolveReferences(root string) (interface{}, error)
- func (m *Response) String() string
- func (m *Response) ToRawInfo() interface{}
- type ResponseOrReference
- func NewResponseOrReference(in interface{}, context *compiler.Context) (*ResponseOrReference, error)
- func (*ResponseOrReference) Descriptor() ([]byte, []int)
- func (m *ResponseOrReference) GetOneof() isResponseOrReference_Oneof
- func (m *ResponseOrReference) GetReference() *Reference
- func (m *ResponseOrReference) GetResponse() *Response
- func (*ResponseOrReference) ProtoMessage()
- func (m *ResponseOrReference) Reset()
- func (m *ResponseOrReference) ResolveReferences(root string) (interface{}, error)
- func (m *ResponseOrReference) String() string
- func (m *ResponseOrReference) ToRawInfo() interface{}
- func (*ResponseOrReference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
- type ResponseOrReference_Reference
- type ResponseOrReference_Response
- type Responses
- func NewResponses(in interface{}, context *compiler.Context) (*Responses, error)
- func (*Responses) Descriptor() ([]byte, []int)
- func (m *Responses) GetDefault() *ResponseOrReference
- func (m *Responses) GetResponseOrReference() []*NamedResponseOrReference
- func (m *Responses) GetSpecificationExtension() []*NamedAny
- func (*Responses) ProtoMessage()
- func (m *Responses) Reset()
- func (m *Responses) ResolveReferences(root string) (interface{}, error)
- func (m *Responses) String() string
- func (m *Responses) ToRawInfo() interface{}
- type ResponsesOrReferences
- func NewResponsesOrReferences(in interface{}, context *compiler.Context) (*ResponsesOrReferences, error)
- func (*ResponsesOrReferences) Descriptor() ([]byte, []int)
- func (m *ResponsesOrReferences) GetAdditionalProperties() []*NamedResponseOrReference
- func (*ResponsesOrReferences) ProtoMessage()
- func (m *ResponsesOrReferences) Reset()
- func (m *ResponsesOrReferences) ResolveReferences(root string) (interface{}, error)
- func (m *ResponsesOrReferences) String() string
- func (m *ResponsesOrReferences) ToRawInfo() interface{}
- type Schema
- func NewSchema(in interface{}, context *compiler.Context) (*Schema, error)
- func (*Schema) Descriptor() ([]byte, []int)
- func (m *Schema) GetAdditionalProperties() *AdditionalPropertiesItem
- func (m *Schema) GetAllOf() []*SchemaOrReference
- func (m *Schema) GetAnyOf() []*SchemaOrReference
- func (m *Schema) GetDefault() *DefaultType
- func (m *Schema) GetDeprecated() bool
- func (m *Schema) GetDescription() string
- func (m *Schema) GetDiscriminator() *Discriminator
- func (m *Schema) GetEnum() []*Any
- func (m *Schema) GetExample() *Any
- func (m *Schema) GetExclusiveMaximum() bool
- func (m *Schema) GetExclusiveMinimum() bool
- func (m *Schema) GetExternalDocs() *ExternalDocs
- func (m *Schema) GetFormat() string
- func (m *Schema) GetItems() *ItemsItem
- func (m *Schema) GetMaxItems() int64
- func (m *Schema) GetMaxLength() int64
- func (m *Schema) GetMaxProperties() int64
- func (m *Schema) GetMaximum() float64
- func (m *Schema) GetMinItems() int64
- func (m *Schema) GetMinLength() int64
- func (m *Schema) GetMinProperties() int64
- func (m *Schema) GetMinimum() float64
- func (m *Schema) GetMultipleOf() float64
- func (m *Schema) GetNot() *Schema
- func (m *Schema) GetNullable() bool
- func (m *Schema) GetOneOf() []*SchemaOrReference
- func (m *Schema) GetPattern() string
- func (m *Schema) GetProperties() *Properties
- func (m *Schema) GetReadOnly() bool
- func (m *Schema) GetRequired() []string
- func (m *Schema) GetSpecificationExtension() []*NamedAny
- func (m *Schema) GetTitle() string
- func (m *Schema) GetType() string
- func (m *Schema) GetUniqueItems() bool
- func (m *Schema) GetWriteOnly() bool
- func (m *Schema) GetXml() *Xml
- func (*Schema) ProtoMessage()
- func (m *Schema) Reset()
- func (m *Schema) ResolveReferences(root string) (interface{}, error)
- func (m *Schema) String() string
- func (m *Schema) ToRawInfo() interface{}
- type SchemaOrReference
- func NewSchemaOrReference(in interface{}, context *compiler.Context) (*SchemaOrReference, error)
- func (*SchemaOrReference) Descriptor() ([]byte, []int)
- func (m *SchemaOrReference) GetOneof() isSchemaOrReference_Oneof
- func (m *SchemaOrReference) GetReference() *Reference
- func (m *SchemaOrReference) GetSchema() *Schema
- func (*SchemaOrReference) ProtoMessage()
- func (m *SchemaOrReference) Reset()
- func (m *SchemaOrReference) ResolveReferences(root string) (interface{}, error)
- func (m *SchemaOrReference) String() string
- func (m *SchemaOrReference) ToRawInfo() interface{}
- func (*SchemaOrReference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
- type SchemaOrReference_Reference
- type SchemaOrReference_Schema
- type SchemasOrReferences
- func NewSchemasOrReferences(in interface{}, context *compiler.Context) (*SchemasOrReferences, error)
- func (*SchemasOrReferences) Descriptor() ([]byte, []int)
- func (m *SchemasOrReferences) GetAdditionalProperties() []*NamedSchemaOrReference
- func (*SchemasOrReferences) ProtoMessage()
- func (m *SchemasOrReferences) Reset()
- func (m *SchemasOrReferences) ResolveReferences(root string) (interface{}, error)
- func (m *SchemasOrReferences) String() string
- func (m *SchemasOrReferences) ToRawInfo() interface{}
- type SecurityRequirement
- func NewSecurityRequirement(in interface{}, context *compiler.Context) (*SecurityRequirement, error)
- func (*SecurityRequirement) Descriptor() ([]byte, []int)
- func (*SecurityRequirement) ProtoMessage()
- func (m *SecurityRequirement) Reset()
- func (m *SecurityRequirement) ResolveReferences(root string) (interface{}, error)
- func (m *SecurityRequirement) String() string
- func (m *SecurityRequirement) ToRawInfo() interface{}
- type SecurityScheme
- func NewSecurityScheme(in interface{}, context *compiler.Context) (*SecurityScheme, error)
- func (*SecurityScheme) Descriptor() ([]byte, []int)
- func (m *SecurityScheme) GetBearerFormat() string
- func (m *SecurityScheme) GetDescription() string
- func (m *SecurityScheme) GetFlows() *OauthFlows
- func (m *SecurityScheme) GetIn() string
- func (m *SecurityScheme) GetName() string
- func (m *SecurityScheme) GetOpenIdConnectUrl() string
- func (m *SecurityScheme) GetScheme() string
- func (m *SecurityScheme) GetSpecificationExtension() []*NamedAny
- func (m *SecurityScheme) GetType() string
- func (*SecurityScheme) ProtoMessage()
- func (m *SecurityScheme) Reset()
- func (m *SecurityScheme) ResolveReferences(root string) (interface{}, error)
- func (m *SecurityScheme) String() string
- func (m *SecurityScheme) ToRawInfo() interface{}
- type SecuritySchemeOrReference
- func NewSecuritySchemeOrReference(in interface{}, context *compiler.Context) (*SecuritySchemeOrReference, error)
- func (*SecuritySchemeOrReference) Descriptor() ([]byte, []int)
- func (m *SecuritySchemeOrReference) GetOneof() isSecuritySchemeOrReference_Oneof
- func (m *SecuritySchemeOrReference) GetReference() *Reference
- func (m *SecuritySchemeOrReference) GetSecurityScheme() *SecurityScheme
- func (*SecuritySchemeOrReference) ProtoMessage()
- func (m *SecuritySchemeOrReference) Reset()
- func (m *SecuritySchemeOrReference) ResolveReferences(root string) (interface{}, error)
- func (m *SecuritySchemeOrReference) String() string
- func (m *SecuritySchemeOrReference) ToRawInfo() interface{}
- func (*SecuritySchemeOrReference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
- type SecuritySchemeOrReference_Reference
- type SecuritySchemeOrReference_SecurityScheme
- type SecuritySchemesOrReferences
- func NewSecuritySchemesOrReferences(in interface{}, context *compiler.Context) (*SecuritySchemesOrReferences, error)
- func (*SecuritySchemesOrReferences) Descriptor() ([]byte, []int)
- func (m *SecuritySchemesOrReferences) GetAdditionalProperties() []*NamedSecuritySchemeOrReference
- func (*SecuritySchemesOrReferences) ProtoMessage()
- func (m *SecuritySchemesOrReferences) Reset()
- func (m *SecuritySchemesOrReferences) ResolveReferences(root string) (interface{}, error)
- func (m *SecuritySchemesOrReferences) String() string
- func (m *SecuritySchemesOrReferences) ToRawInfo() interface{}
- type Server
- func NewServer(in interface{}, context *compiler.Context) (*Server, error)
- func (*Server) Descriptor() ([]byte, []int)
- func (m *Server) GetDescription() string
- func (m *Server) GetSpecificationExtension() []*NamedAny
- func (m *Server) GetUrl() string
- func (m *Server) GetVariables() *ServerVariables
- func (*Server) ProtoMessage()
- func (m *Server) Reset()
- func (m *Server) ResolveReferences(root string) (interface{}, error)
- func (m *Server) String() string
- func (m *Server) ToRawInfo() interface{}
- type ServerVariable
- func NewServerVariable(in interface{}, context *compiler.Context) (*ServerVariable, error)
- func (*ServerVariable) Descriptor() ([]byte, []int)
- func (m *ServerVariable) GetDefault() string
- func (m *ServerVariable) GetDescription() string
- func (m *ServerVariable) GetEnum() []string
- func (m *ServerVariable) GetSpecificationExtension() []*NamedAny
- func (*ServerVariable) ProtoMessage()
- func (m *ServerVariable) Reset()
- func (m *ServerVariable) ResolveReferences(root string) (interface{}, error)
- func (m *ServerVariable) String() string
- func (m *ServerVariable) ToRawInfo() interface{}
- type ServerVariables
- func NewServerVariables(in interface{}, context *compiler.Context) (*ServerVariables, error)
- func (*ServerVariables) Descriptor() ([]byte, []int)
- func (m *ServerVariables) GetAdditionalProperties() []*NamedServerVariable
- func (*ServerVariables) ProtoMessage()
- func (m *ServerVariables) Reset()
- func (m *ServerVariables) ResolveReferences(root string) (interface{}, error)
- func (m *ServerVariables) String() string
- func (m *ServerVariables) ToRawInfo() interface{}
- type SpecificationExtension
- func NewSpecificationExtension(in interface{}, context *compiler.Context) (*SpecificationExtension, error)
- func (*SpecificationExtension) Descriptor() ([]byte, []int)
- func (m *SpecificationExtension) GetBoolean() bool
- func (m *SpecificationExtension) GetNumber() float64
- func (m *SpecificationExtension) GetOneof() isSpecificationExtension_Oneof
- func (m *SpecificationExtension) GetString_() string
- func (*SpecificationExtension) ProtoMessage()
- func (m *SpecificationExtension) Reset()
- func (m *SpecificationExtension) ResolveReferences(root string) (interface{}, error)
- func (m *SpecificationExtension) String() string
- func (m *SpecificationExtension) ToRawInfo() interface{}
- func (*SpecificationExtension) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
- type SpecificationExtension_Boolean
- type SpecificationExtension_Number
- type SpecificationExtension_String_
- type StringArray
- func NewStringArray(in interface{}, context *compiler.Context) (*StringArray, error)
- func (*StringArray) Descriptor() ([]byte, []int)
- func (m *StringArray) GetValue() []string
- func (*StringArray) ProtoMessage()
- func (m *StringArray) Reset()
- func (m *StringArray) ResolveReferences(root string) (interface{}, error)
- func (m *StringArray) String() string
- func (m *StringArray) ToRawInfo() interface{}
- type Strings
- func NewStrings(in interface{}, context *compiler.Context) (*Strings, error)
- func (*Strings) Descriptor() ([]byte, []int)
- func (m *Strings) GetAdditionalProperties() []*NamedString
- func (*Strings) ProtoMessage()
- func (m *Strings) Reset()
- func (m *Strings) ResolveReferences(root string) (interface{}, error)
- func (m *Strings) String() string
- func (m *Strings) ToRawInfo() interface{}
- type Tag
- func NewTag(in interface{}, context *compiler.Context) (*Tag, error)
- func (*Tag) Descriptor() ([]byte, []int)
- func (m *Tag) GetDescription() string
- func (m *Tag) GetExternalDocs() *ExternalDocs
- func (m *Tag) GetName() string
- func (m *Tag) GetSpecificationExtension() []*NamedAny
- func (*Tag) ProtoMessage()
- func (m *Tag) Reset()
- func (m *Tag) ResolveReferences(root string) (interface{}, error)
- func (m *Tag) String() string
- func (m *Tag) ToRawInfo() interface{}
- type Xml
- func NewXml(in interface{}, context *compiler.Context) (*Xml, error)
- func (*Xml) Descriptor() ([]byte, []int)
- func (m *Xml) GetAttribute() bool
- func (m *Xml) GetName() string
- func (m *Xml) GetNamespace() string
- func (m *Xml) GetPrefix() string
- func (m *Xml) GetSpecificationExtension() []*NamedAny
- func (m *Xml) GetWrapped() bool
- func (*Xml) ProtoMessage()
- func (m *Xml) Reset()
- func (m *Xml) ResolveReferences(root string) (interface{}, error)
- func (m *Xml) String() string
- func (m *Xml) ToRawInfo() interface{}
Functions ¶
func Version ¶
func Version() string
Version returns the package name (and OpenAPI version).
Types ¶
type AdditionalPropertiesItem ¶
type AdditionalPropertiesItem struct { // Types that are valid to be assigned to Oneof: // *AdditionalPropertiesItem_SchemaOrReference // *AdditionalPropertiesItem_Boolean Oneof isAdditionalPropertiesItem_Oneof `protobuf_oneof:"oneof"` }
func NewAdditionalPropertiesItem ¶
func NewAdditionalPropertiesItem(in interface{}, context *compiler.Context) (*AdditionalPropertiesItem, error)
NewAdditionalPropertiesItem creates an object of type AdditionalPropertiesItem if possible, returning an error if not.
func (*AdditionalPropertiesItem) Descriptor ¶
func (*AdditionalPropertiesItem) Descriptor() ([]byte, []int)
func (*AdditionalPropertiesItem) GetBoolean ¶
func (m *AdditionalPropertiesItem) GetBoolean() bool
func (*AdditionalPropertiesItem) GetOneof ¶
func (m *AdditionalPropertiesItem) GetOneof() isAdditionalPropertiesItem_Oneof
func (*AdditionalPropertiesItem) GetSchemaOrReference ¶
func (m *AdditionalPropertiesItem) GetSchemaOrReference() *SchemaOrReference
func (*AdditionalPropertiesItem) ProtoMessage ¶
func (*AdditionalPropertiesItem) ProtoMessage()
func (*AdditionalPropertiesItem) Reset ¶
func (m *AdditionalPropertiesItem) Reset()
func (*AdditionalPropertiesItem) ResolveReferences ¶
func (m *AdditionalPropertiesItem) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside AdditionalPropertiesItem objects.
func (*AdditionalPropertiesItem) String ¶
func (m *AdditionalPropertiesItem) String() string
func (*AdditionalPropertiesItem) ToRawInfo ¶
func (m *AdditionalPropertiesItem) ToRawInfo() interface{}
ToRawInfo returns a description of AdditionalPropertiesItem suitable for JSON or YAML export.
func (*AdditionalPropertiesItem) XXX_OneofFuncs ¶
func (*AdditionalPropertiesItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type AdditionalPropertiesItem_Boolean ¶
type AdditionalPropertiesItem_Boolean struct { Boolean bool `protobuf:"varint,2,opt,name=boolean,oneof"` }
type AdditionalPropertiesItem_SchemaOrReference ¶
type AdditionalPropertiesItem_SchemaOrReference struct { SchemaOrReference *SchemaOrReference `protobuf:"bytes,1,opt,name=schema_or_reference,json=schemaOrReference,oneof"` }
type Any ¶
type Any struct { Value *google_protobuf.Any `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"` Yaml string `protobuf:"bytes,2,opt,name=yaml" json:"yaml,omitempty"` }
func NewAny ¶
NewAny creates an object of type Any if possible, returning an error if not.
func (*Any) Descriptor ¶
func (*Any) GetValue ¶
func (m *Any) GetValue() *google_protobuf.Any
func (*Any) GetYaml ¶
func (*Any) ProtoMessage ¶
func (*Any) ProtoMessage()
func (*Any) Reset ¶
func (m *Any) Reset()
func (*Any) ResolveReferences ¶
ResolveReferences resolves references found inside Any objects.
func (*Any) String ¶
func (*Any) ToRawInfo ¶
func (m *Any) ToRawInfo() interface{}
ToRawInfo returns a description of Any suitable for JSON or YAML export.
type AnyOrExpression ¶
type AnyOrExpression struct { // Types that are valid to be assigned to Oneof: // *AnyOrExpression_Any // *AnyOrExpression_Expression Oneof isAnyOrExpression_Oneof `protobuf_oneof:"oneof"` }
func NewAnyOrExpression ¶
func NewAnyOrExpression(in interface{}, context *compiler.Context) (*AnyOrExpression, error)
NewAnyOrExpression creates an object of type AnyOrExpression if possible, returning an error if not.
func (*AnyOrExpression) Descriptor ¶
func (*AnyOrExpression) Descriptor() ([]byte, []int)
func (*AnyOrExpression) GetAny ¶
func (m *AnyOrExpression) GetAny() *Any
func (*AnyOrExpression) GetExpression ¶
func (m *AnyOrExpression) GetExpression() *Expression
func (*AnyOrExpression) GetOneof ¶
func (m *AnyOrExpression) GetOneof() isAnyOrExpression_Oneof
func (*AnyOrExpression) ProtoMessage ¶
func (*AnyOrExpression) ProtoMessage()
func (*AnyOrExpression) Reset ¶
func (m *AnyOrExpression) Reset()
func (*AnyOrExpression) ResolveReferences ¶
func (m *AnyOrExpression) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside AnyOrExpression objects.
func (*AnyOrExpression) String ¶
func (m *AnyOrExpression) String() string
func (*AnyOrExpression) ToRawInfo ¶
func (m *AnyOrExpression) ToRawInfo() interface{}
ToRawInfo returns a description of AnyOrExpression suitable for JSON or YAML export.
func (*AnyOrExpression) XXX_OneofFuncs ¶
func (*AnyOrExpression) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type AnyOrExpression_Any ¶
type AnyOrExpression_Any struct { Any *Any `protobuf:"bytes,1,opt,name=any,oneof"` }
type AnyOrExpression_Expression ¶
type AnyOrExpression_Expression struct { Expression *Expression `protobuf:"bytes,2,opt,name=expression,oneof"` }
type AnysOrExpressions ¶
type AnysOrExpressions struct { AdditionalProperties []*NamedAnyOrExpression `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"` }
func NewAnysOrExpressions ¶
func NewAnysOrExpressions(in interface{}, context *compiler.Context) (*AnysOrExpressions, error)
NewAnysOrExpressions creates an object of type AnysOrExpressions if possible, returning an error if not.
func (*AnysOrExpressions) Descriptor ¶
func (*AnysOrExpressions) Descriptor() ([]byte, []int)
func (*AnysOrExpressions) GetAdditionalProperties ¶
func (m *AnysOrExpressions) GetAdditionalProperties() []*NamedAnyOrExpression
func (*AnysOrExpressions) ProtoMessage ¶
func (*AnysOrExpressions) ProtoMessage()
func (*AnysOrExpressions) Reset ¶
func (m *AnysOrExpressions) Reset()
func (*AnysOrExpressions) ResolveReferences ¶
func (m *AnysOrExpressions) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside AnysOrExpressions objects.
func (*AnysOrExpressions) String ¶
func (m *AnysOrExpressions) String() string
func (*AnysOrExpressions) ToRawInfo ¶
func (m *AnysOrExpressions) ToRawInfo() interface{}
ToRawInfo returns a description of AnysOrExpressions suitable for JSON or YAML export.
type Callback ¶
type Callback struct { Path []*NamedPathItem `protobuf:"bytes,1,rep,name=path" json:"path,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,2,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
A map of possible out-of band callbacks related to the parent operation. Each value in the map is a Path Item Object that describes a set of requests that may be initiated by the API provider and the expected responses. The key value used to identify the callback object is an expression, evaluated at runtime, that identifies a URL to use for the callback operation.
func NewCallback ¶
NewCallback creates an object of type Callback if possible, returning an error if not.
func (*Callback) Descriptor ¶
func (*Callback) GetPath ¶
func (m *Callback) GetPath() []*NamedPathItem
func (*Callback) GetSpecificationExtension ¶
func (*Callback) ProtoMessage ¶
func (*Callback) ProtoMessage()
func (*Callback) Reset ¶
func (m *Callback) Reset()
func (*Callback) ResolveReferences ¶
ResolveReferences resolves references found inside Callback objects.
func (*Callback) String ¶
func (*Callback) ToRawInfo ¶
func (m *Callback) ToRawInfo() interface{}
ToRawInfo returns a description of Callback suitable for JSON or YAML export.
type CallbackOrReference ¶
type CallbackOrReference struct { // Types that are valid to be assigned to Oneof: // *CallbackOrReference_Callback // *CallbackOrReference_Reference Oneof isCallbackOrReference_Oneof `protobuf_oneof:"oneof"` }
func NewCallbackOrReference ¶
func NewCallbackOrReference(in interface{}, context *compiler.Context) (*CallbackOrReference, error)
NewCallbackOrReference creates an object of type CallbackOrReference if possible, returning an error if not.
func (*CallbackOrReference) Descriptor ¶
func (*CallbackOrReference) Descriptor() ([]byte, []int)
func (*CallbackOrReference) GetCallback ¶
func (m *CallbackOrReference) GetCallback() *Callback
func (*CallbackOrReference) GetOneof ¶
func (m *CallbackOrReference) GetOneof() isCallbackOrReference_Oneof
func (*CallbackOrReference) GetReference ¶
func (m *CallbackOrReference) GetReference() *Reference
func (*CallbackOrReference) ProtoMessage ¶
func (*CallbackOrReference) ProtoMessage()
func (*CallbackOrReference) Reset ¶
func (m *CallbackOrReference) Reset()
func (*CallbackOrReference) ResolveReferences ¶
func (m *CallbackOrReference) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside CallbackOrReference objects.
func (*CallbackOrReference) String ¶
func (m *CallbackOrReference) String() string
func (*CallbackOrReference) ToRawInfo ¶
func (m *CallbackOrReference) ToRawInfo() interface{}
ToRawInfo returns a description of CallbackOrReference suitable for JSON or YAML export.
func (*CallbackOrReference) XXX_OneofFuncs ¶
func (*CallbackOrReference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type CallbackOrReference_Callback ¶
type CallbackOrReference_Callback struct { Callback *Callback `protobuf:"bytes,1,opt,name=callback,oneof"` }
type CallbackOrReference_Reference ¶
type CallbackOrReference_Reference struct { Reference *Reference `protobuf:"bytes,2,opt,name=reference,oneof"` }
type CallbacksOrReferences ¶
type CallbacksOrReferences struct { AdditionalProperties []*NamedCallbackOrReference `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"` }
func NewCallbacksOrReferences ¶
func NewCallbacksOrReferences(in interface{}, context *compiler.Context) (*CallbacksOrReferences, error)
NewCallbacksOrReferences creates an object of type CallbacksOrReferences if possible, returning an error if not.
func (*CallbacksOrReferences) Descriptor ¶
func (*CallbacksOrReferences) Descriptor() ([]byte, []int)
func (*CallbacksOrReferences) GetAdditionalProperties ¶
func (m *CallbacksOrReferences) GetAdditionalProperties() []*NamedCallbackOrReference
func (*CallbacksOrReferences) ProtoMessage ¶
func (*CallbacksOrReferences) ProtoMessage()
func (*CallbacksOrReferences) Reset ¶
func (m *CallbacksOrReferences) Reset()
func (*CallbacksOrReferences) ResolveReferences ¶
func (m *CallbacksOrReferences) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside CallbacksOrReferences objects.
func (*CallbacksOrReferences) String ¶
func (m *CallbacksOrReferences) String() string
func (*CallbacksOrReferences) ToRawInfo ¶
func (m *CallbacksOrReferences) ToRawInfo() interface{}
ToRawInfo returns a description of CallbacksOrReferences suitable for JSON or YAML export.
type Components ¶
type Components struct { Schemas *SchemasOrReferences `protobuf:"bytes,1,opt,name=schemas" json:"schemas,omitempty"` Responses *ResponsesOrReferences `protobuf:"bytes,2,opt,name=responses" json:"responses,omitempty"` Parameters *ParametersOrReferences `protobuf:"bytes,3,opt,name=parameters" json:"parameters,omitempty"` Examples *ExamplesOrReferences `protobuf:"bytes,4,opt,name=examples" json:"examples,omitempty"` RequestBodies *RequestBodiesOrReferences `protobuf:"bytes,5,opt,name=request_bodies,json=requestBodies" json:"request_bodies,omitempty"` Headers *HeadersOrReferences `protobuf:"bytes,6,opt,name=headers" json:"headers,omitempty"` SecuritySchemes *SecuritySchemesOrReferences `protobuf:"bytes,7,opt,name=security_schemes,json=securitySchemes" json:"security_schemes,omitempty"` Links *LinksOrReferences `protobuf:"bytes,8,opt,name=links" json:"links,omitempty"` Callbacks *CallbacksOrReferences `protobuf:"bytes,9,opt,name=callbacks" json:"callbacks,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,10,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
Holds a set of reusable objects for different aspects of the OAS. All objects defined within the components object will have no effect on the API unless they are explicitly referenced from properties outside the components object.
func NewComponents ¶
func NewComponents(in interface{}, context *compiler.Context) (*Components, error)
NewComponents creates an object of type Components if possible, returning an error if not.
func (*Components) Descriptor ¶
func (*Components) Descriptor() ([]byte, []int)
func (*Components) GetCallbacks ¶
func (m *Components) GetCallbacks() *CallbacksOrReferences
func (*Components) GetExamples ¶
func (m *Components) GetExamples() *ExamplesOrReferences
func (*Components) GetHeaders ¶
func (m *Components) GetHeaders() *HeadersOrReferences
func (*Components) GetLinks ¶
func (m *Components) GetLinks() *LinksOrReferences
func (*Components) GetParameters ¶
func (m *Components) GetParameters() *ParametersOrReferences
func (*Components) GetRequestBodies ¶
func (m *Components) GetRequestBodies() *RequestBodiesOrReferences
func (*Components) GetResponses ¶
func (m *Components) GetResponses() *ResponsesOrReferences
func (*Components) GetSchemas ¶
func (m *Components) GetSchemas() *SchemasOrReferences
func (*Components) GetSecuritySchemes ¶
func (m *Components) GetSecuritySchemes() *SecuritySchemesOrReferences
func (*Components) GetSpecificationExtension ¶
func (m *Components) GetSpecificationExtension() []*NamedAny
func (*Components) ProtoMessage ¶
func (*Components) ProtoMessage()
func (*Components) Reset ¶
func (m *Components) Reset()
func (*Components) ResolveReferences ¶
func (m *Components) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside Components objects.
func (*Components) String ¶
func (m *Components) String() string
func (*Components) ToRawInfo ¶
func (m *Components) ToRawInfo() interface{}
ToRawInfo returns a description of Components suitable for JSON or YAML export.
type Contact ¶
type Contact struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` Email string `protobuf:"bytes,3,opt,name=email" json:"email,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,4,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
Contact information for the exposed API.
func NewContact ¶
NewContact creates an object of type Contact if possible, returning an error if not.
func (*Contact) Descriptor ¶
func (*Contact) GetEmail ¶
func (*Contact) GetName ¶
func (*Contact) GetSpecificationExtension ¶
func (*Contact) GetUrl ¶
func (*Contact) ProtoMessage ¶
func (*Contact) ProtoMessage()
func (*Contact) Reset ¶
func (m *Contact) Reset()
func (*Contact) ResolveReferences ¶
ResolveReferences resolves references found inside Contact objects.
func (*Contact) String ¶
func (*Contact) ToRawInfo ¶
func (m *Contact) ToRawInfo() interface{}
ToRawInfo returns a description of Contact suitable for JSON or YAML export.
type DefaultType ¶
type DefaultType struct { // Types that are valid to be assigned to Oneof: // *DefaultType_Number // *DefaultType_Boolean // *DefaultType_String_ Oneof isDefaultType_Oneof `protobuf_oneof:"oneof"` }
func NewDefaultType ¶
func NewDefaultType(in interface{}, context *compiler.Context) (*DefaultType, error)
NewDefaultType creates an object of type DefaultType if possible, returning an error if not.
func (*DefaultType) Descriptor ¶
func (*DefaultType) Descriptor() ([]byte, []int)
func (*DefaultType) GetBoolean ¶
func (m *DefaultType) GetBoolean() bool
func (*DefaultType) GetNumber ¶
func (m *DefaultType) GetNumber() float64
func (*DefaultType) GetOneof ¶
func (m *DefaultType) GetOneof() isDefaultType_Oneof
func (*DefaultType) GetString_ ¶
func (m *DefaultType) GetString_() string
func (*DefaultType) ProtoMessage ¶
func (*DefaultType) ProtoMessage()
func (*DefaultType) Reset ¶
func (m *DefaultType) Reset()
func (*DefaultType) ResolveReferences ¶
func (m *DefaultType) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside DefaultType objects.
func (*DefaultType) String ¶
func (m *DefaultType) String() string
func (*DefaultType) ToRawInfo ¶
func (m *DefaultType) ToRawInfo() interface{}
ToRawInfo returns a description of DefaultType suitable for JSON or YAML export.
func (*DefaultType) XXX_OneofFuncs ¶
func (*DefaultType) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type DefaultType_Boolean ¶
type DefaultType_Boolean struct { Boolean bool `protobuf:"varint,2,opt,name=boolean,oneof"` }
type DefaultType_Number ¶
type DefaultType_Number struct { Number float64 `protobuf:"fixed64,1,opt,name=number,oneof"` }
type DefaultType_String_ ¶
type DefaultType_String_ struct { String_ string `protobuf:"bytes,3,opt,name=string,oneof"` }
type Discriminator ¶
type Discriminator struct { PropertyName string `protobuf:"bytes,1,opt,name=property_name,json=propertyName" json:"property_name,omitempty"` Mapping *Strings `protobuf:"bytes,2,opt,name=mapping" json:"mapping,omitempty"` }
When request bodies or response payloads may be one of a number of different schemas, a `discriminator` object can be used to aid in serialization, deserialization, and validation. The discriminator is a specific object in a schema which is used to inform the consumer of the specification of an alternative schema based on the value associated with it. When using the discriminator, _inline_ schemas will not be considered.
func NewDiscriminator ¶
func NewDiscriminator(in interface{}, context *compiler.Context) (*Discriminator, error)
NewDiscriminator creates an object of type Discriminator if possible, returning an error if not.
func (*Discriminator) Descriptor ¶
func (*Discriminator) Descriptor() ([]byte, []int)
func (*Discriminator) GetMapping ¶
func (m *Discriminator) GetMapping() *Strings
func (*Discriminator) GetPropertyName ¶
func (m *Discriminator) GetPropertyName() string
func (*Discriminator) ProtoMessage ¶
func (*Discriminator) ProtoMessage()
func (*Discriminator) Reset ¶
func (m *Discriminator) Reset()
func (*Discriminator) ResolveReferences ¶
func (m *Discriminator) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside Discriminator objects.
func (*Discriminator) String ¶
func (m *Discriminator) String() string
func (*Discriminator) ToRawInfo ¶
func (m *Discriminator) ToRawInfo() interface{}
ToRawInfo returns a description of Discriminator suitable for JSON or YAML export.
type Document ¶
type Document struct { Openapi string `protobuf:"bytes,1,opt,name=openapi" json:"openapi,omitempty"` Info *Info `protobuf:"bytes,2,opt,name=info" json:"info,omitempty"` Servers []*Server `protobuf:"bytes,3,rep,name=servers" json:"servers,omitempty"` Paths *Paths `protobuf:"bytes,4,opt,name=paths" json:"paths,omitempty"` Components *Components `protobuf:"bytes,5,opt,name=components" json:"components,omitempty"` Security []*SecurityRequirement `protobuf:"bytes,6,rep,name=security" json:"security,omitempty"` Tags []*Tag `protobuf:"bytes,7,rep,name=tags" json:"tags,omitempty"` ExternalDocs *ExternalDocs `protobuf:"bytes,8,opt,name=external_docs,json=externalDocs" json:"external_docs,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,9,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
func NewDocument ¶
NewDocument creates an object of type Document if possible, returning an error if not.
func (*Document) Descriptor ¶
func (*Document) GetComponents ¶
func (m *Document) GetComponents() *Components
func (*Document) GetExternalDocs ¶
func (m *Document) GetExternalDocs() *ExternalDocs
func (*Document) GetInfo ¶
func (*Document) GetOpenapi ¶
func (*Document) GetPaths ¶
func (*Document) GetSecurity ¶
func (m *Document) GetSecurity() []*SecurityRequirement
func (*Document) GetServers ¶
func (*Document) GetSpecificationExtension ¶
func (*Document) GetTags ¶
func (*Document) ProtoMessage ¶
func (*Document) ProtoMessage()
func (*Document) Reset ¶
func (m *Document) Reset()
func (*Document) ResolveReferences ¶
ResolveReferences resolves references found inside Document objects.
func (*Document) String ¶
func (*Document) ToRawInfo ¶
func (m *Document) ToRawInfo() interface{}
ToRawInfo returns a description of Document suitable for JSON or YAML export.
type Encoding ¶
type Encoding struct { ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType" json:"content_type,omitempty"` Headers *HeadersOrReferences `protobuf:"bytes,2,opt,name=headers" json:"headers,omitempty"` Style string `protobuf:"bytes,3,opt,name=style" json:"style,omitempty"` Explode bool `protobuf:"varint,4,opt,name=explode" json:"explode,omitempty"` AllowReserved bool `protobuf:"varint,5,opt,name=allow_reserved,json=allowReserved" json:"allow_reserved,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,6,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
A single encoding definition applied to a single schema property.
func NewEncoding ¶
NewEncoding creates an object of type Encoding if possible, returning an error if not.
func (*Encoding) Descriptor ¶
func (*Encoding) GetAllowReserved ¶
func (*Encoding) GetContentType ¶
func (*Encoding) GetExplode ¶
func (*Encoding) GetHeaders ¶
func (m *Encoding) GetHeaders() *HeadersOrReferences
func (*Encoding) GetSpecificationExtension ¶
func (*Encoding) GetStyle ¶
func (*Encoding) ProtoMessage ¶
func (*Encoding) ProtoMessage()
func (*Encoding) Reset ¶
func (m *Encoding) Reset()
func (*Encoding) ResolveReferences ¶
ResolveReferences resolves references found inside Encoding objects.
func (*Encoding) String ¶
func (*Encoding) ToRawInfo ¶
func (m *Encoding) ToRawInfo() interface{}
ToRawInfo returns a description of Encoding suitable for JSON or YAML export.
type Encodings ¶
type Encodings struct { AdditionalProperties []*NamedEncoding `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"` }
func NewEncodings ¶
NewEncodings creates an object of type Encodings if possible, returning an error if not.
func (*Encodings) Descriptor ¶
func (*Encodings) GetAdditionalProperties ¶
func (m *Encodings) GetAdditionalProperties() []*NamedEncoding
func (*Encodings) ProtoMessage ¶
func (*Encodings) ProtoMessage()
func (*Encodings) Reset ¶
func (m *Encodings) Reset()
func (*Encodings) ResolveReferences ¶
ResolveReferences resolves references found inside Encodings objects.
func (*Encodings) String ¶
func (*Encodings) ToRawInfo ¶
func (m *Encodings) ToRawInfo() interface{}
ToRawInfo returns a description of Encodings suitable for JSON or YAML export.
type Example ¶
type Example struct { Summary string `protobuf:"bytes,1,opt,name=summary" json:"summary,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` Value *Any `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"` ExternalValue string `protobuf:"bytes,4,opt,name=external_value,json=externalValue" json:"external_value,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,5,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
func NewExample ¶
NewExample creates an object of type Example if possible, returning an error if not.
func (*Example) Descriptor ¶
func (*Example) GetDescription ¶
func (*Example) GetExternalValue ¶
func (*Example) GetSpecificationExtension ¶
func (*Example) GetSummary ¶
func (*Example) GetValue ¶
func (*Example) ProtoMessage ¶
func (*Example) ProtoMessage()
func (*Example) Reset ¶
func (m *Example) Reset()
func (*Example) ResolveReferences ¶
ResolveReferences resolves references found inside Example objects.
func (*Example) String ¶
func (*Example) ToRawInfo ¶
func (m *Example) ToRawInfo() interface{}
ToRawInfo returns a description of Example suitable for JSON or YAML export.
type ExampleOrReference ¶
type ExampleOrReference struct { // Types that are valid to be assigned to Oneof: // *ExampleOrReference_Example // *ExampleOrReference_Reference Oneof isExampleOrReference_Oneof `protobuf_oneof:"oneof"` }
func NewExampleOrReference ¶
func NewExampleOrReference(in interface{}, context *compiler.Context) (*ExampleOrReference, error)
NewExampleOrReference creates an object of type ExampleOrReference if possible, returning an error if not.
func (*ExampleOrReference) Descriptor ¶
func (*ExampleOrReference) Descriptor() ([]byte, []int)
func (*ExampleOrReference) GetExample ¶
func (m *ExampleOrReference) GetExample() *Example
func (*ExampleOrReference) GetOneof ¶
func (m *ExampleOrReference) GetOneof() isExampleOrReference_Oneof
func (*ExampleOrReference) GetReference ¶
func (m *ExampleOrReference) GetReference() *Reference
func (*ExampleOrReference) ProtoMessage ¶
func (*ExampleOrReference) ProtoMessage()
func (*ExampleOrReference) Reset ¶
func (m *ExampleOrReference) Reset()
func (*ExampleOrReference) ResolveReferences ¶
func (m *ExampleOrReference) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside ExampleOrReference objects.
func (*ExampleOrReference) String ¶
func (m *ExampleOrReference) String() string
func (*ExampleOrReference) ToRawInfo ¶
func (m *ExampleOrReference) ToRawInfo() interface{}
ToRawInfo returns a description of ExampleOrReference suitable for JSON or YAML export.
func (*ExampleOrReference) XXX_OneofFuncs ¶
func (*ExampleOrReference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type ExampleOrReference_Example ¶
type ExampleOrReference_Example struct { Example *Example `protobuf:"bytes,1,opt,name=example,oneof"` }
type ExampleOrReference_Reference ¶
type ExampleOrReference_Reference struct { Reference *Reference `protobuf:"bytes,2,opt,name=reference,oneof"` }
type ExamplesOrReferences ¶
type ExamplesOrReferences struct { AdditionalProperties []*NamedExampleOrReference `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"` }
func NewExamplesOrReferences ¶
func NewExamplesOrReferences(in interface{}, context *compiler.Context) (*ExamplesOrReferences, error)
NewExamplesOrReferences creates an object of type ExamplesOrReferences if possible, returning an error if not.
func (*ExamplesOrReferences) Descriptor ¶
func (*ExamplesOrReferences) Descriptor() ([]byte, []int)
func (*ExamplesOrReferences) GetAdditionalProperties ¶
func (m *ExamplesOrReferences) GetAdditionalProperties() []*NamedExampleOrReference
func (*ExamplesOrReferences) ProtoMessage ¶
func (*ExamplesOrReferences) ProtoMessage()
func (*ExamplesOrReferences) Reset ¶
func (m *ExamplesOrReferences) Reset()
func (*ExamplesOrReferences) ResolveReferences ¶
func (m *ExamplesOrReferences) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside ExamplesOrReferences objects.
func (*ExamplesOrReferences) String ¶
func (m *ExamplesOrReferences) String() string
func (*ExamplesOrReferences) ToRawInfo ¶
func (m *ExamplesOrReferences) ToRawInfo() interface{}
ToRawInfo returns a description of ExamplesOrReferences suitable for JSON or YAML export.
type Expression ¶
type Expression struct { AdditionalProperties []*NamedAny `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"` }
func NewExpression ¶
func NewExpression(in interface{}, context *compiler.Context) (*Expression, error)
NewExpression creates an object of type Expression if possible, returning an error if not.
func (*Expression) Descriptor ¶
func (*Expression) Descriptor() ([]byte, []int)
func (*Expression) GetAdditionalProperties ¶
func (m *Expression) GetAdditionalProperties() []*NamedAny
func (*Expression) ProtoMessage ¶
func (*Expression) ProtoMessage()
func (*Expression) Reset ¶
func (m *Expression) Reset()
func (*Expression) ResolveReferences ¶
func (m *Expression) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside Expression objects.
func (*Expression) String ¶
func (m *Expression) String() string
func (*Expression) ToRawInfo ¶
func (m *Expression) ToRawInfo() interface{}
ToRawInfo returns a description of Expression suitable for JSON or YAML export.
type ExternalDocs ¶
type ExternalDocs struct { Description string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"` Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,3,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
Allows referencing an external resource for extended documentation.
func NewExternalDocs ¶
func NewExternalDocs(in interface{}, context *compiler.Context) (*ExternalDocs, error)
NewExternalDocs creates an object of type ExternalDocs if possible, returning an error if not.
func (*ExternalDocs) Descriptor ¶
func (*ExternalDocs) Descriptor() ([]byte, []int)
func (*ExternalDocs) GetDescription ¶
func (m *ExternalDocs) GetDescription() string
func (*ExternalDocs) GetSpecificationExtension ¶
func (m *ExternalDocs) GetSpecificationExtension() []*NamedAny
func (*ExternalDocs) GetUrl ¶
func (m *ExternalDocs) GetUrl() string
func (*ExternalDocs) ProtoMessage ¶
func (*ExternalDocs) ProtoMessage()
func (*ExternalDocs) Reset ¶
func (m *ExternalDocs) Reset()
func (*ExternalDocs) ResolveReferences ¶
func (m *ExternalDocs) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside ExternalDocs objects.
func (*ExternalDocs) String ¶
func (m *ExternalDocs) String() string
func (*ExternalDocs) ToRawInfo ¶
func (m *ExternalDocs) ToRawInfo() interface{}
ToRawInfo returns a description of ExternalDocs suitable for JSON or YAML export.
type Header ¶
type Header struct { Description string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"` Required bool `protobuf:"varint,2,opt,name=required" json:"required,omitempty"` Deprecated bool `protobuf:"varint,3,opt,name=deprecated" json:"deprecated,omitempty"` AllowEmptyValue bool `protobuf:"varint,4,opt,name=allow_empty_value,json=allowEmptyValue" json:"allow_empty_value,omitempty"` Style string `protobuf:"bytes,5,opt,name=style" json:"style,omitempty"` Explode bool `protobuf:"varint,6,opt,name=explode" json:"explode,omitempty"` AllowReserved bool `protobuf:"varint,7,opt,name=allow_reserved,json=allowReserved" json:"allow_reserved,omitempty"` Schema *SchemaOrReference `protobuf:"bytes,8,opt,name=schema" json:"schema,omitempty"` Example *Any `protobuf:"bytes,9,opt,name=example" json:"example,omitempty"` Examples *ExamplesOrReferences `protobuf:"bytes,10,opt,name=examples" json:"examples,omitempty"` Content *MediaTypes `protobuf:"bytes,11,opt,name=content" json:"content,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,12,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
The Header Object follows the structure of the Parameter Object with the following changes: 1. `name` MUST NOT be specified, it is given in the corresponding `headers` map. 1. `in` MUST NOT be specified, it is implicitly in `header`. 1. All traits that are affected by the location MUST be applicable to a location of `header` (for example, `style`).
func NewHeader ¶
NewHeader creates an object of type Header if possible, returning an error if not.
func (*Header) Descriptor ¶
func (*Header) GetAllowEmptyValue ¶
func (*Header) GetAllowReserved ¶
func (*Header) GetContent ¶
func (m *Header) GetContent() *MediaTypes
func (*Header) GetDeprecated ¶
func (*Header) GetDescription ¶
func (*Header) GetExample ¶
func (*Header) GetExamples ¶
func (m *Header) GetExamples() *ExamplesOrReferences
func (*Header) GetExplode ¶
func (*Header) GetRequired ¶
func (*Header) GetSchema ¶
func (m *Header) GetSchema() *SchemaOrReference
func (*Header) GetSpecificationExtension ¶
func (*Header) GetStyle ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) Reset ¶
func (m *Header) Reset()
func (*Header) ResolveReferences ¶
ResolveReferences resolves references found inside Header objects.
func (*Header) String ¶
func (*Header) ToRawInfo ¶
func (m *Header) ToRawInfo() interface{}
ToRawInfo returns a description of Header suitable for JSON or YAML export.
type HeaderOrReference ¶
type HeaderOrReference struct { // Types that are valid to be assigned to Oneof: // *HeaderOrReference_Header // *HeaderOrReference_Reference Oneof isHeaderOrReference_Oneof `protobuf_oneof:"oneof"` }
func NewHeaderOrReference ¶
func NewHeaderOrReference(in interface{}, context *compiler.Context) (*HeaderOrReference, error)
NewHeaderOrReference creates an object of type HeaderOrReference if possible, returning an error if not.
func (*HeaderOrReference) Descriptor ¶
func (*HeaderOrReference) Descriptor() ([]byte, []int)
func (*HeaderOrReference) GetHeader ¶
func (m *HeaderOrReference) GetHeader() *Header
func (*HeaderOrReference) GetOneof ¶
func (m *HeaderOrReference) GetOneof() isHeaderOrReference_Oneof
func (*HeaderOrReference) GetReference ¶
func (m *HeaderOrReference) GetReference() *Reference
func (*HeaderOrReference) ProtoMessage ¶
func (*HeaderOrReference) ProtoMessage()
func (*HeaderOrReference) Reset ¶
func (m *HeaderOrReference) Reset()
func (*HeaderOrReference) ResolveReferences ¶
func (m *HeaderOrReference) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside HeaderOrReference objects.
func (*HeaderOrReference) String ¶
func (m *HeaderOrReference) String() string
func (*HeaderOrReference) ToRawInfo ¶
func (m *HeaderOrReference) ToRawInfo() interface{}
ToRawInfo returns a description of HeaderOrReference suitable for JSON or YAML export.
func (*HeaderOrReference) XXX_OneofFuncs ¶
func (*HeaderOrReference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type HeaderOrReference_Header ¶
type HeaderOrReference_Header struct { Header *Header `protobuf:"bytes,1,opt,name=header,oneof"` }
type HeaderOrReference_Reference ¶
type HeaderOrReference_Reference struct { Reference *Reference `protobuf:"bytes,2,opt,name=reference,oneof"` }
type HeadersOrReferences ¶
type HeadersOrReferences struct { AdditionalProperties []*NamedHeaderOrReference `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"` }
func NewHeadersOrReferences ¶
func NewHeadersOrReferences(in interface{}, context *compiler.Context) (*HeadersOrReferences, error)
NewHeadersOrReferences creates an object of type HeadersOrReferences if possible, returning an error if not.
func (*HeadersOrReferences) Descriptor ¶
func (*HeadersOrReferences) Descriptor() ([]byte, []int)
func (*HeadersOrReferences) GetAdditionalProperties ¶
func (m *HeadersOrReferences) GetAdditionalProperties() []*NamedHeaderOrReference
func (*HeadersOrReferences) ProtoMessage ¶
func (*HeadersOrReferences) ProtoMessage()
func (*HeadersOrReferences) Reset ¶
func (m *HeadersOrReferences) Reset()
func (*HeadersOrReferences) ResolveReferences ¶
func (m *HeadersOrReferences) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside HeadersOrReferences objects.
func (*HeadersOrReferences) String ¶
func (m *HeadersOrReferences) String() string
func (*HeadersOrReferences) ToRawInfo ¶
func (m *HeadersOrReferences) ToRawInfo() interface{}
ToRawInfo returns a description of HeadersOrReferences suitable for JSON or YAML export.
type Info ¶
type Info struct { Title string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` TermsOfService string `protobuf:"bytes,3,opt,name=terms_of_service,json=termsOfService" json:"terms_of_service,omitempty"` Contact *Contact `protobuf:"bytes,4,opt,name=contact" json:"contact,omitempty"` License *License `protobuf:"bytes,5,opt,name=license" json:"license,omitempty"` Version string `protobuf:"bytes,6,opt,name=version" json:"version,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,7,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
The object provides metadata about the API. The metadata MAY be used by the clients if needed, and MAY be presented in editing or documentation generation tools for convenience.
func NewInfo ¶
NewInfo creates an object of type Info if possible, returning an error if not.
func (*Info) Descriptor ¶
func (*Info) GetContact ¶
func (*Info) GetDescription ¶
func (*Info) GetLicense ¶
func (*Info) GetSpecificationExtension ¶
func (*Info) GetTermsOfService ¶
func (*Info) GetTitle ¶
func (*Info) GetVersion ¶
func (*Info) ProtoMessage ¶
func (*Info) ProtoMessage()
func (*Info) Reset ¶
func (m *Info) Reset()
func (*Info) ResolveReferences ¶
ResolveReferences resolves references found inside Info objects.
func (*Info) String ¶
func (*Info) ToRawInfo ¶
func (m *Info) ToRawInfo() interface{}
ToRawInfo returns a description of Info suitable for JSON or YAML export.
type ItemsItem ¶
type ItemsItem struct { SchemaOrReference []*SchemaOrReference `protobuf:"bytes,1,rep,name=schema_or_reference,json=schemaOrReference" json:"schema_or_reference,omitempty"` }
func NewItemsItem ¶
NewItemsItem creates an object of type ItemsItem if possible, returning an error if not.
func (*ItemsItem) Descriptor ¶
func (*ItemsItem) GetSchemaOrReference ¶
func (m *ItemsItem) GetSchemaOrReference() []*SchemaOrReference
func (*ItemsItem) ProtoMessage ¶
func (*ItemsItem) ProtoMessage()
func (*ItemsItem) Reset ¶
func (m *ItemsItem) Reset()
func (*ItemsItem) ResolveReferences ¶
ResolveReferences resolves references found inside ItemsItem objects.
func (*ItemsItem) String ¶
func (*ItemsItem) ToRawInfo ¶
func (m *ItemsItem) ToRawInfo() interface{}
ToRawInfo returns a description of ItemsItem suitable for JSON or YAML export.
type License ¶
type License struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,3,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
License information for the exposed API.
func NewLicense ¶
NewLicense creates an object of type License if possible, returning an error if not.
func (*License) Descriptor ¶
func (*License) GetName ¶
func (*License) GetSpecificationExtension ¶
func (*License) GetUrl ¶
func (*License) ProtoMessage ¶
func (*License) ProtoMessage()
func (*License) Reset ¶
func (m *License) Reset()
func (*License) ResolveReferences ¶
ResolveReferences resolves references found inside License objects.
func (*License) String ¶
func (*License) ToRawInfo ¶
func (m *License) ToRawInfo() interface{}
ToRawInfo returns a description of License suitable for JSON or YAML export.
type Link ¶
type Link struct { OperationRef string `protobuf:"bytes,1,opt,name=operation_ref,json=operationRef" json:"operation_ref,omitempty"` OperationId string `protobuf:"bytes,2,opt,name=operation_id,json=operationId" json:"operation_id,omitempty"` Parameters *AnysOrExpressions `protobuf:"bytes,3,opt,name=parameters" json:"parameters,omitempty"` RequestBody *AnyOrExpression `protobuf:"bytes,4,opt,name=request_body,json=requestBody" json:"request_body,omitempty"` Description string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` Server *Server `protobuf:"bytes,6,opt,name=server" json:"server,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,7,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
The `Link object` represents a possible design-time link for a response. The presence of a link does not guarantee the caller's ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between responses and other operations. Unlike _dynamic_ links (i.e. links provided **in** the response payload), the OAS linking mechanism does not require link information in the runtime response. For computing links, and providing instructions to execute them, a runtime expression is used for accessing values in an operation and using them as parameters while invoking the linked operation.
func NewLink ¶
NewLink creates an object of type Link if possible, returning an error if not.
func (*Link) Descriptor ¶
func (*Link) GetDescription ¶
func (*Link) GetOperationId ¶
func (*Link) GetOperationRef ¶
func (*Link) GetParameters ¶
func (m *Link) GetParameters() *AnysOrExpressions
func (*Link) GetRequestBody ¶
func (m *Link) GetRequestBody() *AnyOrExpression
func (*Link) GetServer ¶
func (*Link) GetSpecificationExtension ¶
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) Reset ¶
func (m *Link) Reset()
func (*Link) ResolveReferences ¶
ResolveReferences resolves references found inside Link objects.
func (*Link) String ¶
func (*Link) ToRawInfo ¶
func (m *Link) ToRawInfo() interface{}
ToRawInfo returns a description of Link suitable for JSON or YAML export.
type LinkOrReference ¶
type LinkOrReference struct { // Types that are valid to be assigned to Oneof: // *LinkOrReference_Link // *LinkOrReference_Reference Oneof isLinkOrReference_Oneof `protobuf_oneof:"oneof"` }
func NewLinkOrReference ¶
func NewLinkOrReference(in interface{}, context *compiler.Context) (*LinkOrReference, error)
NewLinkOrReference creates an object of type LinkOrReference if possible, returning an error if not.
func (*LinkOrReference) Descriptor ¶
func (*LinkOrReference) Descriptor() ([]byte, []int)
func (*LinkOrReference) GetLink ¶
func (m *LinkOrReference) GetLink() *Link
func (*LinkOrReference) GetOneof ¶
func (m *LinkOrReference) GetOneof() isLinkOrReference_Oneof
func (*LinkOrReference) GetReference ¶
func (m *LinkOrReference) GetReference() *Reference
func (*LinkOrReference) ProtoMessage ¶
func (*LinkOrReference) ProtoMessage()
func (*LinkOrReference) Reset ¶
func (m *LinkOrReference) Reset()
func (*LinkOrReference) ResolveReferences ¶
func (m *LinkOrReference) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside LinkOrReference objects.
func (*LinkOrReference) String ¶
func (m *LinkOrReference) String() string
func (*LinkOrReference) ToRawInfo ¶
func (m *LinkOrReference) ToRawInfo() interface{}
ToRawInfo returns a description of LinkOrReference suitable for JSON or YAML export.
func (*LinkOrReference) XXX_OneofFuncs ¶
func (*LinkOrReference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type LinkOrReference_Link ¶
type LinkOrReference_Link struct { Link *Link `protobuf:"bytes,1,opt,name=link,oneof"` }
type LinkOrReference_Reference ¶
type LinkOrReference_Reference struct { Reference *Reference `protobuf:"bytes,2,opt,name=reference,oneof"` }
type LinksOrReferences ¶
type LinksOrReferences struct { AdditionalProperties []*NamedLinkOrReference `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"` }
func NewLinksOrReferences ¶
func NewLinksOrReferences(in interface{}, context *compiler.Context) (*LinksOrReferences, error)
NewLinksOrReferences creates an object of type LinksOrReferences if possible, returning an error if not.
func (*LinksOrReferences) Descriptor ¶
func (*LinksOrReferences) Descriptor() ([]byte, []int)
func (*LinksOrReferences) GetAdditionalProperties ¶
func (m *LinksOrReferences) GetAdditionalProperties() []*NamedLinkOrReference
func (*LinksOrReferences) ProtoMessage ¶
func (*LinksOrReferences) ProtoMessage()
func (*LinksOrReferences) Reset ¶
func (m *LinksOrReferences) Reset()
func (*LinksOrReferences) ResolveReferences ¶
func (m *LinksOrReferences) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside LinksOrReferences objects.
func (*LinksOrReferences) String ¶
func (m *LinksOrReferences) String() string
func (*LinksOrReferences) ToRawInfo ¶
func (m *LinksOrReferences) ToRawInfo() interface{}
ToRawInfo returns a description of LinksOrReferences suitable for JSON or YAML export.
type MediaType ¶
type MediaType struct { Schema *SchemaOrReference `protobuf:"bytes,1,opt,name=schema" json:"schema,omitempty"` Example *Any `protobuf:"bytes,2,opt,name=example" json:"example,omitempty"` Examples *ExamplesOrReferences `protobuf:"bytes,3,opt,name=examples" json:"examples,omitempty"` Encoding *Encodings `protobuf:"bytes,4,opt,name=encoding" json:"encoding,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,5,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
Each Media Type Object provides schema and examples for the media type identified by its key.
func NewMediaType ¶
NewMediaType creates an object of type MediaType if possible, returning an error if not.
func (*MediaType) Descriptor ¶
func (*MediaType) GetEncoding ¶
func (*MediaType) GetExample ¶
func (*MediaType) GetExamples ¶
func (m *MediaType) GetExamples() *ExamplesOrReferences
func (*MediaType) GetSchema ¶
func (m *MediaType) GetSchema() *SchemaOrReference
func (*MediaType) GetSpecificationExtension ¶
func (*MediaType) ProtoMessage ¶
func (*MediaType) ProtoMessage()
func (*MediaType) Reset ¶
func (m *MediaType) Reset()
func (*MediaType) ResolveReferences ¶
ResolveReferences resolves references found inside MediaType objects.
func (*MediaType) String ¶
func (*MediaType) ToRawInfo ¶
func (m *MediaType) ToRawInfo() interface{}
ToRawInfo returns a description of MediaType suitable for JSON or YAML export.
type MediaTypes ¶
type MediaTypes struct { AdditionalProperties []*NamedMediaType `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"` }
func NewMediaTypes ¶
func NewMediaTypes(in interface{}, context *compiler.Context) (*MediaTypes, error)
NewMediaTypes creates an object of type MediaTypes if possible, returning an error if not.
func (*MediaTypes) Descriptor ¶
func (*MediaTypes) Descriptor() ([]byte, []int)
func (*MediaTypes) GetAdditionalProperties ¶
func (m *MediaTypes) GetAdditionalProperties() []*NamedMediaType
func (*MediaTypes) ProtoMessage ¶
func (*MediaTypes) ProtoMessage()
func (*MediaTypes) Reset ¶
func (m *MediaTypes) Reset()
func (*MediaTypes) ResolveReferences ¶
func (m *MediaTypes) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside MediaTypes objects.
func (*MediaTypes) String ¶
func (m *MediaTypes) String() string
func (*MediaTypes) ToRawInfo ¶
func (m *MediaTypes) ToRawInfo() interface{}
ToRawInfo returns a description of MediaTypes suitable for JSON or YAML export.
type NamedAny ¶
type NamedAny struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *Any `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of Any as ordered (name,value) pairs.
func NewNamedAny ¶
NewNamedAny creates an object of type NamedAny if possible, returning an error if not.
func (*NamedAny) Descriptor ¶
func (*NamedAny) GetName ¶
func (*NamedAny) GetValue ¶
func (*NamedAny) ProtoMessage ¶
func (*NamedAny) ProtoMessage()
func (*NamedAny) Reset ¶
func (m *NamedAny) Reset()
func (*NamedAny) ResolveReferences ¶
ResolveReferences resolves references found inside NamedAny objects.
func (*NamedAny) String ¶
func (*NamedAny) ToRawInfo ¶
func (m *NamedAny) ToRawInfo() interface{}
ToRawInfo returns a description of NamedAny suitable for JSON or YAML export.
type NamedAnyOrExpression ¶
type NamedAnyOrExpression struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *AnyOrExpression `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of AnyOrExpression as ordered (name,value) pairs.
func NewNamedAnyOrExpression ¶
func NewNamedAnyOrExpression(in interface{}, context *compiler.Context) (*NamedAnyOrExpression, error)
NewNamedAnyOrExpression creates an object of type NamedAnyOrExpression if possible, returning an error if not.
func (*NamedAnyOrExpression) Descriptor ¶
func (*NamedAnyOrExpression) Descriptor() ([]byte, []int)
func (*NamedAnyOrExpression) GetName ¶
func (m *NamedAnyOrExpression) GetName() string
func (*NamedAnyOrExpression) GetValue ¶
func (m *NamedAnyOrExpression) GetValue() *AnyOrExpression
func (*NamedAnyOrExpression) ProtoMessage ¶
func (*NamedAnyOrExpression) ProtoMessage()
func (*NamedAnyOrExpression) Reset ¶
func (m *NamedAnyOrExpression) Reset()
func (*NamedAnyOrExpression) ResolveReferences ¶
func (m *NamedAnyOrExpression) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedAnyOrExpression objects.
func (*NamedAnyOrExpression) String ¶
func (m *NamedAnyOrExpression) String() string
func (*NamedAnyOrExpression) ToRawInfo ¶
func (m *NamedAnyOrExpression) ToRawInfo() interface{}
ToRawInfo returns a description of NamedAnyOrExpression suitable for JSON or YAML export.
type NamedCallbackOrReference ¶
type NamedCallbackOrReference struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *CallbackOrReference `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of CallbackOrReference as ordered (name,value) pairs.
func NewNamedCallbackOrReference ¶
func NewNamedCallbackOrReference(in interface{}, context *compiler.Context) (*NamedCallbackOrReference, error)
NewNamedCallbackOrReference creates an object of type NamedCallbackOrReference if possible, returning an error if not.
func (*NamedCallbackOrReference) Descriptor ¶
func (*NamedCallbackOrReference) Descriptor() ([]byte, []int)
func (*NamedCallbackOrReference) GetName ¶
func (m *NamedCallbackOrReference) GetName() string
func (*NamedCallbackOrReference) GetValue ¶
func (m *NamedCallbackOrReference) GetValue() *CallbackOrReference
func (*NamedCallbackOrReference) ProtoMessage ¶
func (*NamedCallbackOrReference) ProtoMessage()
func (*NamedCallbackOrReference) Reset ¶
func (m *NamedCallbackOrReference) Reset()
func (*NamedCallbackOrReference) ResolveReferences ¶
func (m *NamedCallbackOrReference) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedCallbackOrReference objects.
func (*NamedCallbackOrReference) String ¶
func (m *NamedCallbackOrReference) String() string
func (*NamedCallbackOrReference) ToRawInfo ¶
func (m *NamedCallbackOrReference) ToRawInfo() interface{}
ToRawInfo returns a description of NamedCallbackOrReference suitable for JSON or YAML export.
type NamedEncoding ¶
type NamedEncoding struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *Encoding `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of Encoding as ordered (name,value) pairs.
func NewNamedEncoding ¶
func NewNamedEncoding(in interface{}, context *compiler.Context) (*NamedEncoding, error)
NewNamedEncoding creates an object of type NamedEncoding if possible, returning an error if not.
func (*NamedEncoding) Descriptor ¶
func (*NamedEncoding) Descriptor() ([]byte, []int)
func (*NamedEncoding) GetName ¶
func (m *NamedEncoding) GetName() string
func (*NamedEncoding) GetValue ¶
func (m *NamedEncoding) GetValue() *Encoding
func (*NamedEncoding) ProtoMessage ¶
func (*NamedEncoding) ProtoMessage()
func (*NamedEncoding) Reset ¶
func (m *NamedEncoding) Reset()
func (*NamedEncoding) ResolveReferences ¶
func (m *NamedEncoding) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedEncoding objects.
func (*NamedEncoding) String ¶
func (m *NamedEncoding) String() string
func (*NamedEncoding) ToRawInfo ¶
func (m *NamedEncoding) ToRawInfo() interface{}
ToRawInfo returns a description of NamedEncoding suitable for JSON or YAML export.
type NamedExampleOrReference ¶
type NamedExampleOrReference struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *ExampleOrReference `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of ExampleOrReference as ordered (name,value) pairs.
func NewNamedExampleOrReference ¶
func NewNamedExampleOrReference(in interface{}, context *compiler.Context) (*NamedExampleOrReference, error)
NewNamedExampleOrReference creates an object of type NamedExampleOrReference if possible, returning an error if not.
func (*NamedExampleOrReference) Descriptor ¶
func (*NamedExampleOrReference) Descriptor() ([]byte, []int)
func (*NamedExampleOrReference) GetName ¶
func (m *NamedExampleOrReference) GetName() string
func (*NamedExampleOrReference) GetValue ¶
func (m *NamedExampleOrReference) GetValue() *ExampleOrReference
func (*NamedExampleOrReference) ProtoMessage ¶
func (*NamedExampleOrReference) ProtoMessage()
func (*NamedExampleOrReference) Reset ¶
func (m *NamedExampleOrReference) Reset()
func (*NamedExampleOrReference) ResolveReferences ¶
func (m *NamedExampleOrReference) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedExampleOrReference objects.
func (*NamedExampleOrReference) String ¶
func (m *NamedExampleOrReference) String() string
func (*NamedExampleOrReference) ToRawInfo ¶
func (m *NamedExampleOrReference) ToRawInfo() interface{}
ToRawInfo returns a description of NamedExampleOrReference suitable for JSON or YAML export.
type NamedHeaderOrReference ¶
type NamedHeaderOrReference struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *HeaderOrReference `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of HeaderOrReference as ordered (name,value) pairs.
func NewNamedHeaderOrReference ¶
func NewNamedHeaderOrReference(in interface{}, context *compiler.Context) (*NamedHeaderOrReference, error)
NewNamedHeaderOrReference creates an object of type NamedHeaderOrReference if possible, returning an error if not.
func (*NamedHeaderOrReference) Descriptor ¶
func (*NamedHeaderOrReference) Descriptor() ([]byte, []int)
func (*NamedHeaderOrReference) GetName ¶
func (m *NamedHeaderOrReference) GetName() string
func (*NamedHeaderOrReference) GetValue ¶
func (m *NamedHeaderOrReference) GetValue() *HeaderOrReference
func (*NamedHeaderOrReference) ProtoMessage ¶
func (*NamedHeaderOrReference) ProtoMessage()
func (*NamedHeaderOrReference) Reset ¶
func (m *NamedHeaderOrReference) Reset()
func (*NamedHeaderOrReference) ResolveReferences ¶
func (m *NamedHeaderOrReference) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedHeaderOrReference objects.
func (*NamedHeaderOrReference) String ¶
func (m *NamedHeaderOrReference) String() string
func (*NamedHeaderOrReference) ToRawInfo ¶
func (m *NamedHeaderOrReference) ToRawInfo() interface{}
ToRawInfo returns a description of NamedHeaderOrReference suitable for JSON or YAML export.
type NamedLinkOrReference ¶
type NamedLinkOrReference struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *LinkOrReference `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of LinkOrReference as ordered (name,value) pairs.
func NewNamedLinkOrReference ¶
func NewNamedLinkOrReference(in interface{}, context *compiler.Context) (*NamedLinkOrReference, error)
NewNamedLinkOrReference creates an object of type NamedLinkOrReference if possible, returning an error if not.
func (*NamedLinkOrReference) Descriptor ¶
func (*NamedLinkOrReference) Descriptor() ([]byte, []int)
func (*NamedLinkOrReference) GetName ¶
func (m *NamedLinkOrReference) GetName() string
func (*NamedLinkOrReference) GetValue ¶
func (m *NamedLinkOrReference) GetValue() *LinkOrReference
func (*NamedLinkOrReference) ProtoMessage ¶
func (*NamedLinkOrReference) ProtoMessage()
func (*NamedLinkOrReference) Reset ¶
func (m *NamedLinkOrReference) Reset()
func (*NamedLinkOrReference) ResolveReferences ¶
func (m *NamedLinkOrReference) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedLinkOrReference objects.
func (*NamedLinkOrReference) String ¶
func (m *NamedLinkOrReference) String() string
func (*NamedLinkOrReference) ToRawInfo ¶
func (m *NamedLinkOrReference) ToRawInfo() interface{}
ToRawInfo returns a description of NamedLinkOrReference suitable for JSON or YAML export.
type NamedMediaType ¶
type NamedMediaType struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *MediaType `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of MediaType as ordered (name,value) pairs.
func NewNamedMediaType ¶
func NewNamedMediaType(in interface{}, context *compiler.Context) (*NamedMediaType, error)
NewNamedMediaType creates an object of type NamedMediaType if possible, returning an error if not.
func (*NamedMediaType) Descriptor ¶
func (*NamedMediaType) Descriptor() ([]byte, []int)
func (*NamedMediaType) GetName ¶
func (m *NamedMediaType) GetName() string
func (*NamedMediaType) GetValue ¶
func (m *NamedMediaType) GetValue() *MediaType
func (*NamedMediaType) ProtoMessage ¶
func (*NamedMediaType) ProtoMessage()
func (*NamedMediaType) Reset ¶
func (m *NamedMediaType) Reset()
func (*NamedMediaType) ResolveReferences ¶
func (m *NamedMediaType) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedMediaType objects.
func (*NamedMediaType) String ¶
func (m *NamedMediaType) String() string
func (*NamedMediaType) ToRawInfo ¶
func (m *NamedMediaType) ToRawInfo() interface{}
ToRawInfo returns a description of NamedMediaType suitable for JSON or YAML export.
type NamedParameterOrReference ¶
type NamedParameterOrReference struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *ParameterOrReference `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of ParameterOrReference as ordered (name,value) pairs.
func NewNamedParameterOrReference ¶
func NewNamedParameterOrReference(in interface{}, context *compiler.Context) (*NamedParameterOrReference, error)
NewNamedParameterOrReference creates an object of type NamedParameterOrReference if possible, returning an error if not.
func (*NamedParameterOrReference) Descriptor ¶
func (*NamedParameterOrReference) Descriptor() ([]byte, []int)
func (*NamedParameterOrReference) GetName ¶
func (m *NamedParameterOrReference) GetName() string
func (*NamedParameterOrReference) GetValue ¶
func (m *NamedParameterOrReference) GetValue() *ParameterOrReference
func (*NamedParameterOrReference) ProtoMessage ¶
func (*NamedParameterOrReference) ProtoMessage()
func (*NamedParameterOrReference) Reset ¶
func (m *NamedParameterOrReference) Reset()
func (*NamedParameterOrReference) ResolveReferences ¶
func (m *NamedParameterOrReference) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedParameterOrReference objects.
func (*NamedParameterOrReference) String ¶
func (m *NamedParameterOrReference) String() string
func (*NamedParameterOrReference) ToRawInfo ¶
func (m *NamedParameterOrReference) ToRawInfo() interface{}
ToRawInfo returns a description of NamedParameterOrReference suitable for JSON or YAML export.
type NamedPathItem ¶
type NamedPathItem struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *PathItem `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of PathItem as ordered (name,value) pairs.
func NewNamedPathItem ¶
func NewNamedPathItem(in interface{}, context *compiler.Context) (*NamedPathItem, error)
NewNamedPathItem creates an object of type NamedPathItem if possible, returning an error if not.
func (*NamedPathItem) Descriptor ¶
func (*NamedPathItem) Descriptor() ([]byte, []int)
func (*NamedPathItem) GetName ¶
func (m *NamedPathItem) GetName() string
func (*NamedPathItem) GetValue ¶
func (m *NamedPathItem) GetValue() *PathItem
func (*NamedPathItem) ProtoMessage ¶
func (*NamedPathItem) ProtoMessage()
func (*NamedPathItem) Reset ¶
func (m *NamedPathItem) Reset()
func (*NamedPathItem) ResolveReferences ¶
func (m *NamedPathItem) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedPathItem objects.
func (*NamedPathItem) String ¶
func (m *NamedPathItem) String() string
func (*NamedPathItem) ToRawInfo ¶
func (m *NamedPathItem) ToRawInfo() interface{}
ToRawInfo returns a description of NamedPathItem suitable for JSON or YAML export.
type NamedRequestBodyOrReference ¶
type NamedRequestBodyOrReference struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *RequestBodyOrReference `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of RequestBodyOrReference as ordered (name,value) pairs.
func NewNamedRequestBodyOrReference ¶
func NewNamedRequestBodyOrReference(in interface{}, context *compiler.Context) (*NamedRequestBodyOrReference, error)
NewNamedRequestBodyOrReference creates an object of type NamedRequestBodyOrReference if possible, returning an error if not.
func (*NamedRequestBodyOrReference) Descriptor ¶
func (*NamedRequestBodyOrReference) Descriptor() ([]byte, []int)
func (*NamedRequestBodyOrReference) GetName ¶
func (m *NamedRequestBodyOrReference) GetName() string
func (*NamedRequestBodyOrReference) GetValue ¶
func (m *NamedRequestBodyOrReference) GetValue() *RequestBodyOrReference
func (*NamedRequestBodyOrReference) ProtoMessage ¶
func (*NamedRequestBodyOrReference) ProtoMessage()
func (*NamedRequestBodyOrReference) Reset ¶
func (m *NamedRequestBodyOrReference) Reset()
func (*NamedRequestBodyOrReference) ResolveReferences ¶
func (m *NamedRequestBodyOrReference) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedRequestBodyOrReference objects.
func (*NamedRequestBodyOrReference) String ¶
func (m *NamedRequestBodyOrReference) String() string
func (*NamedRequestBodyOrReference) ToRawInfo ¶
func (m *NamedRequestBodyOrReference) ToRawInfo() interface{}
ToRawInfo returns a description of NamedRequestBodyOrReference suitable for JSON or YAML export.
type NamedResponseOrReference ¶
type NamedResponseOrReference struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *ResponseOrReference `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of ResponseOrReference as ordered (name,value) pairs.
func NewNamedResponseOrReference ¶
func NewNamedResponseOrReference(in interface{}, context *compiler.Context) (*NamedResponseOrReference, error)
NewNamedResponseOrReference creates an object of type NamedResponseOrReference if possible, returning an error if not.
func (*NamedResponseOrReference) Descriptor ¶
func (*NamedResponseOrReference) Descriptor() ([]byte, []int)
func (*NamedResponseOrReference) GetName ¶
func (m *NamedResponseOrReference) GetName() string
func (*NamedResponseOrReference) GetValue ¶
func (m *NamedResponseOrReference) GetValue() *ResponseOrReference
func (*NamedResponseOrReference) ProtoMessage ¶
func (*NamedResponseOrReference) ProtoMessage()
func (*NamedResponseOrReference) Reset ¶
func (m *NamedResponseOrReference) Reset()
func (*NamedResponseOrReference) ResolveReferences ¶
func (m *NamedResponseOrReference) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedResponseOrReference objects.
func (*NamedResponseOrReference) String ¶
func (m *NamedResponseOrReference) String() string
func (*NamedResponseOrReference) ToRawInfo ¶
func (m *NamedResponseOrReference) ToRawInfo() interface{}
ToRawInfo returns a description of NamedResponseOrReference suitable for JSON or YAML export.
type NamedSchemaOrReference ¶
type NamedSchemaOrReference struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *SchemaOrReference `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of SchemaOrReference as ordered (name,value) pairs.
func NewNamedSchemaOrReference ¶
func NewNamedSchemaOrReference(in interface{}, context *compiler.Context) (*NamedSchemaOrReference, error)
NewNamedSchemaOrReference creates an object of type NamedSchemaOrReference if possible, returning an error if not.
func (*NamedSchemaOrReference) Descriptor ¶
func (*NamedSchemaOrReference) Descriptor() ([]byte, []int)
func (*NamedSchemaOrReference) GetName ¶
func (m *NamedSchemaOrReference) GetName() string
func (*NamedSchemaOrReference) GetValue ¶
func (m *NamedSchemaOrReference) GetValue() *SchemaOrReference
func (*NamedSchemaOrReference) ProtoMessage ¶
func (*NamedSchemaOrReference) ProtoMessage()
func (*NamedSchemaOrReference) Reset ¶
func (m *NamedSchemaOrReference) Reset()
func (*NamedSchemaOrReference) ResolveReferences ¶
func (m *NamedSchemaOrReference) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedSchemaOrReference objects.
func (*NamedSchemaOrReference) String ¶
func (m *NamedSchemaOrReference) String() string
func (*NamedSchemaOrReference) ToRawInfo ¶
func (m *NamedSchemaOrReference) ToRawInfo() interface{}
ToRawInfo returns a description of NamedSchemaOrReference suitable for JSON or YAML export.
type NamedSecuritySchemeOrReference ¶
type NamedSecuritySchemeOrReference struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *SecuritySchemeOrReference `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of SecuritySchemeOrReference as ordered (name,value) pairs.
func NewNamedSecuritySchemeOrReference ¶
func NewNamedSecuritySchemeOrReference(in interface{}, context *compiler.Context) (*NamedSecuritySchemeOrReference, error)
NewNamedSecuritySchemeOrReference creates an object of type NamedSecuritySchemeOrReference if possible, returning an error if not.
func (*NamedSecuritySchemeOrReference) Descriptor ¶
func (*NamedSecuritySchemeOrReference) Descriptor() ([]byte, []int)
func (*NamedSecuritySchemeOrReference) GetName ¶
func (m *NamedSecuritySchemeOrReference) GetName() string
func (*NamedSecuritySchemeOrReference) GetValue ¶
func (m *NamedSecuritySchemeOrReference) GetValue() *SecuritySchemeOrReference
func (*NamedSecuritySchemeOrReference) ProtoMessage ¶
func (*NamedSecuritySchemeOrReference) ProtoMessage()
func (*NamedSecuritySchemeOrReference) Reset ¶
func (m *NamedSecuritySchemeOrReference) Reset()
func (*NamedSecuritySchemeOrReference) ResolveReferences ¶
func (m *NamedSecuritySchemeOrReference) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedSecuritySchemeOrReference objects.
func (*NamedSecuritySchemeOrReference) String ¶
func (m *NamedSecuritySchemeOrReference) String() string
func (*NamedSecuritySchemeOrReference) ToRawInfo ¶
func (m *NamedSecuritySchemeOrReference) ToRawInfo() interface{}
ToRawInfo returns a description of NamedSecuritySchemeOrReference suitable for JSON or YAML export.
type NamedServerVariable ¶
type NamedServerVariable struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value *ServerVariable `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of ServerVariable as ordered (name,value) pairs.
func NewNamedServerVariable ¶
func NewNamedServerVariable(in interface{}, context *compiler.Context) (*NamedServerVariable, error)
NewNamedServerVariable creates an object of type NamedServerVariable if possible, returning an error if not.
func (*NamedServerVariable) Descriptor ¶
func (*NamedServerVariable) Descriptor() ([]byte, []int)
func (*NamedServerVariable) GetName ¶
func (m *NamedServerVariable) GetName() string
func (*NamedServerVariable) GetValue ¶
func (m *NamedServerVariable) GetValue() *ServerVariable
func (*NamedServerVariable) ProtoMessage ¶
func (*NamedServerVariable) ProtoMessage()
func (*NamedServerVariable) Reset ¶
func (m *NamedServerVariable) Reset()
func (*NamedServerVariable) ResolveReferences ¶
func (m *NamedServerVariable) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedServerVariable objects.
func (*NamedServerVariable) String ¶
func (m *NamedServerVariable) String() string
func (*NamedServerVariable) ToRawInfo ¶
func (m *NamedServerVariable) ToRawInfo() interface{}
ToRawInfo returns a description of NamedServerVariable suitable for JSON or YAML export.
type NamedString ¶
type NamedString struct { // Map key Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Mapped value Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Automatically-generated message used to represent maps of string as ordered (name,value) pairs.
func NewNamedString ¶
func NewNamedString(in interface{}, context *compiler.Context) (*NamedString, error)
NewNamedString creates an object of type NamedString if possible, returning an error if not.
func (*NamedString) Descriptor ¶
func (*NamedString) Descriptor() ([]byte, []int)
func (*NamedString) GetName ¶
func (m *NamedString) GetName() string
func (*NamedString) GetValue ¶
func (m *NamedString) GetValue() string
func (*NamedString) ProtoMessage ¶
func (*NamedString) ProtoMessage()
func (*NamedString) Reset ¶
func (m *NamedString) Reset()
func (*NamedString) ResolveReferences ¶
func (m *NamedString) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside NamedString objects.
func (*NamedString) String ¶
func (m *NamedString) String() string
func (*NamedString) ToRawInfo ¶
func (m *NamedString) ToRawInfo() interface{}
ToRawInfo returns a description of NamedString suitable for JSON or YAML export.
type OauthFlow ¶
type OauthFlow struct { AuthorizationUrl string `protobuf:"bytes,1,opt,name=authorization_url,json=authorizationUrl" json:"authorization_url,omitempty"` TokenUrl string `protobuf:"bytes,2,opt,name=token_url,json=tokenUrl" json:"token_url,omitempty"` RefreshUrl string `protobuf:"bytes,3,opt,name=refresh_url,json=refreshUrl" json:"refresh_url,omitempty"` Scopes *Strings `protobuf:"bytes,4,opt,name=scopes" json:"scopes,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,5,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
Configuration details for a supported OAuth Flow
func NewOauthFlow ¶
NewOauthFlow creates an object of type OauthFlow if possible, returning an error if not.
func (*OauthFlow) Descriptor ¶
func (*OauthFlow) GetAuthorizationUrl ¶
func (*OauthFlow) GetRefreshUrl ¶
func (*OauthFlow) GetScopes ¶
func (*OauthFlow) GetSpecificationExtension ¶
func (*OauthFlow) GetTokenUrl ¶
func (*OauthFlow) ProtoMessage ¶
func (*OauthFlow) ProtoMessage()
func (*OauthFlow) Reset ¶
func (m *OauthFlow) Reset()
func (*OauthFlow) ResolveReferences ¶
ResolveReferences resolves references found inside OauthFlow objects.
func (*OauthFlow) String ¶
func (*OauthFlow) ToRawInfo ¶
func (m *OauthFlow) ToRawInfo() interface{}
ToRawInfo returns a description of OauthFlow suitable for JSON or YAML export.
type OauthFlows ¶
type OauthFlows struct { Implicit *OauthFlow `protobuf:"bytes,1,opt,name=implicit" json:"implicit,omitempty"` Password *OauthFlow `protobuf:"bytes,2,opt,name=password" json:"password,omitempty"` ClientCredentials *OauthFlow `protobuf:"bytes,3,opt,name=client_credentials,json=clientCredentials" json:"client_credentials,omitempty"` AuthorizationCode *OauthFlow `protobuf:"bytes,4,opt,name=authorization_code,json=authorizationCode" json:"authorization_code,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,5,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
Allows configuration of the supported OAuth Flows.
func NewOauthFlows ¶
func NewOauthFlows(in interface{}, context *compiler.Context) (*OauthFlows, error)
NewOauthFlows creates an object of type OauthFlows if possible, returning an error if not.
func (*OauthFlows) Descriptor ¶
func (*OauthFlows) Descriptor() ([]byte, []int)
func (*OauthFlows) GetAuthorizationCode ¶
func (m *OauthFlows) GetAuthorizationCode() *OauthFlow
func (*OauthFlows) GetClientCredentials ¶
func (m *OauthFlows) GetClientCredentials() *OauthFlow
func (*OauthFlows) GetImplicit ¶
func (m *OauthFlows) GetImplicit() *OauthFlow
func (*OauthFlows) GetPassword ¶
func (m *OauthFlows) GetPassword() *OauthFlow
func (*OauthFlows) GetSpecificationExtension ¶
func (m *OauthFlows) GetSpecificationExtension() []*NamedAny
func (*OauthFlows) ProtoMessage ¶
func (*OauthFlows) ProtoMessage()
func (*OauthFlows) Reset ¶
func (m *OauthFlows) Reset()
func (*OauthFlows) ResolveReferences ¶
func (m *OauthFlows) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside OauthFlows objects.
func (*OauthFlows) String ¶
func (m *OauthFlows) String() string
func (*OauthFlows) ToRawInfo ¶
func (m *OauthFlows) ToRawInfo() interface{}
ToRawInfo returns a description of OauthFlows suitable for JSON or YAML export.
type Object ¶
type Object struct { AdditionalProperties []*NamedAny `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"` }
func NewObject ¶
NewObject creates an object of type Object if possible, returning an error if not.
func (*Object) Descriptor ¶
func (*Object) GetAdditionalProperties ¶
func (*Object) ProtoMessage ¶
func (*Object) ProtoMessage()
func (*Object) Reset ¶
func (m *Object) Reset()
func (*Object) ResolveReferences ¶
ResolveReferences resolves references found inside Object objects.
func (*Object) String ¶
func (*Object) ToRawInfo ¶
func (m *Object) ToRawInfo() interface{}
ToRawInfo returns a description of Object suitable for JSON or YAML export.
type Operation ¶
type Operation struct { Tags []string `protobuf:"bytes,1,rep,name=tags" json:"tags,omitempty"` Summary string `protobuf:"bytes,2,opt,name=summary" json:"summary,omitempty"` Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` ExternalDocs *ExternalDocs `protobuf:"bytes,4,opt,name=external_docs,json=externalDocs" json:"external_docs,omitempty"` OperationId string `protobuf:"bytes,5,opt,name=operation_id,json=operationId" json:"operation_id,omitempty"` Parameters []*ParameterOrReference `protobuf:"bytes,6,rep,name=parameters" json:"parameters,omitempty"` RequestBody *RequestBodyOrReference `protobuf:"bytes,7,opt,name=request_body,json=requestBody" json:"request_body,omitempty"` Responses *Responses `protobuf:"bytes,8,opt,name=responses" json:"responses,omitempty"` Callbacks *CallbacksOrReferences `protobuf:"bytes,9,opt,name=callbacks" json:"callbacks,omitempty"` Deprecated bool `protobuf:"varint,10,opt,name=deprecated" json:"deprecated,omitempty"` Security []*SecurityRequirement `protobuf:"bytes,11,rep,name=security" json:"security,omitempty"` Servers []*Server `protobuf:"bytes,12,rep,name=servers" json:"servers,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,13,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
Describes a single API operation on a path.
func NewOperation ¶
NewOperation creates an object of type Operation if possible, returning an error if not.
func (*Operation) Descriptor ¶
func (*Operation) GetCallbacks ¶
func (m *Operation) GetCallbacks() *CallbacksOrReferences
func (*Operation) GetDeprecated ¶
func (*Operation) GetDescription ¶
func (*Operation) GetExternalDocs ¶
func (m *Operation) GetExternalDocs() *ExternalDocs
func (*Operation) GetOperationId ¶
func (*Operation) GetParameters ¶
func (m *Operation) GetParameters() []*ParameterOrReference
func (*Operation) GetRequestBody ¶
func (m *Operation) GetRequestBody() *RequestBodyOrReference
func (*Operation) GetResponses ¶
func (*Operation) GetSecurity ¶
func (m *Operation) GetSecurity() []*SecurityRequirement
func (*Operation) GetServers ¶
func (*Operation) GetSpecificationExtension ¶
func (*Operation) GetSummary ¶
func (*Operation) GetTags ¶
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) Reset ¶
func (m *Operation) Reset()
func (*Operation) ResolveReferences ¶
ResolveReferences resolves references found inside Operation objects.
func (*Operation) String ¶
func (*Operation) ToRawInfo ¶
func (m *Operation) ToRawInfo() interface{}
ToRawInfo returns a description of Operation suitable for JSON or YAML export.
type Parameter ¶
type Parameter struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` In string `protobuf:"bytes,2,opt,name=in" json:"in,omitempty"` Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` Required bool `protobuf:"varint,4,opt,name=required" json:"required,omitempty"` Deprecated bool `protobuf:"varint,5,opt,name=deprecated" json:"deprecated,omitempty"` AllowEmptyValue bool `protobuf:"varint,6,opt,name=allow_empty_value,json=allowEmptyValue" json:"allow_empty_value,omitempty"` Style string `protobuf:"bytes,7,opt,name=style" json:"style,omitempty"` Explode bool `protobuf:"varint,8,opt,name=explode" json:"explode,omitempty"` AllowReserved bool `protobuf:"varint,9,opt,name=allow_reserved,json=allowReserved" json:"allow_reserved,omitempty"` Schema *SchemaOrReference `protobuf:"bytes,10,opt,name=schema" json:"schema,omitempty"` Example *Any `protobuf:"bytes,11,opt,name=example" json:"example,omitempty"` Examples *ExamplesOrReferences `protobuf:"bytes,12,opt,name=examples" json:"examples,omitempty"` Content *MediaTypes `protobuf:"bytes,13,opt,name=content" json:"content,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,14,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
Describes a single operation parameter. A unique parameter is defined by a combination of a name and location.
func NewParameter ¶
NewParameter creates an object of type Parameter if possible, returning an error if not.
func (*Parameter) Descriptor ¶
func (*Parameter) GetAllowEmptyValue ¶
func (*Parameter) GetAllowReserved ¶
func (*Parameter) GetContent ¶
func (m *Parameter) GetContent() *MediaTypes
func (*Parameter) GetDeprecated ¶
func (*Parameter) GetDescription ¶
func (*Parameter) GetExample ¶
func (*Parameter) GetExamples ¶
func (m *Parameter) GetExamples() *ExamplesOrReferences
func (*Parameter) GetExplode ¶
func (*Parameter) GetIn ¶
func (*Parameter) GetName ¶
func (*Parameter) GetRequired ¶
func (*Parameter) GetSchema ¶
func (m *Parameter) GetSchema() *SchemaOrReference
func (*Parameter) GetSpecificationExtension ¶
func (*Parameter) GetStyle ¶
func (*Parameter) ProtoMessage ¶
func (*Parameter) ProtoMessage()
func (*Parameter) Reset ¶
func (m *Parameter) Reset()
func (*Parameter) ResolveReferences ¶
ResolveReferences resolves references found inside Parameter objects.
func (*Parameter) String ¶
func (*Parameter) ToRawInfo ¶
func (m *Parameter) ToRawInfo() interface{}
ToRawInfo returns a description of Parameter suitable for JSON or YAML export.
type ParameterOrReference ¶
type ParameterOrReference struct { // Types that are valid to be assigned to Oneof: // *ParameterOrReference_Parameter // *ParameterOrReference_Reference Oneof isParameterOrReference_Oneof `protobuf_oneof:"oneof"` }
func NewParameterOrReference ¶
func NewParameterOrReference(in interface{}, context *compiler.Context) (*ParameterOrReference, error)
NewParameterOrReference creates an object of type ParameterOrReference if possible, returning an error if not.
func (*ParameterOrReference) Descriptor ¶
func (*ParameterOrReference) Descriptor() ([]byte, []int)
func (*ParameterOrReference) GetOneof ¶
func (m *ParameterOrReference) GetOneof() isParameterOrReference_Oneof
func (*ParameterOrReference) GetParameter ¶
func (m *ParameterOrReference) GetParameter() *Parameter
func (*ParameterOrReference) GetReference ¶
func (m *ParameterOrReference) GetReference() *Reference
func (*ParameterOrReference) ProtoMessage ¶
func (*ParameterOrReference) ProtoMessage()
func (*ParameterOrReference) Reset ¶
func (m *ParameterOrReference) Reset()
func (*ParameterOrReference) ResolveReferences ¶
func (m *ParameterOrReference) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside ParameterOrReference objects.
func (*ParameterOrReference) String ¶
func (m *ParameterOrReference) String() string
func (*ParameterOrReference) ToRawInfo ¶
func (m *ParameterOrReference) ToRawInfo() interface{}
ToRawInfo returns a description of ParameterOrReference suitable for JSON or YAML export.
func (*ParameterOrReference) XXX_OneofFuncs ¶
func (*ParameterOrReference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type ParameterOrReference_Parameter ¶
type ParameterOrReference_Parameter struct { Parameter *Parameter `protobuf:"bytes,1,opt,name=parameter,oneof"` }
type ParameterOrReference_Reference ¶
type ParameterOrReference_Reference struct { Reference *Reference `protobuf:"bytes,2,opt,name=reference,oneof"` }
type ParametersOrReferences ¶
type ParametersOrReferences struct { AdditionalProperties []*NamedParameterOrReference `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"` }
func NewParametersOrReferences ¶
func NewParametersOrReferences(in interface{}, context *compiler.Context) (*ParametersOrReferences, error)
NewParametersOrReferences creates an object of type ParametersOrReferences if possible, returning an error if not.
func (*ParametersOrReferences) Descriptor ¶
func (*ParametersOrReferences) Descriptor() ([]byte, []int)
func (*ParametersOrReferences) GetAdditionalProperties ¶
func (m *ParametersOrReferences) GetAdditionalProperties() []*NamedParameterOrReference
func (*ParametersOrReferences) ProtoMessage ¶
func (*ParametersOrReferences) ProtoMessage()
func (*ParametersOrReferences) Reset ¶
func (m *ParametersOrReferences) Reset()
func (*ParametersOrReferences) ResolveReferences ¶
func (m *ParametersOrReferences) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside ParametersOrReferences objects.
func (*ParametersOrReferences) String ¶
func (m *ParametersOrReferences) String() string
func (*ParametersOrReferences) ToRawInfo ¶
func (m *ParametersOrReferences) ToRawInfo() interface{}
ToRawInfo returns a description of ParametersOrReferences suitable for JSON or YAML export.
type PathItem ¶
type PathItem struct { XRef string `protobuf:"bytes,1,opt,name=_ref,json=Ref" json:"_ref,omitempty"` Summary string `protobuf:"bytes,2,opt,name=summary" json:"summary,omitempty"` Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` Get *Operation `protobuf:"bytes,4,opt,name=get" json:"get,omitempty"` Put *Operation `protobuf:"bytes,5,opt,name=put" json:"put,omitempty"` Post *Operation `protobuf:"bytes,6,opt,name=post" json:"post,omitempty"` Delete *Operation `protobuf:"bytes,7,opt,name=delete" json:"delete,omitempty"` Options *Operation `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"` Head *Operation `protobuf:"bytes,9,opt,name=head" json:"head,omitempty"` Patch *Operation `protobuf:"bytes,10,opt,name=patch" json:"patch,omitempty"` Trace *Operation `protobuf:"bytes,11,opt,name=trace" json:"trace,omitempty"` Servers []*Server `protobuf:"bytes,12,rep,name=servers" json:"servers,omitempty"` Parameters []*ParameterOrReference `protobuf:"bytes,13,rep,name=parameters" json:"parameters,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,14,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
Describes the operations available on a single path. A Path Item MAY be empty, due to ACL constraints. The path itself is still exposed to the documentation viewer but they will not know which operations and parameters are available.
func NewPathItem ¶
NewPathItem creates an object of type PathItem if possible, returning an error if not.
func (*PathItem) Descriptor ¶
func (*PathItem) GetDelete ¶
func (*PathItem) GetDescription ¶
func (*PathItem) GetGet ¶
func (*PathItem) GetHead ¶
func (*PathItem) GetOptions ¶
func (*PathItem) GetParameters ¶
func (m *PathItem) GetParameters() []*ParameterOrReference
func (*PathItem) GetPatch ¶
func (*PathItem) GetPost ¶
func (*PathItem) GetPut ¶
func (*PathItem) GetServers ¶
func (*PathItem) GetSpecificationExtension ¶
func (*PathItem) GetSummary ¶
func (*PathItem) GetTrace ¶
func (*PathItem) GetXRef ¶
func (*PathItem) ProtoMessage ¶
func (*PathItem) ProtoMessage()
func (*PathItem) Reset ¶
func (m *PathItem) Reset()
func (*PathItem) ResolveReferences ¶
ResolveReferences resolves references found inside PathItem objects.
func (*PathItem) String ¶
func (*PathItem) ToRawInfo ¶
func (m *PathItem) ToRawInfo() interface{}
ToRawInfo returns a description of PathItem suitable for JSON or YAML export.
type Paths ¶
type Paths struct { Path []*NamedPathItem `protobuf:"bytes,1,rep,name=path" json:"path,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,2,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
Holds the relative paths to the individual endpoints and their operations. The path is appended to the URL from the `Server Object` in order to construct the full URL. The Paths MAY be empty, due to ACL constraints.
func NewPaths ¶
NewPaths creates an object of type Paths if possible, returning an error if not.
func (*Paths) Descriptor ¶
func (*Paths) GetPath ¶
func (m *Paths) GetPath() []*NamedPathItem
func (*Paths) GetSpecificationExtension ¶
func (*Paths) ProtoMessage ¶
func (*Paths) ProtoMessage()
func (*Paths) Reset ¶
func (m *Paths) Reset()
func (*Paths) ResolveReferences ¶
ResolveReferences resolves references found inside Paths objects.
func (*Paths) String ¶
func (*Paths) ToRawInfo ¶
func (m *Paths) ToRawInfo() interface{}
ToRawInfo returns a description of Paths suitable for JSON or YAML export.
type Properties ¶
type Properties struct { AdditionalProperties []*NamedSchemaOrReference `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"` }
func NewProperties ¶
func NewProperties(in interface{}, context *compiler.Context) (*Properties, error)
NewProperties creates an object of type Properties if possible, returning an error if not.
func (*Properties) Descriptor ¶
func (*Properties) Descriptor() ([]byte, []int)
func (*Properties) GetAdditionalProperties ¶
func (m *Properties) GetAdditionalProperties() []*NamedSchemaOrReference
func (*Properties) ProtoMessage ¶
func (*Properties) ProtoMessage()
func (*Properties) Reset ¶
func (m *Properties) Reset()
func (*Properties) ResolveReferences ¶
func (m *Properties) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside Properties objects.
func (*Properties) String ¶
func (m *Properties) String() string
func (*Properties) ToRawInfo ¶
func (m *Properties) ToRawInfo() interface{}
ToRawInfo returns a description of Properties suitable for JSON or YAML export.
type Reference ¶
type Reference struct { XRef string `protobuf:"bytes,1,opt,name=_ref,json=Ref" json:"_ref,omitempty"` }
A simple object to allow referencing other components in the specification, internally and externally. The Reference Object is defined by JSON Reference and follows the same structure, behavior and rules. For this specification, reference resolution is accomplished as defined by the JSON Reference specification and not by the JSON Schema specification.
func NewReference ¶
NewReference creates an object of type Reference if possible, returning an error if not.
func (*Reference) Descriptor ¶
func (*Reference) GetXRef ¶
func (*Reference) ProtoMessage ¶
func (*Reference) ProtoMessage()
func (*Reference) Reset ¶
func (m *Reference) Reset()
func (*Reference) ResolveReferences ¶
ResolveReferences resolves references found inside Reference objects.
func (*Reference) String ¶
func (*Reference) ToRawInfo ¶
func (m *Reference) ToRawInfo() interface{}
ToRawInfo returns a description of Reference suitable for JSON or YAML export.
type RequestBodiesOrReferences ¶
type RequestBodiesOrReferences struct { AdditionalProperties []*NamedRequestBodyOrReference `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"` }
func NewRequestBodiesOrReferences ¶
func NewRequestBodiesOrReferences(in interface{}, context *compiler.Context) (*RequestBodiesOrReferences, error)
NewRequestBodiesOrReferences creates an object of type RequestBodiesOrReferences if possible, returning an error if not.
func (*RequestBodiesOrReferences) Descriptor ¶
func (*RequestBodiesOrReferences) Descriptor() ([]byte, []int)
func (*RequestBodiesOrReferences) GetAdditionalProperties ¶
func (m *RequestBodiesOrReferences) GetAdditionalProperties() []*NamedRequestBodyOrReference
func (*RequestBodiesOrReferences) ProtoMessage ¶
func (*RequestBodiesOrReferences) ProtoMessage()
func (*RequestBodiesOrReferences) Reset ¶
func (m *RequestBodiesOrReferences) Reset()
func (*RequestBodiesOrReferences) ResolveReferences ¶
func (m *RequestBodiesOrReferences) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside RequestBodiesOrReferences objects.
func (*RequestBodiesOrReferences) String ¶
func (m *RequestBodiesOrReferences) String() string
func (*RequestBodiesOrReferences) ToRawInfo ¶
func (m *RequestBodiesOrReferences) ToRawInfo() interface{}
ToRawInfo returns a description of RequestBodiesOrReferences suitable for JSON or YAML export.
type RequestBody ¶
type RequestBody struct { Description string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"` Content *MediaTypes `protobuf:"bytes,2,opt,name=content" json:"content,omitempty"` Required bool `protobuf:"varint,3,opt,name=required" json:"required,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,4,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
Describes a single request body.
func NewRequestBody ¶
func NewRequestBody(in interface{}, context *compiler.Context) (*RequestBody, error)
NewRequestBody creates an object of type RequestBody if possible, returning an error if not.
func (*RequestBody) Descriptor ¶
func (*RequestBody) Descriptor() ([]byte, []int)
func (*RequestBody) GetContent ¶
func (m *RequestBody) GetContent() *MediaTypes
func (*RequestBody) GetDescription ¶
func (m *RequestBody) GetDescription() string
func (*RequestBody) GetRequired ¶
func (m *RequestBody) GetRequired() bool
func (*RequestBody) GetSpecificationExtension ¶
func (m *RequestBody) GetSpecificationExtension() []*NamedAny
func (*RequestBody) ProtoMessage ¶
func (*RequestBody) ProtoMessage()
func (*RequestBody) Reset ¶
func (m *RequestBody) Reset()
func (*RequestBody) ResolveReferences ¶
func (m *RequestBody) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside RequestBody objects.
func (*RequestBody) String ¶
func (m *RequestBody) String() string
func (*RequestBody) ToRawInfo ¶
func (m *RequestBody) ToRawInfo() interface{}
ToRawInfo returns a description of RequestBody suitable for JSON or YAML export.
type RequestBodyOrReference ¶
type RequestBodyOrReference struct { // Types that are valid to be assigned to Oneof: // *RequestBodyOrReference_RequestBody // *RequestBodyOrReference_Reference Oneof isRequestBodyOrReference_Oneof `protobuf_oneof:"oneof"` }
func NewRequestBodyOrReference ¶
func NewRequestBodyOrReference(in interface{}, context *compiler.Context) (*RequestBodyOrReference, error)
NewRequestBodyOrReference creates an object of type RequestBodyOrReference if possible, returning an error if not.
func (*RequestBodyOrReference) Descriptor ¶
func (*RequestBodyOrReference) Descriptor() ([]byte, []int)
func (*RequestBodyOrReference) GetOneof ¶
func (m *RequestBodyOrReference) GetOneof() isRequestBodyOrReference_Oneof
func (*RequestBodyOrReference) GetReference ¶
func (m *RequestBodyOrReference) GetReference() *Reference
func (*RequestBodyOrReference) GetRequestBody ¶
func (m *RequestBodyOrReference) GetRequestBody() *RequestBody
func (*RequestBodyOrReference) ProtoMessage ¶
func (*RequestBodyOrReference) ProtoMessage()
func (*RequestBodyOrReference) Reset ¶
func (m *RequestBodyOrReference) Reset()
func (*RequestBodyOrReference) ResolveReferences ¶
func (m *RequestBodyOrReference) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside RequestBodyOrReference objects.
func (*RequestBodyOrReference) String ¶
func (m *RequestBodyOrReference) String() string
func (*RequestBodyOrReference) ToRawInfo ¶
func (m *RequestBodyOrReference) ToRawInfo() interface{}
ToRawInfo returns a description of RequestBodyOrReference suitable for JSON or YAML export.
func (*RequestBodyOrReference) XXX_OneofFuncs ¶
func (*RequestBodyOrReference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type RequestBodyOrReference_Reference ¶
type RequestBodyOrReference_Reference struct { Reference *Reference `protobuf:"bytes,2,opt,name=reference,oneof"` }
type RequestBodyOrReference_RequestBody ¶
type RequestBodyOrReference_RequestBody struct { RequestBody *RequestBody `protobuf:"bytes,1,opt,name=request_body,json=requestBody,oneof"` }
type Response ¶
type Response struct { Description string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"` Headers *HeadersOrReferences `protobuf:"bytes,2,opt,name=headers" json:"headers,omitempty"` Content *MediaTypes `protobuf:"bytes,3,opt,name=content" json:"content,omitempty"` Links *LinksOrReferences `protobuf:"bytes,4,opt,name=links" json:"links,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,5,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
Describes a single response from an API Operation, including design-time, static `links` to operations based on the response.
func NewResponse ¶
NewResponse creates an object of type Response if possible, returning an error if not.
func (*Response) Descriptor ¶
func (*Response) GetContent ¶
func (m *Response) GetContent() *MediaTypes
func (*Response) GetDescription ¶
func (*Response) GetHeaders ¶
func (m *Response) GetHeaders() *HeadersOrReferences
func (*Response) GetLinks ¶
func (m *Response) GetLinks() *LinksOrReferences
func (*Response) GetSpecificationExtension ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) Reset ¶
func (m *Response) Reset()
func (*Response) ResolveReferences ¶
ResolveReferences resolves references found inside Response objects.
func (*Response) String ¶
func (*Response) ToRawInfo ¶
func (m *Response) ToRawInfo() interface{}
ToRawInfo returns a description of Response suitable for JSON or YAML export.
type ResponseOrReference ¶
type ResponseOrReference struct { // Types that are valid to be assigned to Oneof: // *ResponseOrReference_Response // *ResponseOrReference_Reference Oneof isResponseOrReference_Oneof `protobuf_oneof:"oneof"` }
func NewResponseOrReference ¶
func NewResponseOrReference(in interface{}, context *compiler.Context) (*ResponseOrReference, error)
NewResponseOrReference creates an object of type ResponseOrReference if possible, returning an error if not.
func (*ResponseOrReference) Descriptor ¶
func (*ResponseOrReference) Descriptor() ([]byte, []int)
func (*ResponseOrReference) GetOneof ¶
func (m *ResponseOrReference) GetOneof() isResponseOrReference_Oneof
func (*ResponseOrReference) GetReference ¶
func (m *ResponseOrReference) GetReference() *Reference
func (*ResponseOrReference) GetResponse ¶
func (m *ResponseOrReference) GetResponse() *Response
func (*ResponseOrReference) ProtoMessage ¶
func (*ResponseOrReference) ProtoMessage()
func (*ResponseOrReference) Reset ¶
func (m *ResponseOrReference) Reset()
func (*ResponseOrReference) ResolveReferences ¶
func (m *ResponseOrReference) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside ResponseOrReference objects.
func (*ResponseOrReference) String ¶
func (m *ResponseOrReference) String() string
func (*ResponseOrReference) ToRawInfo ¶
func (m *ResponseOrReference) ToRawInfo() interface{}
ToRawInfo returns a description of ResponseOrReference suitable for JSON or YAML export.
func (*ResponseOrReference) XXX_OneofFuncs ¶
func (*ResponseOrReference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type ResponseOrReference_Reference ¶
type ResponseOrReference_Reference struct { Reference *Reference `protobuf:"bytes,2,opt,name=reference,oneof"` }
type ResponseOrReference_Response ¶
type ResponseOrReference_Response struct { Response *Response `protobuf:"bytes,1,opt,name=response,oneof"` }
type Responses ¶
type Responses struct { Default *ResponseOrReference `protobuf:"bytes,1,opt,name=default" json:"default,omitempty"` ResponseOrReference []*NamedResponseOrReference `protobuf:"bytes,2,rep,name=response_or_reference,json=responseOrReference" json:"response_or_reference,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,3,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
A container for the expected responses of an operation. The container maps a HTTP response code to the expected response. The documentation is not necessarily expected to cover all possible HTTP response codes because they may not be known in advance. However, documentation is expected to cover a successful operation response and any known errors. The `default` MAY be used as a default response object for all HTTP codes that are not covered individually by the specification. The `Responses Object` MUST contain at least one response code, and it SHOULD be the response for a successful operation call.
func NewResponses ¶
NewResponses creates an object of type Responses if possible, returning an error if not.
func (*Responses) Descriptor ¶
func (*Responses) GetDefault ¶
func (m *Responses) GetDefault() *ResponseOrReference
func (*Responses) GetResponseOrReference ¶
func (m *Responses) GetResponseOrReference() []*NamedResponseOrReference
func (*Responses) GetSpecificationExtension ¶
func (*Responses) ProtoMessage ¶
func (*Responses) ProtoMessage()
func (*Responses) Reset ¶
func (m *Responses) Reset()
func (*Responses) ResolveReferences ¶
ResolveReferences resolves references found inside Responses objects.
func (*Responses) String ¶
func (*Responses) ToRawInfo ¶
func (m *Responses) ToRawInfo() interface{}
ToRawInfo returns a description of Responses suitable for JSON or YAML export.
type ResponsesOrReferences ¶
type ResponsesOrReferences struct { AdditionalProperties []*NamedResponseOrReference `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"` }
func NewResponsesOrReferences ¶
func NewResponsesOrReferences(in interface{}, context *compiler.Context) (*ResponsesOrReferences, error)
NewResponsesOrReferences creates an object of type ResponsesOrReferences if possible, returning an error if not.
func (*ResponsesOrReferences) Descriptor ¶
func (*ResponsesOrReferences) Descriptor() ([]byte, []int)
func (*ResponsesOrReferences) GetAdditionalProperties ¶
func (m *ResponsesOrReferences) GetAdditionalProperties() []*NamedResponseOrReference
func (*ResponsesOrReferences) ProtoMessage ¶
func (*ResponsesOrReferences) ProtoMessage()
func (*ResponsesOrReferences) Reset ¶
func (m *ResponsesOrReferences) Reset()
func (*ResponsesOrReferences) ResolveReferences ¶
func (m *ResponsesOrReferences) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside ResponsesOrReferences objects.
func (*ResponsesOrReferences) String ¶
func (m *ResponsesOrReferences) String() string
func (*ResponsesOrReferences) ToRawInfo ¶
func (m *ResponsesOrReferences) ToRawInfo() interface{}
ToRawInfo returns a description of ResponsesOrReferences suitable for JSON or YAML export.
type Schema ¶
type Schema struct { Nullable bool `protobuf:"varint,1,opt,name=nullable" json:"nullable,omitempty"` Discriminator *Discriminator `protobuf:"bytes,2,opt,name=discriminator" json:"discriminator,omitempty"` ReadOnly bool `protobuf:"varint,3,opt,name=read_only,json=readOnly" json:"read_only,omitempty"` WriteOnly bool `protobuf:"varint,4,opt,name=write_only,json=writeOnly" json:"write_only,omitempty"` Xml *Xml `protobuf:"bytes,5,opt,name=xml" json:"xml,omitempty"` ExternalDocs *ExternalDocs `protobuf:"bytes,6,opt,name=external_docs,json=externalDocs" json:"external_docs,omitempty"` Example *Any `protobuf:"bytes,7,opt,name=example" json:"example,omitempty"` Deprecated bool `protobuf:"varint,8,opt,name=deprecated" json:"deprecated,omitempty"` Title string `protobuf:"bytes,9,opt,name=title" json:"title,omitempty"` MultipleOf float64 `protobuf:"fixed64,10,opt,name=multiple_of,json=multipleOf" json:"multiple_of,omitempty"` Maximum float64 `protobuf:"fixed64,11,opt,name=maximum" json:"maximum,omitempty"` ExclusiveMaximum bool `protobuf:"varint,12,opt,name=exclusive_maximum,json=exclusiveMaximum" json:"exclusive_maximum,omitempty"` Minimum float64 `protobuf:"fixed64,13,opt,name=minimum" json:"minimum,omitempty"` ExclusiveMinimum bool `protobuf:"varint,14,opt,name=exclusive_minimum,json=exclusiveMinimum" json:"exclusive_minimum,omitempty"` MaxLength int64 `protobuf:"varint,15,opt,name=max_length,json=maxLength" json:"max_length,omitempty"` MinLength int64 `protobuf:"varint,16,opt,name=min_length,json=minLength" json:"min_length,omitempty"` Pattern string `protobuf:"bytes,17,opt,name=pattern" json:"pattern,omitempty"` MaxItems int64 `protobuf:"varint,18,opt,name=max_items,json=maxItems" json:"max_items,omitempty"` MinItems int64 `protobuf:"varint,19,opt,name=min_items,json=minItems" json:"min_items,omitempty"` UniqueItems bool `protobuf:"varint,20,opt,name=unique_items,json=uniqueItems" json:"unique_items,omitempty"` MaxProperties int64 `protobuf:"varint,21,opt,name=max_properties,json=maxProperties" json:"max_properties,omitempty"` MinProperties int64 `protobuf:"varint,22,opt,name=min_properties,json=minProperties" json:"min_properties,omitempty"` Required []string `protobuf:"bytes,23,rep,name=required" json:"required,omitempty"` Enum []*Any `protobuf:"bytes,24,rep,name=enum" json:"enum,omitempty"` Type string `protobuf:"bytes,25,opt,name=type" json:"type,omitempty"` AllOf []*SchemaOrReference `protobuf:"bytes,26,rep,name=all_of,json=allOf" json:"all_of,omitempty"` OneOf []*SchemaOrReference `protobuf:"bytes,27,rep,name=one_of,json=oneOf" json:"one_of,omitempty"` AnyOf []*SchemaOrReference `protobuf:"bytes,28,rep,name=any_of,json=anyOf" json:"any_of,omitempty"` Not *Schema `protobuf:"bytes,29,opt,name=not" json:"not,omitempty"` Items *ItemsItem `protobuf:"bytes,30,opt,name=items" json:"items,omitempty"` Properties *Properties `protobuf:"bytes,31,opt,name=properties" json:"properties,omitempty"` AdditionalProperties *AdditionalPropertiesItem `protobuf:"bytes,32,opt,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"` Default *DefaultType `protobuf:"bytes,33,opt,name=default" json:"default,omitempty"` Description string `protobuf:"bytes,34,opt,name=description" json:"description,omitempty"` Format string `protobuf:"bytes,35,opt,name=format" json:"format,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,36,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
The Schema Object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. This object is an extended subset of the JSON Schema Specification Wright Draft 00. For more information about the properties, see JSON Schema Core and JSON Schema Validation. Unless stated otherwise, the property definitions follow the JSON Schema.
func NewSchema ¶
NewSchema creates an object of type Schema if possible, returning an error if not.
func (*Schema) Descriptor ¶
func (*Schema) GetAdditionalProperties ¶
func (m *Schema) GetAdditionalProperties() *AdditionalPropertiesItem
func (*Schema) GetAllOf ¶
func (m *Schema) GetAllOf() []*SchemaOrReference
func (*Schema) GetAnyOf ¶
func (m *Schema) GetAnyOf() []*SchemaOrReference
func (*Schema) GetDefault ¶
func (m *Schema) GetDefault() *DefaultType
func (*Schema) GetDeprecated ¶
func (*Schema) GetDescription ¶
func (*Schema) GetDiscriminator ¶
func (m *Schema) GetDiscriminator() *Discriminator
func (*Schema) GetEnum ¶
func (*Schema) GetExample ¶
func (*Schema) GetExclusiveMaximum ¶
func (*Schema) GetExclusiveMinimum ¶
func (*Schema) GetExternalDocs ¶
func (m *Schema) GetExternalDocs() *ExternalDocs
func (*Schema) GetFormat ¶
func (*Schema) GetItems ¶
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) GetNot ¶
func (*Schema) GetNullable ¶
func (*Schema) GetOneOf ¶
func (m *Schema) GetOneOf() []*SchemaOrReference
func (*Schema) GetPattern ¶
func (*Schema) GetProperties ¶
func (m *Schema) GetProperties() *Properties
func (*Schema) GetReadOnly ¶
func (*Schema) GetRequired ¶
func (*Schema) GetSpecificationExtension ¶
func (*Schema) GetTitle ¶
func (*Schema) GetType ¶
func (*Schema) GetUniqueItems ¶
func (*Schema) GetWriteOnly ¶
func (*Schema) GetXml ¶
func (*Schema) ProtoMessage ¶
func (*Schema) ProtoMessage()
func (*Schema) Reset ¶
func (m *Schema) Reset()
func (*Schema) ResolveReferences ¶
ResolveReferences resolves references found inside Schema objects.
func (*Schema) String ¶
func (*Schema) ToRawInfo ¶
func (m *Schema) ToRawInfo() interface{}
ToRawInfo returns a description of Schema suitable for JSON or YAML export.
type SchemaOrReference ¶
type SchemaOrReference struct { // Types that are valid to be assigned to Oneof: // *SchemaOrReference_Schema // *SchemaOrReference_Reference Oneof isSchemaOrReference_Oneof `protobuf_oneof:"oneof"` }
func NewSchemaOrReference ¶
func NewSchemaOrReference(in interface{}, context *compiler.Context) (*SchemaOrReference, error)
NewSchemaOrReference creates an object of type SchemaOrReference if possible, returning an error if not.
func (*SchemaOrReference) Descriptor ¶
func (*SchemaOrReference) Descriptor() ([]byte, []int)
func (*SchemaOrReference) GetOneof ¶
func (m *SchemaOrReference) GetOneof() isSchemaOrReference_Oneof
func (*SchemaOrReference) GetReference ¶
func (m *SchemaOrReference) GetReference() *Reference
func (*SchemaOrReference) GetSchema ¶
func (m *SchemaOrReference) GetSchema() *Schema
func (*SchemaOrReference) ProtoMessage ¶
func (*SchemaOrReference) ProtoMessage()
func (*SchemaOrReference) Reset ¶
func (m *SchemaOrReference) Reset()
func (*SchemaOrReference) ResolveReferences ¶
func (m *SchemaOrReference) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside SchemaOrReference objects.
func (*SchemaOrReference) String ¶
func (m *SchemaOrReference) String() string
func (*SchemaOrReference) ToRawInfo ¶
func (m *SchemaOrReference) ToRawInfo() interface{}
ToRawInfo returns a description of SchemaOrReference suitable for JSON or YAML export.
func (*SchemaOrReference) XXX_OneofFuncs ¶
func (*SchemaOrReference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type SchemaOrReference_Reference ¶
type SchemaOrReference_Reference struct { Reference *Reference `protobuf:"bytes,2,opt,name=reference,oneof"` }
type SchemaOrReference_Schema ¶
type SchemaOrReference_Schema struct { Schema *Schema `protobuf:"bytes,1,opt,name=schema,oneof"` }
type SchemasOrReferences ¶
type SchemasOrReferences struct { AdditionalProperties []*NamedSchemaOrReference `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"` }
func NewSchemasOrReferences ¶
func NewSchemasOrReferences(in interface{}, context *compiler.Context) (*SchemasOrReferences, error)
NewSchemasOrReferences creates an object of type SchemasOrReferences if possible, returning an error if not.
func (*SchemasOrReferences) Descriptor ¶
func (*SchemasOrReferences) Descriptor() ([]byte, []int)
func (*SchemasOrReferences) GetAdditionalProperties ¶
func (m *SchemasOrReferences) GetAdditionalProperties() []*NamedSchemaOrReference
func (*SchemasOrReferences) ProtoMessage ¶
func (*SchemasOrReferences) ProtoMessage()
func (*SchemasOrReferences) Reset ¶
func (m *SchemasOrReferences) Reset()
func (*SchemasOrReferences) ResolveReferences ¶
func (m *SchemasOrReferences) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside SchemasOrReferences objects.
func (*SchemasOrReferences) String ¶
func (m *SchemasOrReferences) String() string
func (*SchemasOrReferences) ToRawInfo ¶
func (m *SchemasOrReferences) ToRawInfo() interface{}
ToRawInfo returns a description of SchemasOrReferences suitable for JSON or YAML export.
type SecurityRequirement ¶
type SecurityRequirement struct { }
Lists the required security schemes to execute this operation. The name used for each property MUST correspond to a security scheme declared in the Security Schemes under the Components Object. Security Requirement Objects that contain multiple schemes require that all schemes MUST be satisfied for a request to be authorized. This enables support for scenarios where multiple query parameters or HTTP headers are required to convey security information. When a list of Security Requirement Objects is defined on the Open API object or Operation Object, only one of Security Requirement Objects in the list needs to be satisfied to authorize the request.
func NewSecurityRequirement ¶
func NewSecurityRequirement(in interface{}, context *compiler.Context) (*SecurityRequirement, error)
NewSecurityRequirement creates an object of type SecurityRequirement if possible, returning an error if not.
func (*SecurityRequirement) Descriptor ¶
func (*SecurityRequirement) Descriptor() ([]byte, []int)
func (*SecurityRequirement) ProtoMessage ¶
func (*SecurityRequirement) ProtoMessage()
func (*SecurityRequirement) Reset ¶
func (m *SecurityRequirement) Reset()
func (*SecurityRequirement) ResolveReferences ¶
func (m *SecurityRequirement) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside SecurityRequirement objects.
func (*SecurityRequirement) String ¶
func (m *SecurityRequirement) String() string
func (*SecurityRequirement) ToRawInfo ¶
func (m *SecurityRequirement) ToRawInfo() interface{}
ToRawInfo returns a description of SecurityRequirement suitable for JSON or YAML export.
type SecurityScheme ¶
type SecurityScheme struct { Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` In string `protobuf:"bytes,4,opt,name=in" json:"in,omitempty"` Scheme string `protobuf:"bytes,5,opt,name=scheme" json:"scheme,omitempty"` BearerFormat string `protobuf:"bytes,6,opt,name=bearer_format,json=bearerFormat" json:"bearer_format,omitempty"` Flows *OauthFlows `protobuf:"bytes,7,opt,name=flows" json:"flows,omitempty"` OpenIdConnectUrl string `protobuf:"bytes,8,opt,name=open_id_connect_url,json=openIdConnectUrl" json:"open_id_connect_url,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,9,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
Defines a security scheme that can be used by the operations. Supported schemes are HTTP authentication, an API key (either as a header or as a query parameter), OAuth2's common flows (implicit, password, application and access code) as defined in RFC6749, and OpenID Connect Discovery.
func NewSecurityScheme ¶
func NewSecurityScheme(in interface{}, context *compiler.Context) (*SecurityScheme, error)
NewSecurityScheme creates an object of type SecurityScheme if possible, returning an error if not.
func (*SecurityScheme) Descriptor ¶
func (*SecurityScheme) Descriptor() ([]byte, []int)
func (*SecurityScheme) GetBearerFormat ¶
func (m *SecurityScheme) GetBearerFormat() string
func (*SecurityScheme) GetDescription ¶
func (m *SecurityScheme) GetDescription() string
func (*SecurityScheme) GetFlows ¶
func (m *SecurityScheme) GetFlows() *OauthFlows
func (*SecurityScheme) GetIn ¶
func (m *SecurityScheme) GetIn() string
func (*SecurityScheme) GetName ¶
func (m *SecurityScheme) GetName() string
func (*SecurityScheme) GetOpenIdConnectUrl ¶
func (m *SecurityScheme) GetOpenIdConnectUrl() string
func (*SecurityScheme) GetScheme ¶
func (m *SecurityScheme) GetScheme() string
func (*SecurityScheme) GetSpecificationExtension ¶
func (m *SecurityScheme) GetSpecificationExtension() []*NamedAny
func (*SecurityScheme) GetType ¶
func (m *SecurityScheme) GetType() string
func (*SecurityScheme) ProtoMessage ¶
func (*SecurityScheme) ProtoMessage()
func (*SecurityScheme) Reset ¶
func (m *SecurityScheme) Reset()
func (*SecurityScheme) ResolveReferences ¶
func (m *SecurityScheme) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside SecurityScheme objects.
func (*SecurityScheme) String ¶
func (m *SecurityScheme) String() string
func (*SecurityScheme) ToRawInfo ¶
func (m *SecurityScheme) ToRawInfo() interface{}
ToRawInfo returns a description of SecurityScheme suitable for JSON or YAML export.
type SecuritySchemeOrReference ¶
type SecuritySchemeOrReference struct { // Types that are valid to be assigned to Oneof: // *SecuritySchemeOrReference_SecurityScheme // *SecuritySchemeOrReference_Reference Oneof isSecuritySchemeOrReference_Oneof `protobuf_oneof:"oneof"` }
func NewSecuritySchemeOrReference ¶
func NewSecuritySchemeOrReference(in interface{}, context *compiler.Context) (*SecuritySchemeOrReference, error)
NewSecuritySchemeOrReference creates an object of type SecuritySchemeOrReference if possible, returning an error if not.
func (*SecuritySchemeOrReference) Descriptor ¶
func (*SecuritySchemeOrReference) Descriptor() ([]byte, []int)
func (*SecuritySchemeOrReference) GetOneof ¶
func (m *SecuritySchemeOrReference) GetOneof() isSecuritySchemeOrReference_Oneof
func (*SecuritySchemeOrReference) GetReference ¶
func (m *SecuritySchemeOrReference) GetReference() *Reference
func (*SecuritySchemeOrReference) GetSecurityScheme ¶
func (m *SecuritySchemeOrReference) GetSecurityScheme() *SecurityScheme
func (*SecuritySchemeOrReference) ProtoMessage ¶
func (*SecuritySchemeOrReference) ProtoMessage()
func (*SecuritySchemeOrReference) Reset ¶
func (m *SecuritySchemeOrReference) Reset()
func (*SecuritySchemeOrReference) ResolveReferences ¶
func (m *SecuritySchemeOrReference) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside SecuritySchemeOrReference objects.
func (*SecuritySchemeOrReference) String ¶
func (m *SecuritySchemeOrReference) String() string
func (*SecuritySchemeOrReference) ToRawInfo ¶
func (m *SecuritySchemeOrReference) ToRawInfo() interface{}
ToRawInfo returns a description of SecuritySchemeOrReference suitable for JSON or YAML export.
func (*SecuritySchemeOrReference) XXX_OneofFuncs ¶
func (*SecuritySchemeOrReference) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type SecuritySchemeOrReference_Reference ¶
type SecuritySchemeOrReference_Reference struct { Reference *Reference `protobuf:"bytes,2,opt,name=reference,oneof"` }
type SecuritySchemeOrReference_SecurityScheme ¶
type SecuritySchemeOrReference_SecurityScheme struct { SecurityScheme *SecurityScheme `protobuf:"bytes,1,opt,name=security_scheme,json=securityScheme,oneof"` }
type SecuritySchemesOrReferences ¶
type SecuritySchemesOrReferences struct { AdditionalProperties []*NamedSecuritySchemeOrReference `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"` }
func NewSecuritySchemesOrReferences ¶
func NewSecuritySchemesOrReferences(in interface{}, context *compiler.Context) (*SecuritySchemesOrReferences, error)
NewSecuritySchemesOrReferences creates an object of type SecuritySchemesOrReferences if possible, returning an error if not.
func (*SecuritySchemesOrReferences) Descriptor ¶
func (*SecuritySchemesOrReferences) Descriptor() ([]byte, []int)
func (*SecuritySchemesOrReferences) GetAdditionalProperties ¶
func (m *SecuritySchemesOrReferences) GetAdditionalProperties() []*NamedSecuritySchemeOrReference
func (*SecuritySchemesOrReferences) ProtoMessage ¶
func (*SecuritySchemesOrReferences) ProtoMessage()
func (*SecuritySchemesOrReferences) Reset ¶
func (m *SecuritySchemesOrReferences) Reset()
func (*SecuritySchemesOrReferences) ResolveReferences ¶
func (m *SecuritySchemesOrReferences) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside SecuritySchemesOrReferences objects.
func (*SecuritySchemesOrReferences) String ¶
func (m *SecuritySchemesOrReferences) String() string
func (*SecuritySchemesOrReferences) ToRawInfo ¶
func (m *SecuritySchemesOrReferences) ToRawInfo() interface{}
ToRawInfo returns a description of SecuritySchemesOrReferences suitable for JSON or YAML export.
type Server ¶
type Server struct { Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` Variables *ServerVariables `protobuf:"bytes,3,opt,name=variables" json:"variables,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,4,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
An object representing a Server.
func NewServer ¶
NewServer creates an object of type Server if possible, returning an error if not.
func (*Server) Descriptor ¶
func (*Server) GetDescription ¶
func (*Server) GetSpecificationExtension ¶
func (*Server) GetUrl ¶
func (*Server) GetVariables ¶
func (m *Server) GetVariables() *ServerVariables
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) Reset ¶
func (m *Server) Reset()
func (*Server) ResolveReferences ¶
ResolveReferences resolves references found inside Server objects.
func (*Server) String ¶
func (*Server) ToRawInfo ¶
func (m *Server) ToRawInfo() interface{}
ToRawInfo returns a description of Server suitable for JSON or YAML export.
type ServerVariable ¶
type ServerVariable struct { Enum []string `protobuf:"bytes,1,rep,name=enum" json:"enum,omitempty"` Default string `protobuf:"bytes,2,opt,name=default" json:"default,omitempty"` Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,4,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
An object representing a Server Variable for server URL template substitution.
func NewServerVariable ¶
func NewServerVariable(in interface{}, context *compiler.Context) (*ServerVariable, error)
NewServerVariable creates an object of type ServerVariable if possible, returning an error if not.
func (*ServerVariable) Descriptor ¶
func (*ServerVariable) Descriptor() ([]byte, []int)
func (*ServerVariable) GetDefault ¶
func (m *ServerVariable) GetDefault() string
func (*ServerVariable) GetDescription ¶
func (m *ServerVariable) GetDescription() string
func (*ServerVariable) GetEnum ¶
func (m *ServerVariable) GetEnum() []string
func (*ServerVariable) GetSpecificationExtension ¶
func (m *ServerVariable) GetSpecificationExtension() []*NamedAny
func (*ServerVariable) ProtoMessage ¶
func (*ServerVariable) ProtoMessage()
func (*ServerVariable) Reset ¶
func (m *ServerVariable) Reset()
func (*ServerVariable) ResolveReferences ¶
func (m *ServerVariable) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside ServerVariable objects.
func (*ServerVariable) String ¶
func (m *ServerVariable) String() string
func (*ServerVariable) ToRawInfo ¶
func (m *ServerVariable) ToRawInfo() interface{}
ToRawInfo returns a description of ServerVariable suitable for JSON or YAML export.
type ServerVariables ¶
type ServerVariables struct { AdditionalProperties []*NamedServerVariable `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"` }
func NewServerVariables ¶
func NewServerVariables(in interface{}, context *compiler.Context) (*ServerVariables, error)
NewServerVariables creates an object of type ServerVariables if possible, returning an error if not.
func (*ServerVariables) Descriptor ¶
func (*ServerVariables) Descriptor() ([]byte, []int)
func (*ServerVariables) GetAdditionalProperties ¶
func (m *ServerVariables) GetAdditionalProperties() []*NamedServerVariable
func (*ServerVariables) ProtoMessage ¶
func (*ServerVariables) ProtoMessage()
func (*ServerVariables) Reset ¶
func (m *ServerVariables) Reset()
func (*ServerVariables) ResolveReferences ¶
func (m *ServerVariables) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside ServerVariables objects.
func (*ServerVariables) String ¶
func (m *ServerVariables) String() string
func (*ServerVariables) ToRawInfo ¶
func (m *ServerVariables) ToRawInfo() interface{}
ToRawInfo returns a description of ServerVariables suitable for JSON or YAML export.
type SpecificationExtension ¶
type SpecificationExtension struct { // Types that are valid to be assigned to Oneof: // *SpecificationExtension_Number // *SpecificationExtension_Boolean // *SpecificationExtension_String_ Oneof isSpecificationExtension_Oneof `protobuf_oneof:"oneof"` }
Any property starting with x- is valid.
func NewSpecificationExtension ¶
func NewSpecificationExtension(in interface{}, context *compiler.Context) (*SpecificationExtension, error)
NewSpecificationExtension creates an object of type SpecificationExtension if possible, returning an error if not.
func (*SpecificationExtension) Descriptor ¶
func (*SpecificationExtension) Descriptor() ([]byte, []int)
func (*SpecificationExtension) GetBoolean ¶
func (m *SpecificationExtension) GetBoolean() bool
func (*SpecificationExtension) GetNumber ¶
func (m *SpecificationExtension) GetNumber() float64
func (*SpecificationExtension) GetOneof ¶
func (m *SpecificationExtension) GetOneof() isSpecificationExtension_Oneof
func (*SpecificationExtension) GetString_ ¶
func (m *SpecificationExtension) GetString_() string
func (*SpecificationExtension) ProtoMessage ¶
func (*SpecificationExtension) ProtoMessage()
func (*SpecificationExtension) Reset ¶
func (m *SpecificationExtension) Reset()
func (*SpecificationExtension) ResolveReferences ¶
func (m *SpecificationExtension) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside SpecificationExtension objects.
func (*SpecificationExtension) String ¶
func (m *SpecificationExtension) String() string
func (*SpecificationExtension) ToRawInfo ¶
func (m *SpecificationExtension) ToRawInfo() interface{}
ToRawInfo returns a description of SpecificationExtension suitable for JSON or YAML export.
func (*SpecificationExtension) XXX_OneofFuncs ¶
func (*SpecificationExtension) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type SpecificationExtension_Boolean ¶
type SpecificationExtension_Boolean struct { Boolean bool `protobuf:"varint,2,opt,name=boolean,oneof"` }
type SpecificationExtension_Number ¶
type SpecificationExtension_Number struct { Number float64 `protobuf:"fixed64,1,opt,name=number,oneof"` }
type SpecificationExtension_String_ ¶
type SpecificationExtension_String_ struct { String_ string `protobuf:"bytes,3,opt,name=string,oneof"` }
type StringArray ¶
type StringArray struct { Value []string `protobuf:"bytes,1,rep,name=value" json:"value,omitempty"` }
func NewStringArray ¶
func NewStringArray(in interface{}, context *compiler.Context) (*StringArray, error)
NewStringArray creates an object of type StringArray if possible, returning an error if not.
func (*StringArray) Descriptor ¶
func (*StringArray) Descriptor() ([]byte, []int)
func (*StringArray) GetValue ¶
func (m *StringArray) GetValue() []string
func (*StringArray) ProtoMessage ¶
func (*StringArray) ProtoMessage()
func (*StringArray) Reset ¶
func (m *StringArray) Reset()
func (*StringArray) ResolveReferences ¶
func (m *StringArray) ResolveReferences(root string) (interface{}, error)
ResolveReferences resolves references found inside StringArray objects.
func (*StringArray) String ¶
func (m *StringArray) String() string
func (*StringArray) ToRawInfo ¶
func (m *StringArray) ToRawInfo() interface{}
ToRawInfo returns a description of StringArray suitable for JSON or YAML export.
type Strings ¶
type Strings struct { AdditionalProperties []*NamedString `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties" json:"additional_properties,omitempty"` }
func NewStrings ¶
NewStrings creates an object of type Strings if possible, returning an error if not.
func (*Strings) Descriptor ¶
func (*Strings) GetAdditionalProperties ¶
func (m *Strings) GetAdditionalProperties() []*NamedString
func (*Strings) ProtoMessage ¶
func (*Strings) ProtoMessage()
func (*Strings) Reset ¶
func (m *Strings) Reset()
func (*Strings) ResolveReferences ¶
ResolveReferences resolves references found inside Strings objects.
func (*Strings) String ¶
func (*Strings) ToRawInfo ¶
func (m *Strings) ToRawInfo() interface{}
ToRawInfo returns a description of Strings suitable for JSON or YAML export.
type Tag ¶
type Tag struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` ExternalDocs *ExternalDocs `protobuf:"bytes,3,opt,name=external_docs,json=externalDocs" json:"external_docs,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,4,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances.
func NewTag ¶
NewTag creates an object of type Tag if possible, returning an error if not.
func (*Tag) Descriptor ¶
func (*Tag) GetDescription ¶
func (*Tag) GetExternalDocs ¶
func (m *Tag) GetExternalDocs() *ExternalDocs
func (*Tag) GetName ¶
func (*Tag) GetSpecificationExtension ¶
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) Reset ¶
func (m *Tag) Reset()
func (*Tag) ResolveReferences ¶
ResolveReferences resolves references found inside Tag objects.
func (*Tag) String ¶
func (*Tag) ToRawInfo ¶
func (m *Tag) ToRawInfo() interface{}
ToRawInfo returns a description of Tag suitable for JSON or YAML export.
type Xml ¶
type Xml struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` Prefix string `protobuf:"bytes,3,opt,name=prefix" json:"prefix,omitempty"` Attribute bool `protobuf:"varint,4,opt,name=attribute" json:"attribute,omitempty"` Wrapped bool `protobuf:"varint,5,opt,name=wrapped" json:"wrapped,omitempty"` SpecificationExtension []*NamedAny `protobuf:"bytes,6,rep,name=specification_extension,json=specificationExtension" json:"specification_extension,omitempty"` }
A metadata object that allows for more fine-tuned XML model definitions. When using arrays, XML element names are *not* inferred (for singular/plural forms) and the `name` property SHOULD be used to add that information. See examples for expected behavior.
func NewXml ¶
NewXml creates an object of type Xml if possible, returning an error if not.
func (*Xml) Descriptor ¶
func (*Xml) GetAttribute ¶
func (*Xml) GetName ¶
func (*Xml) GetNamespace ¶
func (*Xml) GetPrefix ¶
func (*Xml) GetSpecificationExtension ¶
func (*Xml) GetWrapped ¶
func (*Xml) ProtoMessage ¶
func (*Xml) ProtoMessage()
func (*Xml) Reset ¶
func (m *Xml) Reset()
func (*Xml) ResolveReferences ¶
ResolveReferences resolves references found inside Xml objects.
func (*Xml) String ¶
func (*Xml) ToRawInfo ¶
func (m *Xml) ToRawInfo() interface{}
ToRawInfo returns a description of Xml suitable for JSON or YAML export.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
OpenAPIv3/schema-generator | schema-generator is a support tool that generates the OpenAPI v3 JSON schema. |
- Version
- v0.2.2
- Published
- May 19, 2018
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 1 hour ago –
Tools for package owners.