Documentation ¶
Index ¶
- Variables
- func BodyToSchemaOrReferenceMap(b *light.Body) (map[string]*SchemaOrReference, error)
- func SchemaOrReferenceMapToBody(m map[string]*SchemaOrReference) (*light.Body, error)
- type AdditionalPropertiesItem
- func (*AdditionalPropertiesItem) Descriptor() ([]byte, []int)deprecated
- func (x *AdditionalPropertiesItem) GetBoolean() bool
- func (m *AdditionalPropertiesItem) GetOneof() isAdditionalPropertiesItem_Oneof
- func (x *AdditionalPropertiesItem) GetSchemaOrReference() *SchemaOrReference
- func (*AdditionalPropertiesItem) ProtoMessage()
- func (x *AdditionalPropertiesItem) ProtoReflect() protoreflect.Message
- func (x *AdditionalPropertiesItem) Reset()
- func (x *AdditionalPropertiesItem) String() string
- type AdditionalPropertiesItem_Boolean
- type AdditionalPropertiesItem_SchemaOrReference
- type Any
- type AnyOrExpression
- func (*AnyOrExpression) Descriptor() ([]byte, []int)deprecated
- func (x *AnyOrExpression) GetAny() *Any
- func (x *AnyOrExpression) GetExpression() *Expression
- func (m *AnyOrExpression) GetOneof() isAnyOrExpression_Oneof
- func (*AnyOrExpression) ProtoMessage()
- func (x *AnyOrExpression) ProtoReflect() protoreflect.Message
- func (x *AnyOrExpression) Reset()
- func (x *AnyOrExpression) String() string
- type AnyOrExpression_Any
- type AnyOrExpression_Expression
- type Callback
- type CallbackOrReference
- func (*CallbackOrReference) Descriptor() ([]byte, []int)deprecated
- func (x *CallbackOrReference) GetCallback() *Callback
- func (m *CallbackOrReference) GetOneof() isCallbackOrReference_Oneof
- func (x *CallbackOrReference) GetReference() *Reference
- func (*CallbackOrReference) ProtoMessage()
- func (x *CallbackOrReference) ProtoReflect() protoreflect.Message
- func (x *CallbackOrReference) Reset()
- func (x *CallbackOrReference) String() string
- type CallbackOrReference_Callback
- type CallbackOrReference_Reference
- type Components
- func (*Components) Descriptor() ([]byte, []int)deprecated
- func (x *Components) GetCallbacks() map[string]*CallbackOrReference
- func (x *Components) GetExamples() map[string]*ExampleOrReference
- func (x *Components) GetHeaders() map[string]*HeaderOrReference
- func (x *Components) GetLinks() map[string]*LinkOrReference
- func (x *Components) GetParameters() map[string]*ParameterOrReference
- func (x *Components) GetRequestBodies() map[string]*RequestBodyOrReference
- func (x *Components) GetResponses() map[string]*ResponseOrReference
- func (x *Components) GetSchemas() map[string]*SchemaOrReference
- func (x *Components) GetSecuritySchemes() map[string]*SecuritySchemeOrReference
- func (x *Components) GetSpecificationExtension() map[string]*Any
- func (*Components) ProtoMessage()
- func (x *Components) ProtoReflect() protoreflect.Message
- func (x *Components) Reset()
- func (x *Components) String() string
- type Contact
- func (*Contact) Descriptor() ([]byte, []int)deprecated
- func (x *Contact) GetEmail() string
- func (x *Contact) GetName() string
- func (x *Contact) GetSpecificationExtension() map[string]*Any
- func (x *Contact) GetUrl() string
- func (*Contact) ProtoMessage()
- func (x *Contact) ProtoReflect() protoreflect.Message
- func (x *Contact) Reset()
- func (x *Contact) String() string
- type DefaultType
- func (*DefaultType) Descriptor() ([]byte, []int)deprecated
- func (x *DefaultType) GetBoolean() bool
- func (x *DefaultType) GetNumber() float64
- func (m *DefaultType) GetOneof() isDefaultType_Oneof
- func (x *DefaultType) GetString_() string
- func (*DefaultType) ProtoMessage()
- func (x *DefaultType) ProtoReflect() protoreflect.Message
- func (x *DefaultType) Reset()
- func (x *DefaultType) String() string
- type DefaultType_Boolean
- type DefaultType_Number
- type DefaultType_String_
- type Discriminator
- func (*Discriminator) Descriptor() ([]byte, []int)deprecated
- func (x *Discriminator) GetMapping() map[string]string
- func (x *Discriminator) GetPropertyName() string
- func (x *Discriminator) GetSpecificationExtension() map[string]*Any
- func (*Discriminator) ProtoMessage()
- func (x *Discriminator) ProtoReflect() protoreflect.Message
- func (x *Discriminator) Reset()
- func (x *Discriminator) String() string
- type Document
- func (*Document) Descriptor() ([]byte, []int)deprecated
- func (x *Document) GetComponents() *Components
- func (self *Document) GetDefaultServer() (string, error)
- func (x *Document) GetExternalDocs() *ExternalDocs
- func (x *Document) GetInfo() *Info
- func (x *Document) GetOpenapi() string
- func (x *Document) GetPaths() map[string]*PathItemOrReference
- func (x *Document) GetSecurity() []*SecurityRequirement
- func (x *Document) GetServers() []*Server
- func (x *Document) GetSpecificationExtension() map[string]*Any
- func (x *Document) GetTags() []*Tag
- func (self *Document) MarshalHCL() ([]byte, error)
- func (*Document) ProtoMessage()
- func (x *Document) ProtoReflect() protoreflect.Message
- func (x *Document) Reset()
- func (self *Document) ResolveExampleOrReference(reference *Reference) (*Example, error)
- func (self *Document) ResolveHeaderOrReference(reference *Reference) (*Header, error)
- func (self *Document) ResolveParameterOrReference(reference *Reference) (*Parameter, error)
- func (self *Document) ResolveReponseOrReference(reference *Reference) (*Response, error)
- func (self *Document) ResolveRequestBodyOrReference(reference *Reference) (*RequestBody, error)
- func (self *Document) ResolveSchemaOrReference(sor *SchemaOrReference) (*SchemaOrReference, error)
- func (self *Document) ResolveSecuritySchemeOrReference(reference *Reference) (*SecurityScheme, error)
- func (x *Document) String() string
- func (self *Document) ToApi() *openapiv3.Document
- func (self *Document) ToBody() (*light.Body, error)
- func (self *Document) UnmarshalHCL(data []byte) error
- type Encoding
- func (*Encoding) Descriptor() ([]byte, []int)deprecated
- func (x *Encoding) GetAllowReserved() bool
- func (x *Encoding) GetContentType() string
- func (x *Encoding) GetExplode() bool
- func (x *Encoding) GetHeaders() map[string]*HeaderOrReference
- func (x *Encoding) GetSpecificationExtension() map[string]*Any
- func (x *Encoding) GetStyle() string
- func (*Encoding) ProtoMessage()
- func (x *Encoding) ProtoReflect() protoreflect.Message
- func (x *Encoding) Reset()
- func (x *Encoding) String() string
- type Example
- func (*Example) Descriptor() ([]byte, []int)deprecated
- func (x *Example) GetDescription() string
- func (x *Example) GetExternalValue() string
- func (x *Example) GetSpecificationExtension() map[string]*Any
- func (x *Example) GetSummary() string
- func (x *Example) GetValue() *Any
- func (*Example) ProtoMessage()
- func (x *Example) ProtoReflect() protoreflect.Message
- func (x *Example) Reset()
- func (x *Example) String() string
- type ExampleOrReference
- func (*ExampleOrReference) Descriptor() ([]byte, []int)deprecated
- func (x *ExampleOrReference) GetExample() *Example
- func (m *ExampleOrReference) GetOneof() isExampleOrReference_Oneof
- func (x *ExampleOrReference) GetReference() *Reference
- func (*ExampleOrReference) ProtoMessage()
- func (x *ExampleOrReference) ProtoReflect() protoreflect.Message
- func (x *ExampleOrReference) Reset()
- func (x *ExampleOrReference) String() string
- type ExampleOrReference_Example
- type ExampleOrReference_Reference
- type Expression
- type ExternalDocs
- func (*ExternalDocs) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalDocs) GetDescription() string
- func (x *ExternalDocs) GetSpecificationExtension() map[string]*Any
- func (x *ExternalDocs) GetUrl() string
- func (*ExternalDocs) ProtoMessage()
- func (x *ExternalDocs) ProtoReflect() protoreflect.Message
- func (x *ExternalDocs) Reset()
- func (x *ExternalDocs) String() string
- type Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetAllowEmptyValue() bool
- func (x *Header) GetAllowReserved() bool
- func (x *Header) GetContent() map[string]*MediaType
- func (x *Header) GetDeprecated() bool
- func (x *Header) GetDescription() string
- func (x *Header) GetExample() *Any
- func (x *Header) GetExamples() map[string]*ExampleOrReference
- func (x *Header) GetExplode() bool
- func (x *Header) GetRequired() bool
- func (x *Header) GetSchema() *SchemaOrReference
- func (x *Header) GetSpecificationExtension() map[string]*Any
- func (x *Header) GetStyle() string
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) String() string
- type HeaderOrReference
- func (*HeaderOrReference) Descriptor() ([]byte, []int)deprecated
- func (x *HeaderOrReference) GetHeader() *Header
- func (m *HeaderOrReference) GetOneof() isHeaderOrReference_Oneof
- func (x *HeaderOrReference) GetReference() *Reference
- func (*HeaderOrReference) ProtoMessage()
- func (x *HeaderOrReference) ProtoReflect() protoreflect.Message
- func (x *HeaderOrReference) Reset()
- func (x *HeaderOrReference) String() string
- type HeaderOrReference_Header
- type HeaderOrReference_Reference
- type Info
- func (*Info) Descriptor() ([]byte, []int)deprecated
- func (x *Info) GetContact() *Contact
- func (x *Info) GetDescription() string
- func (x *Info) GetLicense() *License
- func (x *Info) GetSpecificationExtension() map[string]*Any
- func (x *Info) GetSummary() string
- func (x *Info) GetTermsOfService() string
- func (x *Info) GetTitle() string
- func (x *Info) GetVersion() string
- func (*Info) ProtoMessage()
- func (x *Info) ProtoReflect() protoreflect.Message
- func (x *Info) Reset()
- func (x *Info) String() string
- type License
- func (*License) Descriptor() ([]byte, []int)deprecated
- func (x *License) GetName() string
- func (x *License) GetSpecificationExtension() map[string]*Any
- func (x *License) GetUrl() string
- func (*License) ProtoMessage()
- func (x *License) ProtoReflect() protoreflect.Message
- func (x *License) Reset()
- func (x *License) String() string
- type Link
- func (*Link) Descriptor() ([]byte, []int)deprecated
- func (x *Link) GetDescription() string
- func (x *Link) GetOperationId() string
- func (x *Link) GetOperationRef() string
- func (x *Link) GetParameters() *AnyOrExpression
- func (x *Link) GetRequestBody() *AnyOrExpression
- func (x *Link) GetServer() *Server
- func (x *Link) GetSpecificationExtension() map[string]*Any
- func (*Link) ProtoMessage()
- func (x *Link) ProtoReflect() protoreflect.Message
- func (x *Link) Reset()
- func (x *Link) String() string
- type LinkOrReference
- func (*LinkOrReference) Descriptor() ([]byte, []int)deprecated
- func (x *LinkOrReference) GetLink() *Link
- func (m *LinkOrReference) GetOneof() isLinkOrReference_Oneof
- func (x *LinkOrReference) GetReference() *Reference
- func (*LinkOrReference) ProtoMessage()
- func (x *LinkOrReference) ProtoReflect() protoreflect.Message
- func (x *LinkOrReference) Reset()
- func (x *LinkOrReference) String() string
- type LinkOrReference_Link
- type LinkOrReference_Reference
- type MediaType
- func (*MediaType) Descriptor() ([]byte, []int)deprecated
- func (x *MediaType) GetEncoding() map[string]*Encoding
- func (x *MediaType) GetExample() *Any
- func (x *MediaType) GetExamples() map[string]*ExampleOrReference
- func (x *MediaType) GetSchema() *SchemaOrReference
- func (x *MediaType) GetSpecificationExtension() map[string]*Any
- func (*MediaType) ProtoMessage()
- func (x *MediaType) ProtoReflect() protoreflect.Message
- func (x *MediaType) Reset()
- func (x *MediaType) String() string
- type OASArray
- type OASBoolean
- type OASMap
- type OASNumber
- func (*OASNumber) Descriptor() ([]byte, []int)deprecated
- func (x *OASNumber) GetCommon() *SchemaCommon
- func (x *OASNumber) GetNumber() *SchemaNumber
- func (*OASNumber) ProtoMessage()
- func (x *OASNumber) ProtoReflect() protoreflect.Message
- func (x *OASNumber) Reset()
- func (x *OASNumber) String() string
- type OASObject
- func (*OASObject) Descriptor() ([]byte, []int)deprecated
- func (x *OASObject) GetCommon() *SchemaCommon
- func (x *OASObject) GetObject() *SchemaObject
- func (*OASObject) ProtoMessage()
- func (x *OASObject) ProtoReflect() protoreflect.Message
- func (x *OASObject) Reset()
- func (x *OASObject) String() string
- type OASString
- func (*OASString) Descriptor() ([]byte, []int)deprecated
- func (x *OASString) GetCommon() *SchemaCommon
- func (x *OASString) GetString_() *SchemaString
- func (*OASString) ProtoMessage()
- func (x *OASString) ProtoReflect() protoreflect.Message
- func (x *OASString) Reset()
- func (x *OASString) String() string
- type OauthFlow
- func (*OauthFlow) Descriptor() ([]byte, []int)deprecated
- func (x *OauthFlow) GetAuthorizationUrl() string
- func (x *OauthFlow) GetRefreshUrl() string
- func (x *OauthFlow) GetScopes() map[string]string
- func (x *OauthFlow) GetSpecificationExtension() map[string]*Any
- func (x *OauthFlow) GetTokenUrl() string
- func (*OauthFlow) ProtoMessage()
- func (x *OauthFlow) ProtoReflect() protoreflect.Message
- func (x *OauthFlow) Reset()
- func (x *OauthFlow) String() string
- type OauthFlows
- func (*OauthFlows) Descriptor() ([]byte, []int)deprecated
- func (x *OauthFlows) GetAuthorizationCode() *OauthFlow
- func (x *OauthFlows) GetClientCredentials() *OauthFlow
- func (x *OauthFlows) GetImplicit() *OauthFlow
- func (x *OauthFlows) GetPassword() *OauthFlow
- func (x *OauthFlows) GetSpecificationExtension() map[string]*Any
- func (*OauthFlows) ProtoMessage()
- func (x *OauthFlows) ProtoReflect() protoreflect.Message
- func (x *OauthFlows) Reset()
- func (x *OauthFlows) String() string
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)deprecated
- func (x *Operation) GetCallbacks() map[string]*CallbackOrReference
- func (x *Operation) GetDeprecated() bool
- func (x *Operation) GetDescription() string
- func (x *Operation) GetExternalDocs() *ExternalDocs
- func (x *Operation) GetOperationId() string
- func (x *Operation) GetParameters() []*ParameterOrReference
- func (x *Operation) GetRequestBody() *RequestBodyOrReference
- func (x *Operation) GetResponses() map[string]*ResponseOrReference
- func (x *Operation) GetSecurity() []*SecurityRequirement
- func (x *Operation) GetServers() []*Server
- func (x *Operation) GetSpecificationExtension() map[string]*Any
- func (x *Operation) GetSummary() string
- func (x *Operation) GetTags() []string
- func (*Operation) ProtoMessage()
- func (x *Operation) ProtoReflect() protoreflect.Message
- func (x *Operation) Reset()
- func (x *Operation) String() string
- type Parameter
- func (*Parameter) Descriptor() ([]byte, []int)deprecated
- func (x *Parameter) GetAllowEmptyValue() bool
- func (x *Parameter) GetAllowReserved() bool
- func (x *Parameter) GetContent() map[string]*MediaType
- func (x *Parameter) GetDeprecated() bool
- func (x *Parameter) GetDescription() string
- func (x *Parameter) GetExample() *Any
- func (x *Parameter) GetExamples() map[string]*ExampleOrReference
- func (x *Parameter) GetExplode() bool
- func (x *Parameter) GetIn() string
- func (x *Parameter) GetName() string
- func (x *Parameter) GetRequired() bool
- func (x *Parameter) GetSchema() *SchemaOrReference
- func (x *Parameter) GetSpecificationExtension() map[string]*Any
- func (x *Parameter) GetStyle() string
- func (*Parameter) ProtoMessage()
- func (x *Parameter) ProtoReflect() protoreflect.Message
- func (x *Parameter) Reset()
- func (x *Parameter) String() string
- type ParameterOrReference
- func (*ParameterOrReference) Descriptor() ([]byte, []int)deprecated
- func (m *ParameterOrReference) GetOneof() isParameterOrReference_Oneof
- func (x *ParameterOrReference) GetParameter() *Parameter
- func (x *ParameterOrReference) GetReference() *Reference
- func (*ParameterOrReference) ProtoMessage()
- func (x *ParameterOrReference) ProtoReflect() protoreflect.Message
- func (x *ParameterOrReference) Reset()
- func (x *ParameterOrReference) String() string
- type ParameterOrReference_Parameter
- type ParameterOrReference_Reference
- type PathItem
- func (*PathItem) Descriptor() ([]byte, []int)deprecated
- func (x *PathItem) GetDelete() *Operation
- func (x *PathItem) GetDescription() string
- func (x *PathItem) GetGet() *Operation
- func (x *PathItem) GetHead() *Operation
- func (x *PathItem) GetOptions() *Operation
- func (x *PathItem) GetParameters() []*ParameterOrReference
- func (x *PathItem) GetPatch() *Operation
- func (x *PathItem) GetPost() *Operation
- func (x *PathItem) GetPut() *Operation
- func (x *PathItem) GetServers() []*Server
- func (x *PathItem) GetSpecificationExtension() map[string]*Any
- func (x *PathItem) GetSummary() string
- func (x *PathItem) GetTrace() *Operation
- func (*PathItem) ProtoMessage()
- func (x *PathItem) ProtoReflect() protoreflect.Message
- func (x *PathItem) Reset()
- func (x *PathItem) String() string
- func (self *PathItem) ToOperationMap() map[string]*Operation
- type PathItemOrReference
- func (*PathItemOrReference) Descriptor() ([]byte, []int)deprecated
- func (x *PathItemOrReference) GetItem() *PathItem
- func (m *PathItemOrReference) GetOneof() isPathItemOrReference_Oneof
- func (x *PathItemOrReference) GetReference() *Reference
- func (*PathItemOrReference) ProtoMessage()
- func (x *PathItemOrReference) ProtoReflect() protoreflect.Message
- func (x *PathItemOrReference) Reset()
- func (x *PathItemOrReference) String() string
- type PathItemOrReference_Item
- type PathItemOrReference_Reference
- type Reference
- func (*Reference) Descriptor() ([]byte, []int)deprecated
- func (x *Reference) GetDescription() string
- func (x *Reference) GetSummary() string
- func (x *Reference) GetXRef() string
- func (*Reference) ProtoMessage()
- func (x *Reference) ProtoReflect() protoreflect.Message
- func (x *Reference) Reset()
- func (x *Reference) String() string
- type RequestBody
- func (*RequestBody) Descriptor() ([]byte, []int)deprecated
- func (x *RequestBody) GetContent() map[string]*MediaType
- func (x *RequestBody) GetDescription() string
- func (x *RequestBody) GetRequired() bool
- func (x *RequestBody) GetSpecificationExtension() map[string]*Any
- func (*RequestBody) ProtoMessage()
- func (x *RequestBody) ProtoReflect() protoreflect.Message
- func (x *RequestBody) Reset()
- func (x *RequestBody) String() string
- type RequestBodyOrReference
- func (*RequestBodyOrReference) Descriptor() ([]byte, []int)deprecated
- func (m *RequestBodyOrReference) GetOneof() isRequestBodyOrReference_Oneof
- func (x *RequestBodyOrReference) GetReference() *Reference
- func (x *RequestBodyOrReference) GetRequestBody() *RequestBody
- func (*RequestBodyOrReference) ProtoMessage()
- func (x *RequestBodyOrReference) ProtoReflect() protoreflect.Message
- func (x *RequestBodyOrReference) Reset()
- func (x *RequestBodyOrReference) String() string
- type RequestBodyOrReference_Reference
- type RequestBodyOrReference_RequestBody
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetContent() map[string]*MediaType
- func (x *Response) GetDescription() string
- func (x *Response) GetHeaders() map[string]*HeaderOrReference
- func (x *Response) GetLinks() map[string]*LinkOrReference
- func (x *Response) GetSpecificationExtension() map[string]*Any
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type ResponseOrReference
- func (*ResponseOrReference) Descriptor() ([]byte, []int)deprecated
- func (m *ResponseOrReference) GetOneof() isResponseOrReference_Oneof
- func (x *ResponseOrReference) GetReference() *Reference
- func (x *ResponseOrReference) GetResponse() *Response
- func (*ResponseOrReference) ProtoMessage()
- func (x *ResponseOrReference) ProtoReflect() protoreflect.Message
- func (x *ResponseOrReference) Reset()
- func (x *ResponseOrReference) String() string
- type ResponseOrReference_Reference
- type ResponseOrReference_Response
- type Schema
- func (*Schema) Descriptor() ([]byte, []int)deprecated
- func (x *Schema) GetAllOf() *SchemaAllOf
- func (x *Schema) GetAnyOf() *SchemaAnyOf
- func (x *Schema) GetArray() *SchemaArray
- func (x *Schema) GetCommon() *SchemaCommon
- func (x *Schema) GetDeprecated() bool
- func (x *Schema) GetDiscriminator() *Discriminator
- func (x *Schema) GetExternalDocs() *ExternalDocs
- func (x *Schema) GetMap() *SchemaMap
- func (x *Schema) GetNot() *SchemaOrReference
- func (x *Schema) GetNullable() bool
- func (x *Schema) GetNumber() *SchemaNumber
- func (x *Schema) GetObject() *SchemaObject
- func (x *Schema) GetOneOf() *SchemaOneOf
- func (x *Schema) GetReadOnly() bool
- func (x *Schema) GetSpecificationExtension() map[string]*Any
- func (x *Schema) GetString_() *SchemaString
- func (x *Schema) GetTitle() string
- func (x *Schema) GetWriteOnly() bool
- func (x *Schema) GetXml() *Xml
- func (*Schema) ProtoMessage()
- func (x *Schema) ProtoReflect() protoreflect.Message
- func (x *Schema) Reset()
- func (x *Schema) String() string
- type SchemaAllOf
- type SchemaAnyOf
- type SchemaArray
- func (*SchemaArray) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaArray) GetItems() []*SchemaOrReference
- func (x *SchemaArray) GetMaxItems() int64
- func (x *SchemaArray) GetMinItems() int64
- func (x *SchemaArray) GetUniqueItems() bool
- func (*SchemaArray) ProtoMessage()
- func (x *SchemaArray) ProtoReflect() protoreflect.Message
- func (x *SchemaArray) Reset()
- func (x *SchemaArray) String() string
- type SchemaCommon
- func (*SchemaCommon) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaCommon) GetDefault() *DefaultType
- func (x *SchemaCommon) GetDescription() string
- func (x *SchemaCommon) GetEnum() []*Any
- func (x *SchemaCommon) GetExample() *Any
- func (x *SchemaCommon) GetFormat() string
- func (x *SchemaCommon) GetType() string
- func (*SchemaCommon) ProtoMessage()
- func (x *SchemaCommon) ProtoReflect() protoreflect.Message
- func (x *SchemaCommon) Reset()
- func (x *SchemaCommon) String() string
- type SchemaMap
- type SchemaNumber
- func (*SchemaNumber) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaNumber) GetExclusiveMaximum() bool
- func (x *SchemaNumber) GetExclusiveMinimum() bool
- func (x *SchemaNumber) GetMaximum() float64
- func (x *SchemaNumber) GetMinimum() float64
- func (x *SchemaNumber) GetMultipleOf() float64
- func (*SchemaNumber) ProtoMessage()
- func (x *SchemaNumber) ProtoReflect() protoreflect.Message
- func (x *SchemaNumber) Reset()
- func (x *SchemaNumber) String() string
- type SchemaObject
- func (*SchemaObject) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaObject) GetMaxProperties() int64
- func (x *SchemaObject) GetMinProperties() int64
- func (x *SchemaObject) GetProperties() map[string]*SchemaOrReference
- func (x *SchemaObject) GetRequired() []string
- func (self *SchemaObject) MarshalHCL() ([]byte, error)
- func (*SchemaObject) ProtoMessage()
- func (x *SchemaObject) ProtoReflect() protoreflect.Message
- func (x *SchemaObject) Reset()
- func (x *SchemaObject) String() string
- func (self *SchemaObject) UnmarshalHCL(bs []byte, labels ...string) error
- type SchemaOneOf
- type SchemaOrReference
- func (*SchemaOrReference) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaOrReference) GetAllOf() *SchemaAllOf
- func (x *SchemaOrReference) GetAnyOf() *SchemaAnyOf
- func (x *SchemaOrReference) GetArray() *OASArray
- func (x *SchemaOrReference) GetBoolean() *OASBoolean
- func (x *SchemaOrReference) GetMap() *OASMap
- func (x *SchemaOrReference) GetNumber() *OASNumber
- func (x *SchemaOrReference) GetObject() *OASObject
- func (x *SchemaOrReference) GetOneOf() *SchemaOneOf
- func (m *SchemaOrReference) GetOneof() isSchemaOrReference_Oneof
- func (x *SchemaOrReference) GetReference() *Reference
- func (x *SchemaOrReference) GetSchema() *Schema
- func (x *SchemaOrReference) GetString_() *OASString
- func (*SchemaOrReference) ProtoMessage()
- func (x *SchemaOrReference) ProtoReflect() protoreflect.Message
- func (x *SchemaOrReference) Reset()
- func (x *SchemaOrReference) String() string
- type SchemaOrReference_AllOf
- type SchemaOrReference_AnyOf
- type SchemaOrReference_Array
- type SchemaOrReference_Boolean
- type SchemaOrReference_Map
- type SchemaOrReference_Number
- type SchemaOrReference_Object
- type SchemaOrReference_OneOf
- type SchemaOrReference_Reference
- type SchemaOrReference_Schema
- type SchemaOrReference_String_
- type SchemaString
- func (*SchemaString) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaString) GetMaxLength() int64
- func (x *SchemaString) GetMinLength() int64
- func (x *SchemaString) GetPattern() string
- func (*SchemaString) ProtoMessage()
- func (x *SchemaString) ProtoReflect() protoreflect.Message
- func (x *SchemaString) Reset()
- func (x *SchemaString) String() string
- type SecurityRequirement
- func (*SecurityRequirement) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityRequirement) GetAdditionalProperties() map[string]*StringArray
- func (*SecurityRequirement) ProtoMessage()
- func (x *SecurityRequirement) ProtoReflect() protoreflect.Message
- func (x *SecurityRequirement) Reset()
- func (x *SecurityRequirement) String() string
- type SecurityScheme
- func (*SecurityScheme) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityScheme) GetBearerFormat() string
- func (x *SecurityScheme) GetDescription() string
- func (x *SecurityScheme) GetFlows() *OauthFlows
- func (x *SecurityScheme) GetIn() string
- func (x *SecurityScheme) GetName() string
- func (x *SecurityScheme) GetOpenIdConnectUrl() string
- func (x *SecurityScheme) GetScheme() string
- func (x *SecurityScheme) GetSpecificationExtension() map[string]*Any
- func (x *SecurityScheme) GetType() string
- func (self *SecurityScheme) MarshalHCL() ([]byte, error)
- func (*SecurityScheme) ProtoMessage()
- func (x *SecurityScheme) ProtoReflect() protoreflect.Message
- func (x *SecurityScheme) Reset()
- func (x *SecurityScheme) String() string
- func (self *SecurityScheme) UnmarshalHCL(bs []byte, labels ...string) error
- type SecuritySchemeOrReference
- func (*SecuritySchemeOrReference) Descriptor() ([]byte, []int)deprecated
- func (m *SecuritySchemeOrReference) GetOneof() isSecuritySchemeOrReference_Oneof
- func (x *SecuritySchemeOrReference) GetReference() *Reference
- func (x *SecuritySchemeOrReference) GetSecurityScheme() *SecurityScheme
- func (*SecuritySchemeOrReference) ProtoMessage()
- func (x *SecuritySchemeOrReference) ProtoReflect() protoreflect.Message
- func (x *SecuritySchemeOrReference) Reset()
- func (x *SecuritySchemeOrReference) String() string
- type SecuritySchemeOrReference_Reference
- type SecuritySchemeOrReference_SecurityScheme
- type Server
- func (*Server) Descriptor() ([]byte, []int)deprecated
- func (x *Server) GetDescription() string
- func (x *Server) GetSpecificationExtension() map[string]*Any
- func (x *Server) GetUrl() string
- func (x *Server) GetVariables() map[string]*ServerVariable
- func (*Server) ProtoMessage()
- func (x *Server) ProtoReflect() protoreflect.Message
- func (x *Server) Reset()
- func (x *Server) String() string
- type ServerVariable
- func (*ServerVariable) Descriptor() ([]byte, []int)deprecated
- func (x *ServerVariable) GetDefault() string
- func (x *ServerVariable) GetDescription() string
- func (x *ServerVariable) GetEnum() []string
- func (x *ServerVariable) GetSpecificationExtension() map[string]*Any
- func (*ServerVariable) ProtoMessage()
- func (x *ServerVariable) ProtoReflect() protoreflect.Message
- func (x *ServerVariable) Reset()
- func (x *ServerVariable) String() string
- type StringArray
- type Tag
- func (*Tag) Descriptor() ([]byte, []int)deprecated
- func (x *Tag) GetDescription() string
- func (x *Tag) GetExternalDocs() *ExternalDocs
- func (x *Tag) GetName() string
- func (x *Tag) GetSpecificationExtension() map[string]*Any
- func (*Tag) ProtoMessage()
- func (x *Tag) ProtoReflect() protoreflect.Message
- func (x *Tag) Reset()
- func (x *Tag) String() string
- type Xml
- func (*Xml) Descriptor() ([]byte, []int)deprecated
- func (x *Xml) GetAttribute() bool
- func (x *Xml) GetName() string
- func (x *Xml) GetNamespace() string
- func (x *Xml) GetPrefix() string
- func (x *Xml) GetSpecificationExtension() map[string]*Any
- func (x *Xml) GetWrapped() bool
- func (*Xml) ProtoMessage()
- func (x *Xml) ProtoReflect() protoreflect.Message
- func (x *Xml) Reset()
- func (x *Xml) String() string
Constants ¶
This section is empty.
Variables ¶
var ErrInvalidType = func(code int, e any) error { return fmt.Errorf("code %d: invalid type %v", code, e) }
var File_hcl_syntax_hcl_proto protoreflect.FileDescriptor
Functions ¶
func BodyToSchemaOrReferenceMap ¶ added in v0.1.5
func BodyToSchemaOrReferenceMap(b *light.Body) (map[string]*SchemaOrReference, error)
func SchemaOrReferenceMapToBody ¶ added in v0.1.4
func SchemaOrReferenceMapToBody(m map[string]*SchemaOrReference) (*light.Body, error)
Types ¶
type AdditionalPropertiesItem ¶
type AdditionalPropertiesItem struct { // Types that are assignable to Oneof: // *AdditionalPropertiesItem_SchemaOrReference // *AdditionalPropertiesItem_Boolean Oneof isAdditionalPropertiesItem_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func (*AdditionalPropertiesItem) Descriptor
deprecated
func (*AdditionalPropertiesItem) Descriptor() ([]byte, []int)
Deprecated: Use AdditionalPropertiesItem.ProtoReflect.Descriptor instead.
func (*AdditionalPropertiesItem) GetBoolean ¶
func (x *AdditionalPropertiesItem) GetBoolean() bool
func (*AdditionalPropertiesItem) GetOneof ¶
func (m *AdditionalPropertiesItem) GetOneof() isAdditionalPropertiesItem_Oneof
func (*AdditionalPropertiesItem) GetSchemaOrReference ¶
func (x *AdditionalPropertiesItem) GetSchemaOrReference() *SchemaOrReference
func (*AdditionalPropertiesItem) ProtoMessage ¶
func (*AdditionalPropertiesItem) ProtoMessage()
func (*AdditionalPropertiesItem) ProtoReflect ¶
func (x *AdditionalPropertiesItem) ProtoReflect() protoreflect.Message
func (*AdditionalPropertiesItem) Reset ¶
func (x *AdditionalPropertiesItem) Reset()
func (*AdditionalPropertiesItem) String ¶
func (x *AdditionalPropertiesItem) String() string
type AdditionalPropertiesItem_Boolean ¶
type AdditionalPropertiesItem_Boolean struct {
Boolean bool `protobuf:"varint,2,opt,name=boolean,proto3,oneof"`
}
type AdditionalPropertiesItem_SchemaOrReference ¶
type AdditionalPropertiesItem_SchemaOrReference struct {
SchemaOrReference *SchemaOrReference `protobuf:"bytes,1,opt,name=schema_or_reference,json=schemaOrReference,proto3,oneof"`
}
type Any ¶
type Any struct { Value *any.Any `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Yaml string `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"` // contains filtered or unexported fields }
func (*Any) Descriptor
deprecated
func (*Any) ProtoMessage ¶
func (*Any) ProtoMessage()
func (*Any) ProtoReflect ¶
func (x *Any) ProtoReflect() protoreflect.Message
type AnyOrExpression ¶
type AnyOrExpression struct { // Types that are assignable to Oneof: // *AnyOrExpression_Any // *AnyOrExpression_Expression Oneof isAnyOrExpression_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func (*AnyOrExpression) Descriptor
deprecated
func (*AnyOrExpression) Descriptor() ([]byte, []int)
Deprecated: Use AnyOrExpression.ProtoReflect.Descriptor instead.
func (*AnyOrExpression) GetAny ¶
func (x *AnyOrExpression) GetAny() *Any
func (*AnyOrExpression) GetExpression ¶
func (x *AnyOrExpression) GetExpression() *Expression
func (*AnyOrExpression) GetOneof ¶
func (m *AnyOrExpression) GetOneof() isAnyOrExpression_Oneof
func (*AnyOrExpression) ProtoMessage ¶
func (*AnyOrExpression) ProtoMessage()
func (*AnyOrExpression) ProtoReflect ¶
func (x *AnyOrExpression) ProtoReflect() protoreflect.Message
func (*AnyOrExpression) Reset ¶
func (x *AnyOrExpression) Reset()
func (*AnyOrExpression) String ¶
func (x *AnyOrExpression) String() string
type AnyOrExpression_Any ¶
type AnyOrExpression_Any struct {
Any *Any `protobuf:"bytes,1,opt,name=any,proto3,oneof"`
}
type AnyOrExpression_Expression ¶
type AnyOrExpression_Expression struct {
Expression *Expression `protobuf:"bytes,2,opt,name=expression,proto3,oneof"`
}
type Callback ¶
type Callback struct { Path map[string]*PathItemOrReference `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Callback) Descriptor
deprecated
func (*Callback) GetPath ¶
func (x *Callback) GetPath() map[string]*PathItemOrReference
func (*Callback) ProtoMessage ¶
func (*Callback) ProtoMessage()
func (*Callback) ProtoReflect ¶
func (x *Callback) ProtoReflect() protoreflect.Message
type CallbackOrReference ¶
type CallbackOrReference struct { // Types that are assignable to Oneof: // *CallbackOrReference_Callback // *CallbackOrReference_Reference Oneof isCallbackOrReference_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func (*CallbackOrReference) Descriptor
deprecated
func (*CallbackOrReference) Descriptor() ([]byte, []int)
Deprecated: Use CallbackOrReference.ProtoReflect.Descriptor instead.
func (*CallbackOrReference) GetCallback ¶
func (x *CallbackOrReference) GetCallback() *Callback
func (*CallbackOrReference) GetOneof ¶
func (m *CallbackOrReference) GetOneof() isCallbackOrReference_Oneof
func (*CallbackOrReference) GetReference ¶
func (x *CallbackOrReference) GetReference() *Reference
func (*CallbackOrReference) ProtoMessage ¶
func (*CallbackOrReference) ProtoMessage()
func (*CallbackOrReference) ProtoReflect ¶
func (x *CallbackOrReference) ProtoReflect() protoreflect.Message
func (*CallbackOrReference) Reset ¶
func (x *CallbackOrReference) Reset()
func (*CallbackOrReference) String ¶
func (x *CallbackOrReference) String() string
type CallbackOrReference_Callback ¶
type CallbackOrReference_Callback struct {
Callback *Callback `protobuf:"bytes,1,opt,name=callback,proto3,oneof"`
}
type CallbackOrReference_Reference ¶
type CallbackOrReference_Reference struct {
Reference *Reference `protobuf:"bytes,2,opt,name=reference,proto3,oneof"`
}
type Components ¶
type Components struct { Schemas map[string]*SchemaOrReference `` /* 155-byte string literal not displayed */ Responses map[string]*ResponseOrReference `` /* 159-byte string literal not displayed */ Parameters map[string]*ParameterOrReference `` /* 161-byte string literal not displayed */ Examples map[string]*ExampleOrReference `` /* 157-byte string literal not displayed */ RequestBodies map[string]*RequestBodyOrReference `` /* 188-byte string literal not displayed */ Headers map[string]*HeaderOrReference `` /* 155-byte string literal not displayed */ SecuritySchemes map[string]*SecuritySchemeOrReference `` /* 194-byte string literal not displayed */ Links map[string]*LinkOrReference `` /* 151-byte string literal not displayed */ Callbacks map[string]*CallbackOrReference `` /* 159-byte string literal not displayed */ SpecificationExtension map[string]*Any `` /* 216-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Components) Descriptor
deprecated
func (*Components) Descriptor() ([]byte, []int)
Deprecated: Use Components.ProtoReflect.Descriptor instead.
func (*Components) GetCallbacks ¶
func (x *Components) GetCallbacks() map[string]*CallbackOrReference
func (*Components) GetExamples ¶
func (x *Components) GetExamples() map[string]*ExampleOrReference
func (*Components) GetHeaders ¶
func (x *Components) GetHeaders() map[string]*HeaderOrReference
func (*Components) GetLinks ¶
func (x *Components) GetLinks() map[string]*LinkOrReference
func (*Components) GetParameters ¶
func (x *Components) GetParameters() map[string]*ParameterOrReference
func (*Components) GetRequestBodies ¶
func (x *Components) GetRequestBodies() map[string]*RequestBodyOrReference
func (*Components) GetResponses ¶
func (x *Components) GetResponses() map[string]*ResponseOrReference
func (*Components) GetSchemas ¶
func (x *Components) GetSchemas() map[string]*SchemaOrReference
func (*Components) GetSecuritySchemes ¶
func (x *Components) GetSecuritySchemes() map[string]*SecuritySchemeOrReference
func (*Components) GetSpecificationExtension ¶
func (x *Components) GetSpecificationExtension() map[string]*Any
func (*Components) ProtoMessage ¶
func (*Components) ProtoMessage()
func (*Components) ProtoReflect ¶
func (x *Components) ProtoReflect() protoreflect.Message
func (*Components) Reset ¶
func (x *Components) Reset()
func (*Components) String ¶
func (x *Components) String() string
type Contact ¶
type Contact struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` SpecificationExtension map[string]*Any `` /* 215-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Contact) Descriptor
deprecated
func (*Contact) GetSpecificationExtension ¶
func (*Contact) ProtoMessage ¶
func (*Contact) ProtoMessage()
func (*Contact) ProtoReflect ¶
func (x *Contact) ProtoReflect() protoreflect.Message
type DefaultType ¶
type DefaultType struct { // Types that are assignable to Oneof: // *DefaultType_Number // *DefaultType_Boolean // *DefaultType_String_ Oneof isDefaultType_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func (*DefaultType) Descriptor
deprecated
func (*DefaultType) Descriptor() ([]byte, []int)
Deprecated: Use DefaultType.ProtoReflect.Descriptor instead.
func (*DefaultType) GetBoolean ¶
func (x *DefaultType) GetBoolean() bool
func (*DefaultType) GetNumber ¶
func (x *DefaultType) GetNumber() float64
func (*DefaultType) GetOneof ¶
func (m *DefaultType) GetOneof() isDefaultType_Oneof
func (*DefaultType) GetString_ ¶
func (x *DefaultType) GetString_() string
func (*DefaultType) ProtoMessage ¶
func (*DefaultType) ProtoMessage()
func (*DefaultType) ProtoReflect ¶
func (x *DefaultType) ProtoReflect() protoreflect.Message
func (*DefaultType) Reset ¶
func (x *DefaultType) Reset()
func (*DefaultType) String ¶
func (x *DefaultType) String() string
type DefaultType_Boolean ¶
type DefaultType_Boolean struct {
Boolean bool `protobuf:"varint,2,opt,name=boolean,proto3,oneof"`
}
type DefaultType_Number ¶
type DefaultType_Number struct {
Number float64 `protobuf:"fixed64,1,opt,name=number,proto3,oneof"`
}
type DefaultType_String_ ¶
type DefaultType_String_ struct {
String_ string `protobuf:"bytes,3,opt,name=string,proto3,oneof"`
}
type Discriminator ¶
type Discriminator struct { PropertyName string `protobuf:"bytes,1,opt,name=property_name,json=propertyName,proto3" json:"property_name,omitempty"` Mapping map[string]string `` /* 155-byte string literal not displayed */ SpecificationExtension map[string]*Any `` /* 215-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Discriminator) Descriptor
deprecated
func (*Discriminator) Descriptor() ([]byte, []int)
Deprecated: Use Discriminator.ProtoReflect.Descriptor instead.
func (*Discriminator) GetMapping ¶
func (x *Discriminator) GetMapping() map[string]string
func (*Discriminator) GetPropertyName ¶
func (x *Discriminator) GetPropertyName() string
func (*Discriminator) GetSpecificationExtension ¶
func (x *Discriminator) GetSpecificationExtension() map[string]*Any
func (*Discriminator) ProtoMessage ¶
func (*Discriminator) ProtoMessage()
func (*Discriminator) ProtoReflect ¶
func (x *Discriminator) ProtoReflect() protoreflect.Message
func (*Discriminator) Reset ¶
func (x *Discriminator) Reset()
func (*Discriminator) String ¶
func (x *Discriminator) String() string
type Document ¶
type Document struct { Openapi string `protobuf:"bytes,1,opt,name=openapi,proto3" json:"openapi,omitempty"` Info *Info `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` Servers []*Server `protobuf:"bytes,3,rep,name=servers,proto3" json:"servers,omitempty"` Paths map[string]*PathItemOrReference `` /* 151-byte string literal not displayed */ Components *Components `protobuf:"bytes,5,opt,name=components,proto3" json:"components,omitempty"` Security []*SecurityRequirement `protobuf:"bytes,6,rep,name=security,proto3" json:"security,omitempty"` Tags []*Tag `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"` ExternalDocs *ExternalDocs `protobuf:"bytes,8,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"` SpecificationExtension map[string]*Any `` /* 215-byte string literal not displayed */ // contains filtered or unexported fields }
func DocumentFromApi ¶
Document is the root document object of the OpenAPI document. DocumentFromApi converts an openapiv3.Document object to a Document object.
func ParseDocument ¶
ParseDocument parses a Document from HCL, JSON, or YAML. The data parameter is the input data. The extension parameter is the file extension, which can be "json", "jsn", "yaml", or "yml". If the extension parameter is not provided, it is default to "hcl".
func (*Document) Descriptor
deprecated
func (*Document) GetComponents ¶
func (x *Document) GetComponents() *Components
func (*Document) GetDefaultServer ¶ added in v0.1.5
func (*Document) GetExternalDocs ¶
func (x *Document) GetExternalDocs() *ExternalDocs
func (*Document) GetOpenapi ¶
func (*Document) GetPaths ¶
func (x *Document) GetPaths() map[string]*PathItemOrReference
func (*Document) GetSecurity ¶
func (x *Document) GetSecurity() []*SecurityRequirement
func (*Document) GetServers ¶
func (*Document) GetSpecificationExtension ¶
func (*Document) MarshalHCL ¶
MarshalHCL converts a Document to HCL representation.
func (*Document) ProtoMessage ¶
func (*Document) ProtoMessage()
func (*Document) ProtoReflect ¶
func (x *Document) ProtoReflect() protoreflect.Message
func (*Document) ResolveExampleOrReference ¶ added in v0.1.4
func (*Document) ResolveHeaderOrReference ¶ added in v0.1.5
func (*Document) ResolveParameterOrReference ¶ added in v0.1.4
func (*Document) ResolveReponseOrReference ¶ added in v0.1.4
func (*Document) ResolveRequestBodyOrReference ¶ added in v0.1.4
func (self *Document) ResolveRequestBodyOrReference(reference *Reference) (*RequestBody, error)
func (*Document) ResolveSchemaOrReference ¶ added in v0.1.4
func (self *Document) ResolveSchemaOrReference(sor *SchemaOrReference) (*SchemaOrReference, error)
func (*Document) ResolveSecuritySchemeOrReference ¶ added in v0.1.5
func (self *Document) ResolveSecuritySchemeOrReference(reference *Reference) (*SecurityScheme, error)
func (*Document) ToApi ¶ added in v0.1.1
ToApi() converts the Document object to the openapiv3.Document object.
func (*Document) UnmarshalHCL ¶
UnmarshalHCL converts HCL representation to a Document.
type Encoding ¶
type Encoding struct { ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` Headers map[string]*HeaderOrReference `` /* 155-byte string literal not displayed */ Style string `protobuf:"bytes,3,opt,name=style,proto3" json:"style,omitempty"` Explode bool `protobuf:"varint,4,opt,name=explode,proto3" json:"explode,omitempty"` AllowReserved bool `protobuf:"varint,5,opt,name=allow_reserved,json=allowReserved,proto3" json:"allow_reserved,omitempty"` SpecificationExtension map[string]*Any `` /* 215-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Encoding) Descriptor
deprecated
func (*Encoding) GetAllowReserved ¶
func (*Encoding) GetContentType ¶
func (*Encoding) GetExplode ¶
func (*Encoding) GetHeaders ¶
func (x *Encoding) GetHeaders() map[string]*HeaderOrReference
func (*Encoding) GetSpecificationExtension ¶
func (*Encoding) ProtoMessage ¶
func (*Encoding) ProtoMessage()
func (*Encoding) ProtoReflect ¶
func (x *Encoding) ProtoReflect() protoreflect.Message
type Example ¶
type Example struct { Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Value *Any `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` ExternalValue string `protobuf:"bytes,4,opt,name=external_value,json=externalValue,proto3" json:"external_value,omitempty"` SpecificationExtension map[string]*Any `` /* 215-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Example) Descriptor
deprecated
func (*Example) GetDescription ¶
func (*Example) GetExternalValue ¶
func (*Example) GetSpecificationExtension ¶
func (*Example) GetSummary ¶
func (*Example) ProtoMessage ¶
func (*Example) ProtoMessage()
func (*Example) ProtoReflect ¶
func (x *Example) ProtoReflect() protoreflect.Message
type ExampleOrReference ¶
type ExampleOrReference struct { // Types that are assignable to Oneof: // *ExampleOrReference_Example // *ExampleOrReference_Reference Oneof isExampleOrReference_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func (*ExampleOrReference) Descriptor
deprecated
func (*ExampleOrReference) Descriptor() ([]byte, []int)
Deprecated: Use ExampleOrReference.ProtoReflect.Descriptor instead.
func (*ExampleOrReference) GetExample ¶
func (x *ExampleOrReference) GetExample() *Example
func (*ExampleOrReference) GetOneof ¶
func (m *ExampleOrReference) GetOneof() isExampleOrReference_Oneof
func (*ExampleOrReference) GetReference ¶
func (x *ExampleOrReference) GetReference() *Reference
func (*ExampleOrReference) ProtoMessage ¶
func (*ExampleOrReference) ProtoMessage()
func (*ExampleOrReference) ProtoReflect ¶
func (x *ExampleOrReference) ProtoReflect() protoreflect.Message
func (*ExampleOrReference) Reset ¶
func (x *ExampleOrReference) Reset()
func (*ExampleOrReference) String ¶
func (x *ExampleOrReference) String() string
type ExampleOrReference_Example ¶
type ExampleOrReference_Example struct {
Example *Example `protobuf:"bytes,1,opt,name=example,proto3,oneof"`
}
type ExampleOrReference_Reference ¶
type ExampleOrReference_Reference struct {
Reference *Reference `protobuf:"bytes,2,opt,name=reference,proto3,oneof"`
}
type Expression ¶
type Expression struct { AdditionalProperties map[string]*Any `` /* 209-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Expression) Descriptor
deprecated
func (*Expression) Descriptor() ([]byte, []int)
Deprecated: Use Expression.ProtoReflect.Descriptor instead.
func (*Expression) GetAdditionalProperties ¶
func (x *Expression) GetAdditionalProperties() map[string]*Any
func (*Expression) ProtoMessage ¶
func (*Expression) ProtoMessage()
func (*Expression) ProtoReflect ¶
func (x *Expression) ProtoReflect() protoreflect.Message
func (*Expression) Reset ¶
func (x *Expression) Reset()
func (*Expression) String ¶
func (x *Expression) String() string
type ExternalDocs ¶
type ExternalDocs struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` SpecificationExtension map[string]*Any `` /* 215-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ExternalDocs) Descriptor
deprecated
func (*ExternalDocs) Descriptor() ([]byte, []int)
Deprecated: Use ExternalDocs.ProtoReflect.Descriptor instead.
func (*ExternalDocs) GetDescription ¶
func (x *ExternalDocs) GetDescription() string
func (*ExternalDocs) GetSpecificationExtension ¶
func (x *ExternalDocs) GetSpecificationExtension() map[string]*Any
func (*ExternalDocs) GetUrl ¶
func (x *ExternalDocs) GetUrl() string
func (*ExternalDocs) ProtoMessage ¶
func (*ExternalDocs) ProtoMessage()
func (*ExternalDocs) ProtoReflect ¶
func (x *ExternalDocs) ProtoReflect() protoreflect.Message
func (*ExternalDocs) Reset ¶
func (x *ExternalDocs) Reset()
func (*ExternalDocs) String ¶
func (x *ExternalDocs) String() string
type Header ¶
type Header struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` Required bool `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"` Deprecated bool `protobuf:"varint,3,opt,name=deprecated,proto3" json:"deprecated,omitempty"` AllowEmptyValue bool `protobuf:"varint,4,opt,name=allow_empty_value,json=allowEmptyValue,proto3" json:"allow_empty_value,omitempty"` Style string `protobuf:"bytes,5,opt,name=style,proto3" json:"style,omitempty"` Explode bool `protobuf:"varint,6,opt,name=explode,proto3" json:"explode,omitempty"` AllowReserved bool `protobuf:"varint,7,opt,name=allow_reserved,json=allowReserved,proto3" json:"allow_reserved,omitempty"` Schema *SchemaOrReference `protobuf:"bytes,8,opt,name=schema,proto3" json:"schema,omitempty"` Example *Any `protobuf:"bytes,9,opt,name=example,proto3" json:"example,omitempty"` Examples map[string]*ExampleOrReference `` /* 158-byte string literal not displayed */ Content map[string]*MediaType `` /* 156-byte string literal not displayed */ SpecificationExtension map[string]*Any `` /* 216-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Header) Descriptor
deprecated
func (*Header) GetAllowEmptyValue ¶
func (*Header) GetAllowReserved ¶
func (*Header) GetContent ¶
func (*Header) GetDeprecated ¶
func (*Header) GetDescription ¶
func (*Header) GetExample ¶
func (*Header) GetExamples ¶
func (x *Header) GetExamples() map[string]*ExampleOrReference
func (*Header) GetExplode ¶
func (*Header) GetRequired ¶
func (*Header) GetSchema ¶
func (x *Header) GetSchema() *SchemaOrReference
func (*Header) GetSpecificationExtension ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
type HeaderOrReference ¶
type HeaderOrReference struct { // Types that are assignable to Oneof: // *HeaderOrReference_Header // *HeaderOrReference_Reference Oneof isHeaderOrReference_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func (*HeaderOrReference) Descriptor
deprecated
func (*HeaderOrReference) Descriptor() ([]byte, []int)
Deprecated: Use HeaderOrReference.ProtoReflect.Descriptor instead.
func (*HeaderOrReference) GetHeader ¶
func (x *HeaderOrReference) GetHeader() *Header
func (*HeaderOrReference) GetOneof ¶
func (m *HeaderOrReference) GetOneof() isHeaderOrReference_Oneof
func (*HeaderOrReference) GetReference ¶
func (x *HeaderOrReference) GetReference() *Reference
func (*HeaderOrReference) ProtoMessage ¶
func (*HeaderOrReference) ProtoMessage()
func (*HeaderOrReference) ProtoReflect ¶
func (x *HeaderOrReference) ProtoReflect() protoreflect.Message
func (*HeaderOrReference) Reset ¶
func (x *HeaderOrReference) Reset()
func (*HeaderOrReference) String ¶
func (x *HeaderOrReference) String() string
type HeaderOrReference_Header ¶
type HeaderOrReference_Header struct {
Header *Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"`
}
type HeaderOrReference_Reference ¶
type HeaderOrReference_Reference struct {
Reference *Reference `protobuf:"bytes,2,opt,name=reference,proto3,oneof"`
}
type Info ¶
type Info struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` TermsOfService string `protobuf:"bytes,3,opt,name=terms_of_service,json=termsOfService,proto3" json:"terms_of_service,omitempty"` Contact *Contact `protobuf:"bytes,4,opt,name=contact,proto3" json:"contact,omitempty"` License *License `protobuf:"bytes,5,opt,name=license,proto3" json:"license,omitempty"` Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` SpecificationExtension map[string]*Any `` /* 215-byte string literal not displayed */ Summary string `protobuf:"bytes,8,opt,name=summary,proto3" json:"summary,omitempty"` // contains filtered or unexported fields }
func (*Info) Descriptor
deprecated
func (*Info) GetContact ¶
func (*Info) GetDescription ¶
func (*Info) GetLicense ¶
func (*Info) GetSpecificationExtension ¶
func (*Info) GetSummary ¶
func (*Info) GetTermsOfService ¶
func (*Info) GetVersion ¶
func (*Info) ProtoMessage ¶
func (*Info) ProtoMessage()
func (*Info) ProtoReflect ¶
func (x *Info) ProtoReflect() protoreflect.Message
type License ¶
type License struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` SpecificationExtension map[string]*Any `` /* 215-byte string literal not displayed */ // contains filtered or unexported fields }
func (*License) Descriptor
deprecated
func (*License) GetSpecificationExtension ¶
func (*License) ProtoMessage ¶
func (*License) ProtoMessage()
func (*License) ProtoReflect ¶
func (x *License) ProtoReflect() protoreflect.Message
type Link ¶
type Link struct { OperationRef string `protobuf:"bytes,1,opt,name=operation_ref,json=operationRef,proto3" json:"operation_ref,omitempty"` OperationId string `protobuf:"bytes,2,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` Parameters *AnyOrExpression `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty"` RequestBody *AnyOrExpression `protobuf:"bytes,4,opt,name=request_body,json=requestBody,proto3" json:"request_body,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` Server *Server `protobuf:"bytes,6,opt,name=server,proto3" json:"server,omitempty"` SpecificationExtension map[string]*Any `` /* 215-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Link) Descriptor
deprecated
func (*Link) GetDescription ¶
func (*Link) GetOperationId ¶
func (*Link) GetOperationRef ¶
func (*Link) GetParameters ¶
func (x *Link) GetParameters() *AnyOrExpression
func (*Link) GetRequestBody ¶
func (x *Link) GetRequestBody() *AnyOrExpression
func (*Link) GetSpecificationExtension ¶
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) ProtoReflect ¶
func (x *Link) ProtoReflect() protoreflect.Message
type LinkOrReference ¶
type LinkOrReference struct { // Types that are assignable to Oneof: // *LinkOrReference_Link // *LinkOrReference_Reference Oneof isLinkOrReference_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func (*LinkOrReference) Descriptor
deprecated
func (*LinkOrReference) Descriptor() ([]byte, []int)
Deprecated: Use LinkOrReference.ProtoReflect.Descriptor instead.
func (*LinkOrReference) GetLink ¶
func (x *LinkOrReference) GetLink() *Link
func (*LinkOrReference) GetOneof ¶
func (m *LinkOrReference) GetOneof() isLinkOrReference_Oneof
func (*LinkOrReference) GetReference ¶
func (x *LinkOrReference) GetReference() *Reference
func (*LinkOrReference) ProtoMessage ¶
func (*LinkOrReference) ProtoMessage()
func (*LinkOrReference) ProtoReflect ¶
func (x *LinkOrReference) ProtoReflect() protoreflect.Message
func (*LinkOrReference) Reset ¶
func (x *LinkOrReference) Reset()
func (*LinkOrReference) String ¶
func (x *LinkOrReference) String() string
type LinkOrReference_Link ¶
type LinkOrReference_Link struct {
Link *Link `protobuf:"bytes,1,opt,name=link,proto3,oneof"`
}
type LinkOrReference_Reference ¶
type LinkOrReference_Reference struct {
Reference *Reference `protobuf:"bytes,2,opt,name=reference,proto3,oneof"`
}
type MediaType ¶
type MediaType struct { Schema *SchemaOrReference `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` Example *Any `protobuf:"bytes,2,opt,name=example,proto3" json:"example,omitempty"` Examples map[string]*ExampleOrReference `` /* 157-byte string literal not displayed */ Encoding map[string]*Encoding `` /* 157-byte string literal not displayed */ SpecificationExtension map[string]*Any `` /* 215-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MediaType) Descriptor
deprecated
func (*MediaType) GetEncoding ¶
func (*MediaType) GetExample ¶
func (*MediaType) GetExamples ¶
func (x *MediaType) GetExamples() map[string]*ExampleOrReference
func (*MediaType) GetSchema ¶
func (x *MediaType) GetSchema() *SchemaOrReference
func (*MediaType) GetSpecificationExtension ¶
func (*MediaType) ProtoMessage ¶
func (*MediaType) ProtoMessage()
func (*MediaType) ProtoReflect ¶
func (x *MediaType) ProtoReflect() protoreflect.Message
type OASArray ¶
type OASArray struct { Common *SchemaCommon `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"` Array *SchemaArray `protobuf:"bytes,2,opt,name=array,proto3" json:"array,omitempty"` // contains filtered or unexported fields }
func (*OASArray) Descriptor
deprecated
func (*OASArray) GetArray ¶
func (x *OASArray) GetArray() *SchemaArray
func (*OASArray) GetCommon ¶
func (x *OASArray) GetCommon() *SchemaCommon
func (*OASArray) ProtoMessage ¶
func (*OASArray) ProtoMessage()
func (*OASArray) ProtoReflect ¶
func (x *OASArray) ProtoReflect() protoreflect.Message
type OASBoolean ¶
type OASBoolean struct { Common *SchemaCommon `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"` // contains filtered or unexported fields }
func (*OASBoolean) Descriptor
deprecated
func (*OASBoolean) Descriptor() ([]byte, []int)
Deprecated: Use OASBoolean.ProtoReflect.Descriptor instead.
func (*OASBoolean) GetCommon ¶
func (x *OASBoolean) GetCommon() *SchemaCommon
func (*OASBoolean) ProtoMessage ¶
func (*OASBoolean) ProtoMessage()
func (*OASBoolean) ProtoReflect ¶
func (x *OASBoolean) ProtoReflect() protoreflect.Message
func (*OASBoolean) Reset ¶
func (x *OASBoolean) Reset()
func (*OASBoolean) String ¶
func (x *OASBoolean) String() string
type OASMap ¶
type OASMap struct { Common *SchemaCommon `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"` Map *SchemaMap `protobuf:"bytes,2,opt,name=map,proto3" json:"map,omitempty"` // contains filtered or unexported fields }
func (*OASMap) Descriptor
deprecated
func (*OASMap) GetCommon ¶
func (x *OASMap) GetCommon() *SchemaCommon
func (*OASMap) ProtoMessage ¶
func (*OASMap) ProtoMessage()
func (*OASMap) ProtoReflect ¶
func (x *OASMap) ProtoReflect() protoreflect.Message
type OASNumber ¶
type OASNumber struct { Common *SchemaCommon `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"` Number *SchemaNumber `protobuf:"bytes,2,opt,name=number,proto3" json:"number,omitempty"` // contains filtered or unexported fields }
func (*OASNumber) Descriptor
deprecated
func (*OASNumber) GetCommon ¶
func (x *OASNumber) GetCommon() *SchemaCommon
func (*OASNumber) GetNumber ¶
func (x *OASNumber) GetNumber() *SchemaNumber
func (*OASNumber) ProtoMessage ¶
func (*OASNumber) ProtoMessage()
func (*OASNumber) ProtoReflect ¶
func (x *OASNumber) ProtoReflect() protoreflect.Message
type OASObject ¶
type OASObject struct { Common *SchemaCommon `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"` Object *SchemaObject `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` // contains filtered or unexported fields }
func (*OASObject) Descriptor
deprecated
func (*OASObject) GetCommon ¶
func (x *OASObject) GetCommon() *SchemaCommon
func (*OASObject) GetObject ¶
func (x *OASObject) GetObject() *SchemaObject
func (*OASObject) ProtoMessage ¶
func (*OASObject) ProtoMessage()
func (*OASObject) ProtoReflect ¶
func (x *OASObject) ProtoReflect() protoreflect.Message
type OASString ¶
type OASString struct { Common *SchemaCommon `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"` String_ *SchemaString `protobuf:"bytes,2,opt,name=string,proto3" json:"string,omitempty"` // contains filtered or unexported fields }
func (*OASString) Descriptor
deprecated
func (*OASString) GetCommon ¶
func (x *OASString) GetCommon() *SchemaCommon
func (*OASString) GetString_ ¶
func (x *OASString) GetString_() *SchemaString
func (*OASString) ProtoMessage ¶
func (*OASString) ProtoMessage()
func (*OASString) ProtoReflect ¶
func (x *OASString) ProtoReflect() protoreflect.Message
type OauthFlow ¶
type OauthFlow struct { AuthorizationUrl string `protobuf:"bytes,1,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"` TokenUrl string `protobuf:"bytes,2,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"` RefreshUrl string `protobuf:"bytes,3,opt,name=refresh_url,json=refreshUrl,proto3" json:"refresh_url,omitempty"` Scopes map[string]string `` /* 153-byte string literal not displayed */ SpecificationExtension map[string]*Any `` /* 215-byte string literal not displayed */ // contains filtered or unexported fields }
func (*OauthFlow) Descriptor
deprecated
func (*OauthFlow) GetAuthorizationUrl ¶
func (*OauthFlow) GetRefreshUrl ¶
func (*OauthFlow) GetSpecificationExtension ¶
func (*OauthFlow) GetTokenUrl ¶
func (*OauthFlow) ProtoMessage ¶
func (*OauthFlow) ProtoMessage()
func (*OauthFlow) ProtoReflect ¶
func (x *OauthFlow) ProtoReflect() protoreflect.Message
type OauthFlows ¶
type OauthFlows struct { Implicit *OauthFlow `protobuf:"bytes,1,opt,name=implicit,proto3" json:"implicit,omitempty"` Password *OauthFlow `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` ClientCredentials *OauthFlow `protobuf:"bytes,3,opt,name=client_credentials,json=clientCredentials,proto3" json:"client_credentials,omitempty"` AuthorizationCode *OauthFlow `protobuf:"bytes,4,opt,name=authorization_code,json=authorizationCode,proto3" json:"authorization_code,omitempty"` SpecificationExtension map[string]*Any `` /* 215-byte string literal not displayed */ // contains filtered or unexported fields }
func (*OauthFlows) Descriptor
deprecated
func (*OauthFlows) Descriptor() ([]byte, []int)
Deprecated: Use OauthFlows.ProtoReflect.Descriptor instead.
func (*OauthFlows) GetAuthorizationCode ¶
func (x *OauthFlows) GetAuthorizationCode() *OauthFlow
func (*OauthFlows) GetClientCredentials ¶
func (x *OauthFlows) GetClientCredentials() *OauthFlow
func (*OauthFlows) GetImplicit ¶
func (x *OauthFlows) GetImplicit() *OauthFlow
func (*OauthFlows) GetPassword ¶
func (x *OauthFlows) GetPassword() *OauthFlow
func (*OauthFlows) GetSpecificationExtension ¶
func (x *OauthFlows) GetSpecificationExtension() map[string]*Any
func (*OauthFlows) ProtoMessage ¶
func (*OauthFlows) ProtoMessage()
func (*OauthFlows) ProtoReflect ¶
func (x *OauthFlows) ProtoReflect() protoreflect.Message
func (*OauthFlows) Reset ¶
func (x *OauthFlows) Reset()
func (*OauthFlows) String ¶
func (x *OauthFlows) String() string
type Operation ¶
type Operation struct { Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` ExternalDocs *ExternalDocs `protobuf:"bytes,4,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"` OperationId string `protobuf:"bytes,5,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` Parameters []*ParameterOrReference `protobuf:"bytes,6,rep,name=parameters,proto3" json:"parameters,omitempty"` RequestBody *RequestBodyOrReference `protobuf:"bytes,7,opt,name=request_body,json=requestBody,proto3" json:"request_body,omitempty"` Responses map[string]*ResponseOrReference `` /* 159-byte string literal not displayed */ Callbacks map[string]*CallbackOrReference `` /* 159-byte string literal not displayed */ Deprecated bool `protobuf:"varint,10,opt,name=deprecated,proto3" json:"deprecated,omitempty"` Security []*SecurityRequirement `protobuf:"bytes,11,rep,name=security,proto3" json:"security,omitempty"` Servers []*Server `protobuf:"bytes,12,rep,name=servers,proto3" json:"servers,omitempty"` SpecificationExtension map[string]*Any `` /* 216-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Operation) Descriptor
deprecated
func (*Operation) GetCallbacks ¶
func (x *Operation) GetCallbacks() map[string]*CallbackOrReference
func (*Operation) GetDeprecated ¶
func (*Operation) GetDescription ¶
func (*Operation) GetExternalDocs ¶
func (x *Operation) GetExternalDocs() *ExternalDocs
func (*Operation) GetOperationId ¶
func (*Operation) GetParameters ¶
func (x *Operation) GetParameters() []*ParameterOrReference
func (*Operation) GetRequestBody ¶
func (x *Operation) GetRequestBody() *RequestBodyOrReference
func (*Operation) GetResponses ¶
func (x *Operation) GetResponses() map[string]*ResponseOrReference
func (*Operation) GetSecurity ¶
func (x *Operation) GetSecurity() []*SecurityRequirement
func (*Operation) GetServers ¶
func (*Operation) GetSpecificationExtension ¶
func (*Operation) GetSummary ¶
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) ProtoReflect ¶
func (x *Operation) ProtoReflect() protoreflect.Message
type Parameter ¶
type Parameter struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` In string `protobuf:"bytes,2,opt,name=in,proto3" json:"in,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Required bool `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"` Deprecated bool `protobuf:"varint,5,opt,name=deprecated,proto3" json:"deprecated,omitempty"` AllowEmptyValue bool `protobuf:"varint,6,opt,name=allow_empty_value,json=allowEmptyValue,proto3" json:"allow_empty_value,omitempty"` Style string `protobuf:"bytes,7,opt,name=style,proto3" json:"style,omitempty"` Explode bool `protobuf:"varint,8,opt,name=explode,proto3" json:"explode,omitempty"` AllowReserved bool `protobuf:"varint,9,opt,name=allow_reserved,json=allowReserved,proto3" json:"allow_reserved,omitempty"` Schema *SchemaOrReference `protobuf:"bytes,10,opt,name=schema,proto3" json:"schema,omitempty"` Example *Any `protobuf:"bytes,11,opt,name=example,proto3" json:"example,omitempty"` Examples map[string]*ExampleOrReference `` /* 158-byte string literal not displayed */ Content map[string]*MediaType `` /* 156-byte string literal not displayed */ SpecificationExtension map[string]*Any `` /* 216-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Parameter) Descriptor
deprecated
func (*Parameter) GetAllowEmptyValue ¶
func (*Parameter) GetAllowReserved ¶
func (*Parameter) GetContent ¶
func (*Parameter) GetDeprecated ¶
func (*Parameter) GetDescription ¶
func (*Parameter) GetExample ¶
func (*Parameter) GetExamples ¶
func (x *Parameter) GetExamples() map[string]*ExampleOrReference
func (*Parameter) GetExplode ¶
func (*Parameter) GetRequired ¶
func (*Parameter) GetSchema ¶
func (x *Parameter) GetSchema() *SchemaOrReference
func (*Parameter) GetSpecificationExtension ¶
func (*Parameter) ProtoMessage ¶
func (*Parameter) ProtoMessage()
func (*Parameter) ProtoReflect ¶
func (x *Parameter) ProtoReflect() protoreflect.Message
type ParameterOrReference ¶
type ParameterOrReference struct { // Types that are assignable to Oneof: // *ParameterOrReference_Parameter // *ParameterOrReference_Reference Oneof isParameterOrReference_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func (*ParameterOrReference) Descriptor
deprecated
func (*ParameterOrReference) Descriptor() ([]byte, []int)
Deprecated: Use ParameterOrReference.ProtoReflect.Descriptor instead.
func (*ParameterOrReference) GetOneof ¶
func (m *ParameterOrReference) GetOneof() isParameterOrReference_Oneof
func (*ParameterOrReference) GetParameter ¶
func (x *ParameterOrReference) GetParameter() *Parameter
func (*ParameterOrReference) GetReference ¶
func (x *ParameterOrReference) GetReference() *Reference
func (*ParameterOrReference) ProtoMessage ¶
func (*ParameterOrReference) ProtoMessage()
func (*ParameterOrReference) ProtoReflect ¶
func (x *ParameterOrReference) ProtoReflect() protoreflect.Message
func (*ParameterOrReference) Reset ¶
func (x *ParameterOrReference) Reset()
func (*ParameterOrReference) String ¶
func (x *ParameterOrReference) String() string
type ParameterOrReference_Parameter ¶
type ParameterOrReference_Parameter struct {
Parameter *Parameter `protobuf:"bytes,1,opt,name=parameter,proto3,oneof"`
}
type ParameterOrReference_Reference ¶
type ParameterOrReference_Reference struct {
Reference *Reference `protobuf:"bytes,2,opt,name=reference,proto3,oneof"`
}
type PathItem ¶
type PathItem struct { Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Get *Operation `protobuf:"bytes,4,opt,name=get,proto3" json:"get,omitempty"` Put *Operation `protobuf:"bytes,5,opt,name=put,proto3" json:"put,omitempty"` Post *Operation `protobuf:"bytes,6,opt,name=post,proto3" json:"post,omitempty"` Delete *Operation `protobuf:"bytes,7,opt,name=delete,proto3" json:"delete,omitempty"` Options *Operation `protobuf:"bytes,8,opt,name=options,proto3" json:"options,omitempty"` Head *Operation `protobuf:"bytes,9,opt,name=head,proto3" json:"head,omitempty"` Patch *Operation `protobuf:"bytes,10,opt,name=patch,proto3" json:"patch,omitempty"` Trace *Operation `protobuf:"bytes,11,opt,name=trace,proto3" json:"trace,omitempty"` Servers []*Server `protobuf:"bytes,12,rep,name=servers,proto3" json:"servers,omitempty"` Parameters []*ParameterOrReference `protobuf:"bytes,13,rep,name=parameters,proto3" json:"parameters,omitempty"` SpecificationExtension map[string]*Any `` /* 216-byte string literal not displayed */ // contains filtered or unexported fields }
func PathItemFromOperationMap ¶ added in v0.1.4
PathItemFromOperationMap returns a PathItem from a map of operations with the key as the HTTP method.
func (*PathItem) Descriptor
deprecated
func (*PathItem) GetDescription ¶
func (*PathItem) GetOptions ¶
func (*PathItem) GetParameters ¶
func (x *PathItem) GetParameters() []*ParameterOrReference
func (*PathItem) GetServers ¶
func (*PathItem) GetSpecificationExtension ¶
func (*PathItem) GetSummary ¶
func (*PathItem) ProtoMessage ¶
func (*PathItem) ProtoMessage()
func (*PathItem) ProtoReflect ¶
func (x *PathItem) ProtoReflect() protoreflect.Message
func (*PathItem) ToOperationMap ¶ added in v0.1.4
ToOperationMap returns a map of operations with the key as the HTTP method.
type PathItemOrReference ¶
type PathItemOrReference struct { // Types that are assignable to Oneof: // *PathItemOrReference_Item // *PathItemOrReference_Reference Oneof isPathItemOrReference_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func (*PathItemOrReference) Descriptor
deprecated
func (*PathItemOrReference) Descriptor() ([]byte, []int)
Deprecated: Use PathItemOrReference.ProtoReflect.Descriptor instead.
func (*PathItemOrReference) GetItem ¶
func (x *PathItemOrReference) GetItem() *PathItem
func (*PathItemOrReference) GetOneof ¶
func (m *PathItemOrReference) GetOneof() isPathItemOrReference_Oneof
func (*PathItemOrReference) GetReference ¶
func (x *PathItemOrReference) GetReference() *Reference
func (*PathItemOrReference) ProtoMessage ¶
func (*PathItemOrReference) ProtoMessage()
func (*PathItemOrReference) ProtoReflect ¶
func (x *PathItemOrReference) ProtoReflect() protoreflect.Message
func (*PathItemOrReference) Reset ¶
func (x *PathItemOrReference) Reset()
func (*PathItemOrReference) String ¶
func (x *PathItemOrReference) String() string
type PathItemOrReference_Item ¶
type PathItemOrReference_Item struct {
Item *PathItem `protobuf:"bytes,1,opt,name=item,proto3,oneof"`
}
type PathItemOrReference_Reference ¶
type PathItemOrReference_Reference struct {
Reference *Reference `protobuf:"bytes,2,opt,name=reference,proto3,oneof"`
}
type Reference ¶
type Reference struct { XRef string `protobuf:"bytes,1,opt,name=_ref,json=Ref,proto3" json:"_ref,omitempty"` Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*Reference) Descriptor
deprecated
func (*Reference) GetDescription ¶
func (*Reference) GetSummary ¶
func (*Reference) ProtoMessage ¶
func (*Reference) ProtoMessage()
func (*Reference) ProtoReflect ¶
func (x *Reference) ProtoReflect() protoreflect.Message
type RequestBody ¶
type RequestBody struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` Content map[string]*MediaType `` /* 155-byte string literal not displayed */ Required bool `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"` SpecificationExtension map[string]*Any `` /* 215-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RequestBody) Descriptor
deprecated
func (*RequestBody) Descriptor() ([]byte, []int)
Deprecated: Use RequestBody.ProtoReflect.Descriptor instead.
func (*RequestBody) GetContent ¶
func (x *RequestBody) GetContent() map[string]*MediaType
func (*RequestBody) GetDescription ¶
func (x *RequestBody) GetDescription() string
func (*RequestBody) GetRequired ¶
func (x *RequestBody) GetRequired() bool
func (*RequestBody) GetSpecificationExtension ¶
func (x *RequestBody) GetSpecificationExtension() map[string]*Any
func (*RequestBody) ProtoMessage ¶
func (*RequestBody) ProtoMessage()
func (*RequestBody) ProtoReflect ¶
func (x *RequestBody) ProtoReflect() protoreflect.Message
func (*RequestBody) Reset ¶
func (x *RequestBody) Reset()
func (*RequestBody) String ¶
func (x *RequestBody) String() string
type RequestBodyOrReference ¶
type RequestBodyOrReference struct { // Types that are assignable to Oneof: // *RequestBodyOrReference_RequestBody // *RequestBodyOrReference_Reference Oneof isRequestBodyOrReference_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func (*RequestBodyOrReference) Descriptor
deprecated
func (*RequestBodyOrReference) Descriptor() ([]byte, []int)
Deprecated: Use RequestBodyOrReference.ProtoReflect.Descriptor instead.
func (*RequestBodyOrReference) GetOneof ¶
func (m *RequestBodyOrReference) GetOneof() isRequestBodyOrReference_Oneof
func (*RequestBodyOrReference) GetReference ¶
func (x *RequestBodyOrReference) GetReference() *Reference
func (*RequestBodyOrReference) GetRequestBody ¶
func (x *RequestBodyOrReference) GetRequestBody() *RequestBody
func (*RequestBodyOrReference) ProtoMessage ¶
func (*RequestBodyOrReference) ProtoMessage()
func (*RequestBodyOrReference) ProtoReflect ¶
func (x *RequestBodyOrReference) ProtoReflect() protoreflect.Message
func (*RequestBodyOrReference) Reset ¶
func (x *RequestBodyOrReference) Reset()
func (*RequestBodyOrReference) String ¶
func (x *RequestBodyOrReference) String() string
type RequestBodyOrReference_Reference ¶
type RequestBodyOrReference_Reference struct {
Reference *Reference `protobuf:"bytes,2,opt,name=reference,proto3,oneof"`
}
type RequestBodyOrReference_RequestBody ¶
type RequestBodyOrReference_RequestBody struct {
RequestBody *RequestBody `protobuf:"bytes,1,opt,name=request_body,json=requestBody,proto3,oneof"`
}
type Response ¶
type Response struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` Headers map[string]*HeaderOrReference `` /* 155-byte string literal not displayed */ Content map[string]*MediaType `` /* 155-byte string literal not displayed */ Links map[string]*LinkOrReference `` /* 151-byte string literal not displayed */ SpecificationExtension map[string]*Any `` /* 215-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetContent ¶
func (*Response) GetDescription ¶
func (*Response) GetHeaders ¶
func (x *Response) GetHeaders() map[string]*HeaderOrReference
func (*Response) GetLinks ¶
func (x *Response) GetLinks() map[string]*LinkOrReference
func (*Response) GetSpecificationExtension ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type ResponseOrReference ¶
type ResponseOrReference struct { // Types that are assignable to Oneof: // *ResponseOrReference_Response // *ResponseOrReference_Reference Oneof isResponseOrReference_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func (*ResponseOrReference) Descriptor
deprecated
func (*ResponseOrReference) Descriptor() ([]byte, []int)
Deprecated: Use ResponseOrReference.ProtoReflect.Descriptor instead.
func (*ResponseOrReference) GetOneof ¶
func (m *ResponseOrReference) GetOneof() isResponseOrReference_Oneof
func (*ResponseOrReference) GetReference ¶
func (x *ResponseOrReference) GetReference() *Reference
func (*ResponseOrReference) GetResponse ¶
func (x *ResponseOrReference) GetResponse() *Response
func (*ResponseOrReference) ProtoMessage ¶
func (*ResponseOrReference) ProtoMessage()
func (*ResponseOrReference) ProtoReflect ¶
func (x *ResponseOrReference) ProtoReflect() protoreflect.Message
func (*ResponseOrReference) Reset ¶
func (x *ResponseOrReference) Reset()
func (*ResponseOrReference) String ¶
func (x *ResponseOrReference) String() string
type ResponseOrReference_Reference ¶
type ResponseOrReference_Reference struct {
Reference *Reference `protobuf:"bytes,2,opt,name=reference,proto3,oneof"`
}
type ResponseOrReference_Response ¶
type ResponseOrReference_Response struct {
Response *Response `protobuf:"bytes,1,opt,name=response,proto3,oneof"`
}
type Schema ¶
type Schema struct { Nullable bool `protobuf:"varint,1,opt,name=nullable,proto3" json:"nullable,omitempty"` ReadOnly bool `protobuf:"varint,2,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` WriteOnly bool `protobuf:"varint,3,opt,name=write_only,json=writeOnly,proto3" json:"write_only,omitempty"` Xml *Xml `protobuf:"bytes,4,opt,name=xml,proto3" json:"xml,omitempty"` ExternalDocs *ExternalDocs `protobuf:"bytes,5,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"` Deprecated bool `protobuf:"varint,6,opt,name=deprecated,proto3" json:"deprecated,omitempty"` Title string `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"` Common *SchemaCommon `protobuf:"bytes,10,opt,name=common,proto3" json:"common,omitempty"` Number *SchemaNumber `protobuf:"bytes,11,opt,name=number,proto3" json:"number,omitempty"` String_ *SchemaString `protobuf:"bytes,12,opt,name=string,proto3" json:"string,omitempty"` Array *SchemaArray `protobuf:"bytes,13,opt,name=array,proto3" json:"array,omitempty"` Object *SchemaObject `protobuf:"bytes,14,opt,name=object,proto3" json:"object,omitempty"` Map *SchemaMap `protobuf:"bytes,15,opt,name=map,proto3" json:"map,omitempty"` AllOf *SchemaAllOf `protobuf:"bytes,26,opt,name=all_of,json=allOf,proto3" json:"all_of,omitempty"` OneOf *SchemaOneOf `protobuf:"bytes,27,opt,name=one_of,json=oneOf,proto3" json:"one_of,omitempty"` AnyOf *SchemaAnyOf `protobuf:"bytes,28,opt,name=any_of,json=anyOf,proto3" json:"any_of,omitempty"` Not *SchemaOrReference `protobuf:"bytes,29,opt,name=not,proto3" json:"not,omitempty"` Discriminator *Discriminator `protobuf:"bytes,30,opt,name=discriminator,proto3" json:"discriminator,omitempty"` SpecificationExtension map[string]*Any `` /* 216-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Schema) Descriptor
deprecated
func (*Schema) GetAllOf ¶
func (x *Schema) GetAllOf() *SchemaAllOf
func (*Schema) GetAnyOf ¶
func (x *Schema) GetAnyOf() *SchemaAnyOf
func (*Schema) GetArray ¶
func (x *Schema) GetArray() *SchemaArray
func (*Schema) GetCommon ¶
func (x *Schema) GetCommon() *SchemaCommon
func (*Schema) GetDeprecated ¶
func (*Schema) GetDiscriminator ¶
func (x *Schema) GetDiscriminator() *Discriminator
func (*Schema) GetExternalDocs ¶
func (x *Schema) GetExternalDocs() *ExternalDocs
func (*Schema) GetNot ¶
func (x *Schema) GetNot() *SchemaOrReference
func (*Schema) GetNullable ¶
func (*Schema) GetNumber ¶
func (x *Schema) GetNumber() *SchemaNumber
func (*Schema) GetObject ¶
func (x *Schema) GetObject() *SchemaObject
func (*Schema) GetOneOf ¶
func (x *Schema) GetOneOf() *SchemaOneOf
func (*Schema) GetReadOnly ¶
func (*Schema) GetSpecificationExtension ¶
func (*Schema) GetString_ ¶
func (x *Schema) GetString_() *SchemaString
func (*Schema) GetWriteOnly ¶
func (*Schema) ProtoMessage ¶
func (*Schema) ProtoMessage()
func (*Schema) ProtoReflect ¶
func (x *Schema) ProtoReflect() protoreflect.Message
type SchemaAllOf ¶
type SchemaAllOf struct { Items []*SchemaOrReference `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*SchemaAllOf) Descriptor
deprecated
func (*SchemaAllOf) Descriptor() ([]byte, []int)
Deprecated: Use SchemaAllOf.ProtoReflect.Descriptor instead.
func (*SchemaAllOf) GetItems ¶
func (x *SchemaAllOf) GetItems() []*SchemaOrReference
func (*SchemaAllOf) ProtoMessage ¶
func (*SchemaAllOf) ProtoMessage()
func (*SchemaAllOf) ProtoReflect ¶
func (x *SchemaAllOf) ProtoReflect() protoreflect.Message
func (*SchemaAllOf) Reset ¶
func (x *SchemaAllOf) Reset()
func (*SchemaAllOf) String ¶
func (x *SchemaAllOf) String() string
type SchemaAnyOf ¶
type SchemaAnyOf struct { Items []*SchemaOrReference `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*SchemaAnyOf) Descriptor
deprecated
func (*SchemaAnyOf) Descriptor() ([]byte, []int)
Deprecated: Use SchemaAnyOf.ProtoReflect.Descriptor instead.
func (*SchemaAnyOf) GetItems ¶
func (x *SchemaAnyOf) GetItems() []*SchemaOrReference
func (*SchemaAnyOf) ProtoMessage ¶
func (*SchemaAnyOf) ProtoMessage()
func (*SchemaAnyOf) ProtoReflect ¶
func (x *SchemaAnyOf) ProtoReflect() protoreflect.Message
func (*SchemaAnyOf) Reset ¶
func (x *SchemaAnyOf) Reset()
func (*SchemaAnyOf) String ¶
func (x *SchemaAnyOf) String() string
type SchemaArray ¶
type SchemaArray struct { Items []*SchemaOrReference `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` MaxItems int64 `protobuf:"varint,2,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"` MinItems int64 `protobuf:"varint,3,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"` UniqueItems bool `protobuf:"varint,4,opt,name=unique_items,json=uniqueItems,proto3" json:"unique_items,omitempty"` // contains filtered or unexported fields }
func (*SchemaArray) Descriptor
deprecated
func (*SchemaArray) Descriptor() ([]byte, []int)
Deprecated: Use SchemaArray.ProtoReflect.Descriptor instead.
func (*SchemaArray) GetItems ¶
func (x *SchemaArray) GetItems() []*SchemaOrReference
func (*SchemaArray) GetMaxItems ¶
func (x *SchemaArray) GetMaxItems() int64
func (*SchemaArray) GetMinItems ¶
func (x *SchemaArray) GetMinItems() int64
func (*SchemaArray) GetUniqueItems ¶
func (x *SchemaArray) GetUniqueItems() bool
func (*SchemaArray) ProtoMessage ¶
func (*SchemaArray) ProtoMessage()
func (*SchemaArray) ProtoReflect ¶
func (x *SchemaArray) ProtoReflect() protoreflect.Message
func (*SchemaArray) Reset ¶
func (x *SchemaArray) Reset()
func (*SchemaArray) String ¶
func (x *SchemaArray) String() string
type SchemaCommon ¶
type SchemaCommon struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Default *DefaultType `protobuf:"bytes,4,opt,name=default,proto3" json:"default,omitempty"` Example *Any `protobuf:"bytes,5,opt,name=example,proto3" json:"example,omitempty"` Enum []*Any `protobuf:"bytes,6,rep,name=enum,proto3" json:"enum,omitempty"` // contains filtered or unexported fields }
func (*SchemaCommon) Descriptor
deprecated
func (*SchemaCommon) Descriptor() ([]byte, []int)
Deprecated: Use SchemaCommon.ProtoReflect.Descriptor instead.
func (*SchemaCommon) GetDefault ¶
func (x *SchemaCommon) GetDefault() *DefaultType
func (*SchemaCommon) GetDescription ¶
func (x *SchemaCommon) GetDescription() string
func (*SchemaCommon) GetEnum ¶
func (x *SchemaCommon) GetEnum() []*Any
func (*SchemaCommon) GetExample ¶
func (x *SchemaCommon) GetExample() *Any
func (*SchemaCommon) GetFormat ¶
func (x *SchemaCommon) GetFormat() string
func (*SchemaCommon) GetType ¶
func (x *SchemaCommon) GetType() string
func (*SchemaCommon) ProtoMessage ¶
func (*SchemaCommon) ProtoMessage()
func (*SchemaCommon) ProtoReflect ¶
func (x *SchemaCommon) ProtoReflect() protoreflect.Message
func (*SchemaCommon) Reset ¶
func (x *SchemaCommon) Reset()
func (*SchemaCommon) String ¶
func (x *SchemaCommon) String() string
type SchemaMap ¶
type SchemaMap struct { AdditionalProperties *AdditionalPropertiesItem `protobuf:"bytes,1,opt,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"` // contains filtered or unexported fields }
func (*SchemaMap) Descriptor
deprecated
func (*SchemaMap) GetAdditionalProperties ¶
func (x *SchemaMap) GetAdditionalProperties() *AdditionalPropertiesItem
func (*SchemaMap) ProtoMessage ¶
func (*SchemaMap) ProtoMessage()
func (*SchemaMap) ProtoReflect ¶
func (x *SchemaMap) ProtoReflect() protoreflect.Message
type SchemaNumber ¶
type SchemaNumber struct { MultipleOf float64 `protobuf:"fixed64,1,opt,name=multiple_of,json=multipleOf,proto3" json:"multiple_of,omitempty"` Maximum float64 `protobuf:"fixed64,2,opt,name=maximum,proto3" json:"maximum,omitempty"` Minimum float64 `protobuf:"fixed64,3,opt,name=minimum,proto3" json:"minimum,omitempty"` ExclusiveMaximum bool `protobuf:"varint,4,opt,name=exclusive_maximum,json=exclusiveMaximum,proto3" json:"exclusive_maximum,omitempty"` ExclusiveMinimum bool `protobuf:"varint,5,opt,name=exclusive_minimum,json=exclusiveMinimum,proto3" json:"exclusive_minimum,omitempty"` // contains filtered or unexported fields }
func (*SchemaNumber) Descriptor
deprecated
func (*SchemaNumber) Descriptor() ([]byte, []int)
Deprecated: Use SchemaNumber.ProtoReflect.Descriptor instead.
func (*SchemaNumber) GetExclusiveMaximum ¶
func (x *SchemaNumber) GetExclusiveMaximum() bool
func (*SchemaNumber) GetExclusiveMinimum ¶
func (x *SchemaNumber) GetExclusiveMinimum() bool
func (*SchemaNumber) GetMaximum ¶
func (x *SchemaNumber) GetMaximum() float64
func (*SchemaNumber) GetMinimum ¶
func (x *SchemaNumber) GetMinimum() float64
func (*SchemaNumber) GetMultipleOf ¶
func (x *SchemaNumber) GetMultipleOf() float64
func (*SchemaNumber) ProtoMessage ¶
func (*SchemaNumber) ProtoMessage()
func (*SchemaNumber) ProtoReflect ¶
func (x *SchemaNumber) ProtoReflect() protoreflect.Message
func (*SchemaNumber) Reset ¶
func (x *SchemaNumber) Reset()
func (*SchemaNumber) String ¶
func (x *SchemaNumber) String() string
type SchemaObject ¶
type SchemaObject struct { Properties map[string]*SchemaOrReference `` /* 161-byte string literal not displayed */ MaxProperties int64 `protobuf:"varint,2,opt,name=max_properties,json=maxProperties,proto3" json:"max_properties,omitempty"` MinProperties int64 `protobuf:"varint,3,opt,name=min_properties,json=minProperties,proto3" json:"min_properties,omitempty"` Required []string `protobuf:"bytes,4,rep,name=required,proto3" json:"required,omitempty"` // contains filtered or unexported fields }
func (*SchemaObject) Descriptor
deprecated
func (*SchemaObject) Descriptor() ([]byte, []int)
Deprecated: Use SchemaObject.ProtoReflect.Descriptor instead.
func (*SchemaObject) GetMaxProperties ¶
func (x *SchemaObject) GetMaxProperties() int64
func (*SchemaObject) GetMinProperties ¶
func (x *SchemaObject) GetMinProperties() int64
func (*SchemaObject) GetProperties ¶
func (x *SchemaObject) GetProperties() map[string]*SchemaOrReference
func (*SchemaObject) GetRequired ¶
func (x *SchemaObject) GetRequired() []string
func (*SchemaObject) MarshalHCL ¶ added in v0.1.5
func (self *SchemaObject) MarshalHCL() ([]byte, error)
func (*SchemaObject) ProtoMessage ¶
func (*SchemaObject) ProtoMessage()
func (*SchemaObject) ProtoReflect ¶
func (x *SchemaObject) ProtoReflect() protoreflect.Message
func (*SchemaObject) Reset ¶
func (x *SchemaObject) Reset()
func (*SchemaObject) String ¶
func (x *SchemaObject) String() string
func (*SchemaObject) UnmarshalHCL ¶ added in v0.1.5
func (self *SchemaObject) UnmarshalHCL(bs []byte, labels ...string) error
type SchemaOneOf ¶
type SchemaOneOf struct { Items []*SchemaOrReference `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*SchemaOneOf) Descriptor
deprecated
func (*SchemaOneOf) Descriptor() ([]byte, []int)
Deprecated: Use SchemaOneOf.ProtoReflect.Descriptor instead.
func (*SchemaOneOf) GetItems ¶
func (x *SchemaOneOf) GetItems() []*SchemaOrReference
func (*SchemaOneOf) ProtoMessage ¶
func (*SchemaOneOf) ProtoMessage()
func (*SchemaOneOf) ProtoReflect ¶
func (x *SchemaOneOf) ProtoReflect() protoreflect.Message
func (*SchemaOneOf) Reset ¶
func (x *SchemaOneOf) Reset()
func (*SchemaOneOf) String ¶
func (x *SchemaOneOf) String() string
type SchemaOrReference ¶
type SchemaOrReference struct { // Types that are assignable to Oneof: // *SchemaOrReference_String_ // *SchemaOrReference_Number // *SchemaOrReference_Boolean // *SchemaOrReference_Map // *SchemaOrReference_Object // *SchemaOrReference_Array // *SchemaOrReference_AllOf // *SchemaOrReference_OneOf // *SchemaOrReference_AnyOf // *SchemaOrReference_Reference // *SchemaOrReference_Schema Oneof isSchemaOrReference_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func (*SchemaOrReference) Descriptor
deprecated
func (*SchemaOrReference) Descriptor() ([]byte, []int)
Deprecated: Use SchemaOrReference.ProtoReflect.Descriptor instead.
func (*SchemaOrReference) GetAllOf ¶
func (x *SchemaOrReference) GetAllOf() *SchemaAllOf
func (*SchemaOrReference) GetAnyOf ¶
func (x *SchemaOrReference) GetAnyOf() *SchemaAnyOf
func (*SchemaOrReference) GetArray ¶
func (x *SchemaOrReference) GetArray() *OASArray
func (*SchemaOrReference) GetBoolean ¶
func (x *SchemaOrReference) GetBoolean() *OASBoolean
func (*SchemaOrReference) GetMap ¶
func (x *SchemaOrReference) GetMap() *OASMap
func (*SchemaOrReference) GetNumber ¶
func (x *SchemaOrReference) GetNumber() *OASNumber
func (*SchemaOrReference) GetObject ¶
func (x *SchemaOrReference) GetObject() *OASObject
func (*SchemaOrReference) GetOneOf ¶
func (x *SchemaOrReference) GetOneOf() *SchemaOneOf
func (*SchemaOrReference) GetOneof ¶
func (m *SchemaOrReference) GetOneof() isSchemaOrReference_Oneof
func (*SchemaOrReference) GetReference ¶
func (x *SchemaOrReference) GetReference() *Reference
func (*SchemaOrReference) GetSchema ¶
func (x *SchemaOrReference) GetSchema() *Schema
func (*SchemaOrReference) GetString_ ¶
func (x *SchemaOrReference) GetString_() *OASString
func (*SchemaOrReference) ProtoMessage ¶
func (*SchemaOrReference) ProtoMessage()
func (*SchemaOrReference) ProtoReflect ¶
func (x *SchemaOrReference) ProtoReflect() protoreflect.Message
func (*SchemaOrReference) Reset ¶
func (x *SchemaOrReference) Reset()
func (*SchemaOrReference) String ¶
func (x *SchemaOrReference) String() string
type SchemaOrReference_AllOf ¶
type SchemaOrReference_AllOf struct {
AllOf *SchemaAllOf `protobuf:"bytes,8,opt,name=all_of,json=allOf,proto3,oneof"`
}
type SchemaOrReference_AnyOf ¶
type SchemaOrReference_AnyOf struct {
AnyOf *SchemaAnyOf `protobuf:"bytes,10,opt,name=any_of,json=anyOf,proto3,oneof"`
}
type SchemaOrReference_Array ¶
type SchemaOrReference_Array struct {
Array *OASArray `protobuf:"bytes,7,opt,name=array,proto3,oneof"`
}
type SchemaOrReference_Boolean ¶
type SchemaOrReference_Boolean struct {
Boolean *OASBoolean `protobuf:"bytes,4,opt,name=boolean,proto3,oneof"`
}
type SchemaOrReference_Map ¶
type SchemaOrReference_Map struct {
Map *OASMap `protobuf:"bytes,5,opt,name=map,proto3,oneof"`
}
type SchemaOrReference_Number ¶
type SchemaOrReference_Number struct {
Number *OASNumber `protobuf:"bytes,2,opt,name=number,proto3,oneof"`
}
type SchemaOrReference_Object ¶
type SchemaOrReference_Object struct {
Object *OASObject `protobuf:"bytes,6,opt,name=object,proto3,oneof"`
}
type SchemaOrReference_OneOf ¶
type SchemaOrReference_OneOf struct {
OneOf *SchemaOneOf `protobuf:"bytes,9,opt,name=one_of,json=oneOf,proto3,oneof"`
}
type SchemaOrReference_Reference ¶
type SchemaOrReference_Reference struct {
Reference *Reference `protobuf:"bytes,11,opt,name=reference,proto3,oneof"`
}
type SchemaOrReference_Schema ¶
type SchemaOrReference_Schema struct {
Schema *Schema `protobuf:"bytes,12,opt,name=schema,proto3,oneof"`
}
type SchemaOrReference_String_ ¶
type SchemaOrReference_String_ struct {
String_ *OASString `protobuf:"bytes,1,opt,name=string,proto3,oneof"`
}
type SchemaString ¶
type SchemaString struct { MinLength int64 `protobuf:"varint,1,opt,name=minLength,proto3" json:"minLength,omitempty"` MaxLength int64 `protobuf:"varint,2,opt,name=maxLength,proto3" json:"maxLength,omitempty"` Pattern string `protobuf:"bytes,3,opt,name=pattern,proto3" json:"pattern,omitempty"` // contains filtered or unexported fields }
func (*SchemaString) Descriptor
deprecated
func (*SchemaString) Descriptor() ([]byte, []int)
Deprecated: Use SchemaString.ProtoReflect.Descriptor instead.
func (*SchemaString) GetMaxLength ¶
func (x *SchemaString) GetMaxLength() int64
func (*SchemaString) GetMinLength ¶
func (x *SchemaString) GetMinLength() int64
func (*SchemaString) GetPattern ¶
func (x *SchemaString) GetPattern() string
func (*SchemaString) ProtoMessage ¶
func (*SchemaString) ProtoMessage()
func (*SchemaString) ProtoReflect ¶
func (x *SchemaString) ProtoReflect() protoreflect.Message
func (*SchemaString) Reset ¶
func (x *SchemaString) Reset()
func (*SchemaString) String ¶
func (x *SchemaString) String() string
type SecurityRequirement ¶
type SecurityRequirement struct { AdditionalProperties map[string]*StringArray `` /* 209-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SecurityRequirement) Descriptor
deprecated
func (*SecurityRequirement) Descriptor() ([]byte, []int)
Deprecated: Use SecurityRequirement.ProtoReflect.Descriptor instead.
func (*SecurityRequirement) GetAdditionalProperties ¶
func (x *SecurityRequirement) GetAdditionalProperties() map[string]*StringArray
func (*SecurityRequirement) ProtoMessage ¶
func (*SecurityRequirement) ProtoMessage()
func (*SecurityRequirement) ProtoReflect ¶
func (x *SecurityRequirement) ProtoReflect() protoreflect.Message
func (*SecurityRequirement) Reset ¶
func (x *SecurityRequirement) Reset()
func (*SecurityRequirement) String ¶
func (x *SecurityRequirement) String() string
type SecurityScheme ¶
type SecurityScheme struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` In string `protobuf:"bytes,4,opt,name=in,proto3" json:"in,omitempty"` Scheme string `protobuf:"bytes,5,opt,name=scheme,proto3" json:"scheme,omitempty"` BearerFormat string `protobuf:"bytes,6,opt,name=bearer_format,json=bearerFormat,proto3" json:"bearer_format,omitempty"` Flows *OauthFlows `protobuf:"bytes,7,opt,name=flows,proto3" json:"flows,omitempty"` OpenIdConnectUrl string `protobuf:"bytes,8,opt,name=open_id_connect_url,json=openIdConnectUrl,proto3" json:"open_id_connect_url,omitempty"` SpecificationExtension map[string]*Any `` /* 215-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SecurityScheme) Descriptor
deprecated
func (*SecurityScheme) Descriptor() ([]byte, []int)
Deprecated: Use SecurityScheme.ProtoReflect.Descriptor instead.
func (*SecurityScheme) GetBearerFormat ¶
func (x *SecurityScheme) GetBearerFormat() string
func (*SecurityScheme) GetDescription ¶
func (x *SecurityScheme) GetDescription() string
func (*SecurityScheme) GetFlows ¶
func (x *SecurityScheme) GetFlows() *OauthFlows
func (*SecurityScheme) GetIn ¶
func (x *SecurityScheme) GetIn() string
func (*SecurityScheme) GetName ¶
func (x *SecurityScheme) GetName() string
func (*SecurityScheme) GetOpenIdConnectUrl ¶
func (x *SecurityScheme) GetOpenIdConnectUrl() string
func (*SecurityScheme) GetScheme ¶
func (x *SecurityScheme) GetScheme() string
func (*SecurityScheme) GetSpecificationExtension ¶
func (x *SecurityScheme) GetSpecificationExtension() map[string]*Any
func (*SecurityScheme) GetType ¶
func (x *SecurityScheme) GetType() string
func (*SecurityScheme) MarshalHCL ¶ added in v0.1.5
func (self *SecurityScheme) MarshalHCL() ([]byte, error)
func (*SecurityScheme) ProtoMessage ¶
func (*SecurityScheme) ProtoMessage()
func (*SecurityScheme) ProtoReflect ¶
func (x *SecurityScheme) ProtoReflect() protoreflect.Message
func (*SecurityScheme) Reset ¶
func (x *SecurityScheme) Reset()
func (*SecurityScheme) String ¶
func (x *SecurityScheme) String() string
func (*SecurityScheme) UnmarshalHCL ¶ added in v0.1.5
func (self *SecurityScheme) UnmarshalHCL(bs []byte, labels ...string) error
type SecuritySchemeOrReference ¶
type SecuritySchemeOrReference struct { // Types that are assignable to Oneof: // *SecuritySchemeOrReference_SecurityScheme // *SecuritySchemeOrReference_Reference Oneof isSecuritySchemeOrReference_Oneof `protobuf_oneof:"oneof"` // contains filtered or unexported fields }
func (*SecuritySchemeOrReference) Descriptor
deprecated
func (*SecuritySchemeOrReference) Descriptor() ([]byte, []int)
Deprecated: Use SecuritySchemeOrReference.ProtoReflect.Descriptor instead.
func (*SecuritySchemeOrReference) GetOneof ¶
func (m *SecuritySchemeOrReference) GetOneof() isSecuritySchemeOrReference_Oneof
func (*SecuritySchemeOrReference) GetReference ¶
func (x *SecuritySchemeOrReference) GetReference() *Reference
func (*SecuritySchemeOrReference) GetSecurityScheme ¶
func (x *SecuritySchemeOrReference) GetSecurityScheme() *SecurityScheme
func (*SecuritySchemeOrReference) ProtoMessage ¶
func (*SecuritySchemeOrReference) ProtoMessage()
func (*SecuritySchemeOrReference) ProtoReflect ¶
func (x *SecuritySchemeOrReference) ProtoReflect() protoreflect.Message
func (*SecuritySchemeOrReference) Reset ¶
func (x *SecuritySchemeOrReference) Reset()
func (*SecuritySchemeOrReference) String ¶
func (x *SecuritySchemeOrReference) String() string
type SecuritySchemeOrReference_Reference ¶
type SecuritySchemeOrReference_Reference struct {
Reference *Reference `protobuf:"bytes,2,opt,name=reference,proto3,oneof"`
}
type SecuritySchemeOrReference_SecurityScheme ¶
type SecuritySchemeOrReference_SecurityScheme struct {
SecurityScheme *SecurityScheme `protobuf:"bytes,1,opt,name=security_scheme,json=securityScheme,proto3,oneof"`
}
type Server ¶
type Server struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Variables map[string]*ServerVariable `` /* 159-byte string literal not displayed */ SpecificationExtension map[string]*Any `` /* 215-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Server) Descriptor
deprecated
func (*Server) GetDescription ¶
func (*Server) GetSpecificationExtension ¶
func (*Server) GetVariables ¶
func (x *Server) GetVariables() map[string]*ServerVariable
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶
func (x *Server) ProtoReflect() protoreflect.Message
type ServerVariable ¶
type ServerVariable struct { Enum []string `protobuf:"bytes,1,rep,name=enum,proto3" json:"enum,omitempty"` Default string `protobuf:"bytes,2,opt,name=default,proto3" json:"default,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` SpecificationExtension map[string]*Any `` /* 215-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ServerVariable) Descriptor
deprecated
func (*ServerVariable) Descriptor() ([]byte, []int)
Deprecated: Use ServerVariable.ProtoReflect.Descriptor instead.
func (*ServerVariable) GetDefault ¶
func (x *ServerVariable) GetDefault() string
func (*ServerVariable) GetDescription ¶
func (x *ServerVariable) GetDescription() string
func (*ServerVariable) GetEnum ¶
func (x *ServerVariable) GetEnum() []string
func (*ServerVariable) GetSpecificationExtension ¶
func (x *ServerVariable) GetSpecificationExtension() map[string]*Any
func (*ServerVariable) ProtoMessage ¶
func (*ServerVariable) ProtoMessage()
func (*ServerVariable) ProtoReflect ¶
func (x *ServerVariable) ProtoReflect() protoreflect.Message
func (*ServerVariable) Reset ¶
func (x *ServerVariable) Reset()
func (*ServerVariable) String ¶
func (x *ServerVariable) String() string
type StringArray ¶
type StringArray struct { Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*StringArray) Descriptor
deprecated
func (*StringArray) Descriptor() ([]byte, []int)
Deprecated: Use StringArray.ProtoReflect.Descriptor instead.
func (*StringArray) GetValue ¶
func (x *StringArray) GetValue() []string
func (*StringArray) ProtoMessage ¶
func (*StringArray) ProtoMessage()
func (*StringArray) ProtoReflect ¶
func (x *StringArray) ProtoReflect() protoreflect.Message
func (*StringArray) Reset ¶
func (x *StringArray) Reset()
func (*StringArray) String ¶
func (x *StringArray) String() string
type Tag ¶
type Tag struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` ExternalDocs *ExternalDocs `protobuf:"bytes,3,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"` SpecificationExtension map[string]*Any `` /* 215-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Tag) Descriptor
deprecated
func (*Tag) GetDescription ¶
func (*Tag) GetExternalDocs ¶
func (x *Tag) GetExternalDocs() *ExternalDocs
func (*Tag) GetSpecificationExtension ¶
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
type Xml ¶
type Xml struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` Attribute bool `protobuf:"varint,4,opt,name=attribute,proto3" json:"attribute,omitempty"` Wrapped bool `protobuf:"varint,5,opt,name=wrapped,proto3" json:"wrapped,omitempty"` SpecificationExtension map[string]*Any `` /* 215-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Xml) Descriptor
deprecated
func (*Xml) GetAttribute ¶
func (*Xml) GetNamespace ¶
func (*Xml) GetSpecificationExtension ¶
func (*Xml) GetWrapped ¶
func (*Xml) ProtoMessage ¶
func (*Xml) ProtoMessage()
func (*Xml) ProtoReflect ¶
func (x *Xml) ProtoReflect() protoreflect.Message
Source Files ¶
- able.go
- any_expression.go
- apihcl.go
- apihcl_schema.go
- callback.go
- components.go
- contact.go
- discriminator.go
- document.go
- encoding.go
- example.go
- externaldocs.go
- hcl.go
- header.go
- info.go
- license.go
- link.go
- mediatype.go
- oathflow.go
- operation.go
- parameter.go
- pathitem.go
- reference.go
- requestbody.go
- response.go
- schema.go
- schema_array.go
- schema_common.go
- schema_full.go
- schema_map.go
- schema_number.go
- schema_object.go
- schema_string.go
- security_requirement.go
- security_scheme.go
- server.go
- server_variable.go
- syntax_hcl.pb.go
- tag.go
- util.go
- xml.go