Documentation ¶
Overview ¶
Package options is a generated protocol buffer package.
It is generated from these files:
annotations.proto
It has these top-level messages:
OpenAPI Info Contact License Server ServerVariable Tag ExternalDocumentation Path Operation Components Schema Parameter RequestBody Response MediaType SecurityRequirement SecurityScheme
Index ¶
- Variables
- type Components
- func (*Components) Descriptor() ([]byte, []int)
- func (m *Components) GetSchemas() map[string]*Schema
- func (m *Components) GetSecuritySchemes() map[string]*SecurityScheme
- func (c Components) MarshalJSON() ([]byte, error)
- func (*Components) ProtoMessage()
- func (m *Components) Reset()
- func (m *Components) String() string
- type ComponentsJSON
- type Contact
- type ExternalDocumentation
- type Info
- func (*Info) Descriptor() ([]byte, []int)
- func (m *Info) GetContact() *Contact
- func (m *Info) GetDescription() string
- func (m *Info) GetLicense() *License
- func (m *Info) GetTermsOfService() string
- func (m *Info) GetTitle() string
- func (m *Info) GetVersion() string
- func (*Info) ProtoMessage()
- func (m *Info) Reset()
- func (m *Info) String() string
- type License
- type MediaType
- type OpenAPI
- func (*OpenAPI) Descriptor() ([]byte, []int)
- func (m *OpenAPI) GetComponents() *Components
- func (m *OpenAPI) GetExternalDocs() *ExternalDocumentation
- func (m *OpenAPI) GetInfo() *Info
- func (m *OpenAPI) GetOpenapi() string
- func (m *OpenAPI) GetPaths() map[string]*Path
- func (m *OpenAPI) GetSecurity() []*SecurityRequirement
- func (m *OpenAPI) GetServers() []*Server
- func (m *OpenAPI) GetTags() []*Tag
- func (*OpenAPI) ProtoMessage()
- func (m *OpenAPI) Reset()
- func (m *OpenAPI) String() string
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)
- func (m *Operation) GetDeprecated() bool
- func (m *Operation) GetDescription() string
- func (m *Operation) GetExternalDocs() *ExternalDocumentation
- func (m *Operation) GetOperationId() string
- func (m *Operation) GetParameters() []*Parameter
- func (m *Operation) GetRequestBody() *RequestBody
- func (m *Operation) GetResponses() map[string]*Response
- func (m *Operation) GetSummary() string
- func (m *Operation) GetTags() []string
- func (o Operation) MarshalJSON() ([]byte, error)
- func (*Operation) ProtoMessage()
- func (m *Operation) Reset()
- func (m *Operation) String() string
- type OperationJSON
- type Parameter
- func (*Parameter) Descriptor() ([]byte, []int)
- func (m *Parameter) GetAllowEmptyValue() bool
- func (m *Parameter) GetDescription() string
- func (m *Parameter) GetIn() Parameter_In
- func (m *Parameter) GetName() string
- func (m *Parameter) GetRequired() bool
- func (*Parameter) ProtoMessage()
- func (m *Parameter) Reset()
- func (m *Parameter) String() string
- type Parameter_In
- type Path
- func (*Path) Descriptor() ([]byte, []int)
- func (m *Path) GetDelete() *Operation
- func (m *Path) GetDescription() string
- func (m *Path) GetGet() *Operation
- func (m *Path) GetHead() *Operation
- func (m *Path) GetOptions() *Operation
- func (m *Path) GetPatch() *Operation
- func (m *Path) GetPost() *Operation
- func (m *Path) GetPut() *Operation
- func (m *Path) GetSummary() string
- func (m *Path) GetTrace() *Operation
- func (*Path) ProtoMessage()
- func (m *Path) Reset()
- func (m *Path) String() string
- type RequestBody
- type Response
- type Schema
- func (*Schema) Descriptor() ([]byte, []int)
- func (m *Schema) GetDescription() string
- func (m *Schema) GetFormat() string
- func (m *Schema) GetProperties() map[string]*Schema
- func (m *Schema) GetRef() string
- func (m *Schema) GetRequired() []string
- func (m *Schema) GetType() string
- func (s Schema) MarshalJSON() ([]byte, error)
- func (*Schema) ProtoMessage()
- func (m *Schema) Reset()
- func (m *Schema) String() string
- type SchemaJSON
- type SecurityRequirement
- func (*SecurityRequirement) Descriptor() ([]byte, []int)
- func (m *SecurityRequirement) GetName() string
- func (m *SecurityRequirement) GetScopes() []string
- func (r SecurityRequirement) MarshalJSON() ([]byte, error)
- func (*SecurityRequirement) ProtoMessage()
- func (m *SecurityRequirement) Reset()
- func (m *SecurityRequirement) String() string
- type SecurityScheme
- func (*SecurityScheme) Descriptor() ([]byte, []int)
- func (m *SecurityScheme) GetBearerFormat() string
- func (m *SecurityScheme) GetDescription() string
- func (m *SecurityScheme) GetIn() SecurityScheme_In
- func (m *SecurityScheme) GetName() string
- func (m *SecurityScheme) GetOpenIdConnectUrl() string
- func (m *SecurityScheme) GetScheme() string
- func (m *SecurityScheme) GetType() SecurityScheme_Type
- func (s SecurityScheme) MarshalJSON() ([]byte, error)
- func (*SecurityScheme) ProtoMessage()
- func (m *SecurityScheme) Reset()
- func (m *SecurityScheme) String() string
- type SecuritySchemeJSON
- type SecurityScheme_In
- type SecurityScheme_Type
- type Server
- type ServerVariable
- func (*ServerVariable) Descriptor() ([]byte, []int)
- func (m *ServerVariable) GetDefault() string
- func (m *ServerVariable) GetDescription() string
- func (m *ServerVariable) GetEnum() []string
- func (*ServerVariable) ProtoMessage()
- func (m *ServerVariable) Reset()
- func (m *ServerVariable) String() string
- type Tag
Constants ¶
This section is empty.
Variables ¶
var E_Api = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf.FileOptions)(nil), ExtensionType: (*OpenAPI)(nil), Field: 81098, Name: "com.pseudomuto.protoc_gen_twagger.options.api", Tag: "bytes,81098,opt,name=api", Filename: "annotations.proto", }
var Parameter_In_name = map[int32]string{
0: "QUERY",
1: "HEADER",
2: "PATH",
3: "COOKIE",
}
var Parameter_In_value = map[string]int32{
"QUERY": 0,
"HEADER": 1,
"PATH": 2,
"COOKIE": 3,
}
var SecurityScheme_In_name = map[int32]string{
0: "QUERY",
1: "HEADER",
2: "COOKIE",
}
var SecurityScheme_In_value = map[string]int32{
"QUERY": 0,
"HEADER": 1,
"COOKIE": 2,
}
var SecurityScheme_Type_name = map[int32]string{
0: "API_KEY",
1: "HTTP",
2: "OAUTH2",
3: "OPENID_CONNECT",
}
var SecurityScheme_Type_value = map[string]int32{
"API_KEY": 0,
"HTTP": 1,
"OAUTH2": 2,
"OPENID_CONNECT": 3,
}
Functions ¶
This section is empty.
Types ¶
type Components ¶
type Components struct { Schemas map[string]*Schema `` /* 134-byte string literal not displayed */ SecuritySchemes map[string]*SecurityScheme `` /* 173-byte string literal not displayed */ }
func (*Components) Descriptor ¶
func (*Components) Descriptor() ([]byte, []int)
func (*Components) GetSchemas ¶
func (m *Components) GetSchemas() map[string]*Schema
func (*Components) GetSecuritySchemes ¶
func (m *Components) GetSecuritySchemes() map[string]*SecurityScheme
func (Components) MarshalJSON ¶
func (c Components) MarshalJSON() ([]byte, error)
MarshalJSON marshals the Components object without SecuritySchemas
func (*Components) ProtoMessage ¶
func (*Components) ProtoMessage()
func (*Components) Reset ¶
func (m *Components) Reset()
func (*Components) String ¶
func (m *Components) String() string
type ComponentsJSON ¶
type ComponentsJSON struct { SecuritySchemes map[string]*SecurityScheme `json:"securitySchemes,omitempty"` // contains filtered or unexported fields }
ComponentsJSON describes a custom serialization object for Components
type Contact ¶
type Contact struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` Email string `protobuf:"bytes,3,opt,name=email" json:"email,omitempty"` }
func (*Contact) Descriptor ¶
func (*Contact) ProtoMessage ¶
func (*Contact) ProtoMessage()
type ExternalDocumentation ¶
type ExternalDocumentation struct { Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` }
func (*ExternalDocumentation) Descriptor ¶
func (*ExternalDocumentation) Descriptor() ([]byte, []int)
func (*ExternalDocumentation) GetDescription ¶
func (m *ExternalDocumentation) GetDescription() string
func (*ExternalDocumentation) GetUrl ¶
func (m *ExternalDocumentation) GetUrl() string
func (*ExternalDocumentation) ProtoMessage ¶
func (*ExternalDocumentation) ProtoMessage()
func (*ExternalDocumentation) Reset ¶
func (m *ExternalDocumentation) Reset()
func (*ExternalDocumentation) String ¶
func (m *ExternalDocumentation) String() string
type Info ¶
type Info struct { Title string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` TermsOfService string `protobuf:"bytes,3,opt,name=terms_of_service,json=termsOfService" json:"terms_of_service,omitempty"` Contact *Contact `protobuf:"bytes,4,opt,name=contact" json:"contact,omitempty"` License *License `protobuf:"bytes,5,opt,name=license" json:"license,omitempty"` Version string `protobuf:"bytes,6,opt,name=version" json:"version,omitempty"` }
func (*Info) Descriptor ¶
func (*Info) GetContact ¶
func (*Info) GetDescription ¶
func (*Info) GetLicense ¶
func (*Info) GetTermsOfService ¶
func (*Info) GetVersion ¶
func (*Info) ProtoMessage ¶
func (*Info) ProtoMessage()
type License ¶
type License struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` }
func (*License) Descriptor ¶
func (*License) ProtoMessage ¶
func (*License) ProtoMessage()
type MediaType ¶
type MediaType struct {
Schema *Schema `protobuf:"bytes,1,opt,name=schema" json:"schema,omitempty"`
}
func (*MediaType) Descriptor ¶
func (*MediaType) ProtoMessage ¶
func (*MediaType) ProtoMessage()
type OpenAPI ¶
type OpenAPI struct { Openapi string `protobuf:"bytes,1,opt,name=openapi" json:"openapi,omitempty"` Info *Info `protobuf:"bytes,2,opt,name=info" json:"info,omitempty"` Security []*SecurityRequirement `protobuf:"bytes,3,rep,name=security" json:"security,omitempty"` Servers []*Server `protobuf:"bytes,4,rep,name=servers" json:"servers,omitempty"` Tags []*Tag `protobuf:"bytes,5,rep,name=tags" json:"tags,omitempty"` Paths map[string]*Path `` /* 130-byte string literal not displayed */ Components *Components `protobuf:"bytes,7,opt,name=components" json:"components,omitempty"` ExternalDocs *ExternalDocumentation `protobuf:"bytes,8,opt,name=external_docs,json=externalDocs" json:"external_docs,omitempty"` }
func (*OpenAPI) Descriptor ¶
func (*OpenAPI) GetComponents ¶
func (m *OpenAPI) GetComponents() *Components
func (*OpenAPI) GetExternalDocs ¶
func (m *OpenAPI) GetExternalDocs() *ExternalDocumentation
func (*OpenAPI) GetOpenapi ¶
func (*OpenAPI) GetSecurity ¶
func (m *OpenAPI) GetSecurity() []*SecurityRequirement
func (*OpenAPI) GetServers ¶
func (*OpenAPI) ProtoMessage ¶
func (*OpenAPI) ProtoMessage()
type Operation ¶
type Operation struct { Tags []string `protobuf:"bytes,1,rep,name=tags" json:"tags,omitempty"` Summary string `protobuf:"bytes,2,opt,name=summary" json:"summary,omitempty"` Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` ExternalDocs *ExternalDocumentation `protobuf:"bytes,4,opt,name=external_docs,json=externalDocs" json:"external_docs,omitempty"` OperationId string `protobuf:"bytes,5,opt,name=operation_id,json=operationId" json:"operation_id,omitempty"` Parameters []*Parameter `protobuf:"bytes,6,rep,name=parameters" json:"parameters,omitempty"` RequestBody *RequestBody `protobuf:"bytes,7,opt,name=request_body,json=requestBody" json:"request_body,omitempty"` Responses map[string]*Response `` /* 138-byte string literal not displayed */ Deprecated bool `protobuf:"varint,10,opt,name=deprecated" json:"deprecated,omitempty"` }
func (*Operation) Descriptor ¶
func (*Operation) GetDeprecated ¶
func (*Operation) GetDescription ¶
func (*Operation) GetExternalDocs ¶
func (m *Operation) GetExternalDocs() *ExternalDocumentation
func (*Operation) GetOperationId ¶
func (*Operation) GetParameters ¶
func (*Operation) GetRequestBody ¶
func (m *Operation) GetRequestBody() *RequestBody
func (*Operation) GetResponses ¶
func (*Operation) GetSummary ¶
func (Operation) MarshalJSON ¶
MarshalJSON marshals the Operation object without the RequestBody
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
type OperationJSON ¶
type OperationJSON struct { RequestBody *RequestBody `json:"requestBody,omitempty"` // contains filtered or unexported fields }
OperationJSON describes a custom serialization object for Operation
type Parameter ¶
type Parameter struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` In Parameter_In `protobuf:"varint,2,opt,name=in,enum=com.pseudomuto.protoc_gen_twagger.options.Parameter_In" json:"in,omitempty"` Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` Required bool `protobuf:"varint,4,opt,name=required" json:"required,omitempty"` AllowEmptyValue bool `protobuf:"varint,5,opt,name=allow_empty_value,json=allowEmptyValue" json:"allow_empty_value,omitempty"` }
func (*Parameter) Descriptor ¶
func (*Parameter) GetAllowEmptyValue ¶
func (*Parameter) GetDescription ¶
func (*Parameter) GetIn ¶
func (m *Parameter) GetIn() Parameter_In
func (*Parameter) GetRequired ¶
func (*Parameter) ProtoMessage ¶
func (*Parameter) ProtoMessage()
type Parameter_In ¶
type Parameter_In int32
const ( Parameter_QUERY Parameter_In = 0 Parameter_HEADER Parameter_In = 1 Parameter_PATH Parameter_In = 2 Parameter_COOKIE Parameter_In = 3 )
func (Parameter_In) EnumDescriptor ¶
func (Parameter_In) EnumDescriptor() ([]byte, []int)
func (Parameter_In) String ¶
func (x Parameter_In) String() string
type Path ¶
type Path struct { Summary string `protobuf:"bytes,1,opt,name=summary" json:"summary,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` Delete *Operation `protobuf:"bytes,3,opt,name=delete" json:"delete,omitempty"` Get *Operation `protobuf:"bytes,4,opt,name=get" json:"get,omitempty"` Head *Operation `protobuf:"bytes,5,opt,name=head" json:"head,omitempty"` Options *Operation `protobuf:"bytes,6,opt,name=options" json:"options,omitempty"` Patch *Operation `protobuf:"bytes,7,opt,name=patch" json:"patch,omitempty"` Post *Operation `protobuf:"bytes,8,opt,name=post" json:"post,omitempty"` Put *Operation `protobuf:"bytes,9,opt,name=put" json:"put,omitempty"` Trace *Operation `protobuf:"bytes,10,opt,name=trace" json:"trace,omitempty"` }
func (*Path) Descriptor ¶
func (*Path) GetDescription ¶
func (*Path) GetOptions ¶
func (*Path) GetSummary ¶
func (*Path) ProtoMessage ¶
func (*Path) ProtoMessage()
type RequestBody ¶
type RequestBody struct { Description string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"` Content map[string]*MediaType `` /* 134-byte string literal not displayed */ Required bool `protobuf:"varint,3,opt,name=required" json:"required,omitempty"` }
func (*RequestBody) Descriptor ¶
func (*RequestBody) Descriptor() ([]byte, []int)
func (*RequestBody) GetContent ¶
func (m *RequestBody) GetContent() map[string]*MediaType
func (*RequestBody) GetDescription ¶
func (m *RequestBody) GetDescription() string
func (*RequestBody) GetRequired ¶
func (m *RequestBody) GetRequired() bool
func (*RequestBody) ProtoMessage ¶
func (*RequestBody) ProtoMessage()
func (*RequestBody) Reset ¶
func (m *RequestBody) Reset()
func (*RequestBody) String ¶
func (m *RequestBody) String() string
type Response ¶
type Response struct { Description string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"` Content map[string]*MediaType `` /* 134-byte string literal not displayed */ }
func (*Response) Descriptor ¶
func (*Response) GetContent ¶
func (*Response) GetDescription ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
type Schema ¶
type Schema struct { Description string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"` Type string `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"` Properties map[string]*Schema `` /* 140-byte string literal not displayed */ Required []string `protobuf:"bytes,4,rep,name=required" json:"required,omitempty"` Format string `protobuf:"bytes,5,opt,name=format" json:"format,omitempty"` Ref string `protobuf:"bytes,6,opt,name=ref" json:"ref,omitempty"` }
func (*Schema) Descriptor ¶
func (*Schema) GetDescription ¶
func (*Schema) GetProperties ¶
func (*Schema) GetRequired ¶
func (Schema) MarshalJSON ¶
MarshalJSON marshals the Schema without the Ref
func (*Schema) ProtoMessage ¶
func (*Schema) ProtoMessage()
type SchemaJSON ¶
type SchemaJSON struct { Ref string `json:"$ref,omitempty"` // contains filtered or unexported fields }
SchemaJSON describes a custom serialization object for Schema
type SecurityRequirement ¶
type SecurityRequirement struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Scopes []string `protobuf:"bytes,2,rep,name=scopes" json:"scopes,omitempty"` }
func (*SecurityRequirement) Descriptor ¶
func (*SecurityRequirement) Descriptor() ([]byte, []int)
func (*SecurityRequirement) GetName ¶
func (m *SecurityRequirement) GetName() string
func (*SecurityRequirement) GetScopes ¶
func (m *SecurityRequirement) GetScopes() []string
func (SecurityRequirement) MarshalJSON ¶
func (r SecurityRequirement) MarshalJSON() ([]byte, error)
MarshalJSON marshals the name of the SecurityRequirement with an empty set of scopes
func (*SecurityRequirement) ProtoMessage ¶
func (*SecurityRequirement) ProtoMessage()
func (*SecurityRequirement) Reset ¶
func (m *SecurityRequirement) Reset()
func (*SecurityRequirement) String ¶
func (m *SecurityRequirement) String() string
type SecurityScheme ¶
type SecurityScheme struct { Type SecurityScheme_Type `protobuf:"varint,1,opt,name=type,enum=com.pseudomuto.protoc_gen_twagger.options.SecurityScheme_Type" json:"type,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` In SecurityScheme_In `protobuf:"varint,4,opt,name=in,enum=com.pseudomuto.protoc_gen_twagger.options.SecurityScheme_In" json:"in,omitempty"` Scheme string `protobuf:"bytes,5,opt,name=scheme" json:"scheme,omitempty"` BearerFormat string `protobuf:"bytes,6,opt,name=bearer_format,json=bearerFormat" json:"bearer_format,omitempty"` OpenIdConnectUrl string `protobuf:"bytes,8,opt,name=open_id_connect_url,json=openIdConnectUrl" json:"open_id_connect_url,omitempty"` }
func (*SecurityScheme) Descriptor ¶
func (*SecurityScheme) Descriptor() ([]byte, []int)
func (*SecurityScheme) GetBearerFormat ¶
func (m *SecurityScheme) GetBearerFormat() string
func (*SecurityScheme) GetDescription ¶
func (m *SecurityScheme) GetDescription() string
func (*SecurityScheme) GetIn ¶
func (m *SecurityScheme) GetIn() SecurityScheme_In
func (*SecurityScheme) GetName ¶
func (m *SecurityScheme) GetName() string
func (*SecurityScheme) GetOpenIdConnectUrl ¶
func (m *SecurityScheme) GetOpenIdConnectUrl() string
func (*SecurityScheme) GetScheme ¶
func (m *SecurityScheme) GetScheme() string
func (*SecurityScheme) GetType ¶
func (m *SecurityScheme) GetType() SecurityScheme_Type
func (SecurityScheme) MarshalJSON ¶
func (s SecurityScheme) MarshalJSON() ([]byte, error)
MarshalJSON marshals the SecurityScheme
func (*SecurityScheme) ProtoMessage ¶
func (*SecurityScheme) ProtoMessage()
func (*SecurityScheme) Reset ¶
func (m *SecurityScheme) Reset()
func (*SecurityScheme) String ¶
func (m *SecurityScheme) String() string
type SecuritySchemeJSON ¶
type SecuritySchemeJSON struct { Type string `json:"type,omitempty"` BearerFormat string `json:"bearerFormat,omitempty"` OpenIdConnectUrl string `json:"openIdConnectUrl,omitempty"` // contains filtered or unexported fields }
SecuritySchemeJSON describes a custom serialization object for SecurityScheme
type SecurityScheme_In ¶
type SecurityScheme_In int32
const ( SecurityScheme_QUERY SecurityScheme_In = 0 SecurityScheme_HEADER SecurityScheme_In = 1 SecurityScheme_COOKIE SecurityScheme_In = 2 )
func (SecurityScheme_In) EnumDescriptor ¶
func (SecurityScheme_In) EnumDescriptor() ([]byte, []int)
func (SecurityScheme_In) String ¶
func (x SecurityScheme_In) String() string
type SecurityScheme_Type ¶
type SecurityScheme_Type int32
const ( SecurityScheme_API_KEY SecurityScheme_Type = 0 SecurityScheme_HTTP SecurityScheme_Type = 1 SecurityScheme_OAUTH2 SecurityScheme_Type = 2 SecurityScheme_OPENID_CONNECT SecurityScheme_Type = 3 )
func (SecurityScheme_Type) EnumDescriptor ¶
func (SecurityScheme_Type) EnumDescriptor() ([]byte, []int)
func (SecurityScheme_Type) String ¶
func (x SecurityScheme_Type) String() string
type Server ¶
type Server struct { Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` Variables map[string]*ServerVariable `` /* 138-byte string literal not displayed */ }
func (*Server) Descriptor ¶
func (*Server) GetDescription ¶
func (*Server) GetVariables ¶
func (m *Server) GetVariables() map[string]*ServerVariable
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
type ServerVariable ¶
type ServerVariable struct { Enum []string `protobuf:"bytes,1,rep,name=enum" json:"enum,omitempty"` Default string `protobuf:"bytes,2,opt,name=default" json:"default,omitempty"` Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` }
func (*ServerVariable) Descriptor ¶
func (*ServerVariable) Descriptor() ([]byte, []int)
func (*ServerVariable) GetDefault ¶
func (m *ServerVariable) GetDefault() string
func (*ServerVariable) GetDescription ¶
func (m *ServerVariable) GetDescription() string
func (*ServerVariable) GetEnum ¶
func (m *ServerVariable) GetEnum() []string
func (*ServerVariable) ProtoMessage ¶
func (*ServerVariable) ProtoMessage()
func (*ServerVariable) Reset ¶
func (m *ServerVariable) Reset()
func (*ServerVariable) String ¶
func (m *ServerVariable) String() string
type Tag ¶
type Tag struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` ExternalDocs *ExternalDocumentation `protobuf:"bytes,3,opt,name=external_docs,json=externalDocs" json:"external_docs,omitempty"` }
func (*Tag) Descriptor ¶
func (*Tag) GetDescription ¶
func (*Tag) GetExternalDocs ¶
func (m *Tag) GetExternalDocs() *ExternalDocumentation
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()