options

package
v0.1.0-pre.0...-cad3618 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2018 License: MIT Imports: 6 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
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",
}
View Source
var Parameter_In_name = map[int32]string{
	0: "QUERY",
	1: "HEADER",
	2: "PATH",
	3: "COOKIE",
}
View Source
var Parameter_In_value = map[string]int32{
	"QUERY":  0,
	"HEADER": 1,
	"PATH":   2,
	"COOKIE": 3,
}
View Source
var SecurityScheme_In_name = map[int32]string{
	0: "QUERY",
	1: "HEADER",
	2: "COOKIE",
}
View Source
var SecurityScheme_In_value = map[string]int32{
	"QUERY":  0,
	"HEADER": 1,
	"COOKIE": 2,
}
View Source
var SecurityScheme_Type_name = map[int32]string{
	0: "API_KEY",
	1: "HTTP",
	2: "OAUTH2",
	3: "OPENID_CONNECT",
}
View Source
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) Descriptor() ([]byte, []int)

func (*Contact) GetEmail

func (m *Contact) GetEmail() string

func (*Contact) GetName

func (m *Contact) GetName() string

func (*Contact) GetUrl

func (m *Contact) GetUrl() string

func (*Contact) ProtoMessage

func (*Contact) ProtoMessage()

func (*Contact) Reset

func (m *Contact) Reset()

func (*Contact) String

func (m *Contact) String() string

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) Descriptor() ([]byte, []int)

func (*Info) GetContact

func (m *Info) GetContact() *Contact

func (*Info) GetDescription

func (m *Info) GetDescription() string

func (*Info) GetLicense

func (m *Info) GetLicense() *License

func (*Info) GetTermsOfService

func (m *Info) GetTermsOfService() string

func (*Info) GetTitle

func (m *Info) GetTitle() string

func (*Info) GetVersion

func (m *Info) GetVersion() string

func (*Info) ProtoMessage

func (*Info) ProtoMessage()

func (*Info) Reset

func (m *Info) Reset()

func (*Info) String

func (m *Info) String() string

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) Descriptor() ([]byte, []int)

func (*License) GetName

func (m *License) GetName() string

func (*License) GetUrl

func (m *License) GetUrl() string

func (*License) ProtoMessage

func (*License) ProtoMessage()

func (*License) Reset

func (m *License) Reset()

func (*License) String

func (m *License) String() string

type MediaType

type MediaType struct {
	Schema *Schema `protobuf:"bytes,1,opt,name=schema" json:"schema,omitempty"`
}

func (*MediaType) Descriptor

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

func (*MediaType) GetSchema

func (m *MediaType) GetSchema() *Schema

func (*MediaType) ProtoMessage

func (*MediaType) ProtoMessage()

func (*MediaType) Reset

func (m *MediaType) Reset()

func (*MediaType) String

func (m *MediaType) String() string

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) Descriptor() ([]byte, []int)

func (*OpenAPI) GetComponents

func (m *OpenAPI) GetComponents() *Components

func (*OpenAPI) GetExternalDocs

func (m *OpenAPI) GetExternalDocs() *ExternalDocumentation

func (*OpenAPI) GetInfo

func (m *OpenAPI) GetInfo() *Info

func (*OpenAPI) GetOpenapi

func (m *OpenAPI) GetOpenapi() string

func (*OpenAPI) GetPaths

func (m *OpenAPI) GetPaths() map[string]*Path

func (*OpenAPI) GetSecurity

func (m *OpenAPI) GetSecurity() []*SecurityRequirement

func (*OpenAPI) GetServers

func (m *OpenAPI) GetServers() []*Server

func (*OpenAPI) GetTags

func (m *OpenAPI) GetTags() []*Tag

func (*OpenAPI) ProtoMessage

func (*OpenAPI) ProtoMessage()

func (*OpenAPI) Reset

func (m *OpenAPI) Reset()

func (*OpenAPI) String

func (m *OpenAPI) String() string

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) Descriptor() ([]byte, []int)

func (*Operation) GetDeprecated

func (m *Operation) GetDeprecated() bool

func (*Operation) GetDescription

func (m *Operation) GetDescription() string

func (*Operation) GetExternalDocs

func (m *Operation) GetExternalDocs() *ExternalDocumentation

func (*Operation) GetOperationId

func (m *Operation) GetOperationId() string

func (*Operation) GetParameters

func (m *Operation) GetParameters() []*Parameter

func (*Operation) GetRequestBody

func (m *Operation) GetRequestBody() *RequestBody

func (*Operation) GetResponses

func (m *Operation) GetResponses() map[string]*Response

func (*Operation) GetSummary

func (m *Operation) GetSummary() string

func (*Operation) GetTags

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

func (Operation) MarshalJSON

func (o Operation) MarshalJSON() ([]byte, error)

MarshalJSON marshals the Operation object without the RequestBody

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) Reset

func (m *Operation) Reset()

func (*Operation) String

func (m *Operation) String() string

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) Descriptor() ([]byte, []int)

func (*Parameter) GetAllowEmptyValue

func (m *Parameter) GetAllowEmptyValue() bool

func (*Parameter) GetDescription

func (m *Parameter) GetDescription() string

func (*Parameter) GetIn

func (m *Parameter) GetIn() Parameter_In

func (*Parameter) GetName

func (m *Parameter) GetName() string

func (*Parameter) GetRequired

func (m *Parameter) GetRequired() bool

func (*Parameter) ProtoMessage

func (*Parameter) ProtoMessage()

func (*Parameter) Reset

func (m *Parameter) Reset()

func (*Parameter) String

func (m *Parameter) String() string

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) Descriptor() ([]byte, []int)

func (*Path) GetDelete

func (m *Path) GetDelete() *Operation

func (*Path) GetDescription

func (m *Path) GetDescription() string

func (*Path) GetGet

func (m *Path) GetGet() *Operation

func (*Path) GetHead

func (m *Path) GetHead() *Operation

func (*Path) GetOptions

func (m *Path) GetOptions() *Operation

func (*Path) GetPatch

func (m *Path) GetPatch() *Operation

func (*Path) GetPost

func (m *Path) GetPost() *Operation

func (*Path) GetPut

func (m *Path) GetPut() *Operation

func (*Path) GetSummary

func (m *Path) GetSummary() string

func (*Path) GetTrace

func (m *Path) GetTrace() *Operation

func (*Path) ProtoMessage

func (*Path) ProtoMessage()

func (*Path) Reset

func (m *Path) Reset()

func (*Path) String

func (m *Path) String() string

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) Descriptor() ([]byte, []int)

func (*Response) GetContent

func (m *Response) GetContent() map[string]*MediaType

func (*Response) GetDescription

func (m *Response) GetDescription() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

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) Descriptor() ([]byte, []int)

func (*Schema) GetDescription

func (m *Schema) GetDescription() string

func (*Schema) GetFormat

func (m *Schema) GetFormat() string

func (*Schema) GetProperties

func (m *Schema) GetProperties() map[string]*Schema

func (*Schema) GetRef

func (m *Schema) GetRef() string

func (*Schema) GetRequired

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

func (*Schema) GetType

func (m *Schema) GetType() string

func (Schema) MarshalJSON

func (s Schema) MarshalJSON() ([]byte, error)

MarshalJSON marshals the Schema without the Ref

func (*Schema) ProtoMessage

func (*Schema) ProtoMessage()

func (*Schema) Reset

func (m *Schema) Reset()

func (*Schema) String

func (m *Schema) String() string

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) Descriptor() ([]byte, []int)

func (*Server) GetDescription

func (m *Server) GetDescription() string

func (*Server) GetUrl

func (m *Server) GetUrl() string

func (*Server) GetVariables

func (m *Server) GetVariables() map[string]*ServerVariable

func (*Server) ProtoMessage

func (*Server) ProtoMessage()

func (*Server) Reset

func (m *Server) Reset()

func (*Server) String

func (m *Server) String() string

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) Descriptor() ([]byte, []int)

func (*Tag) GetDescription

func (m *Tag) GetDescription() string

func (*Tag) GetExternalDocs

func (m *Tag) GetExternalDocs() *ExternalDocumentation

func (*Tag) GetName

func (m *Tag) GetName() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) Reset

func (m *Tag) Reset()

func (*Tag) String

func (m *Tag) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL