Documentation
¶
Index ¶
- Variables
- type Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetDescription() string
- func (x *Header) GetExample() string
- func (x *Header) GetName() string
- func (x *Header) GetPattern() string
- func (x *Header) GetRequired() bool
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) String() string
- type Parameters
- func (*Parameters) Descriptor() ([]byte, []int)deprecated
- func (x *Parameters) GetBuildTags() []string
- func (x *Parameters) GetHeaders() []*Header
- func (*Parameters) ProtoMessage()
- func (x *Parameters) ProtoReflect() protoreflect.Message
- func (x *Parameters) Reset()
- func (x *Parameters) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional openapi.Parameters file_params = 66702;
E_FileParams = &file_openapi_annotations_proto_extTypes[2]
)
Extension fields to descriptorpb.FileOptions.
View Source
var (
// optional openapi.Parameters method_params = 66700;
E_MethodParams = &file_openapi_annotations_proto_extTypes[0]
)
Extension fields to descriptorpb.MethodOptions.
View Source
var (
// optional openapi.Parameters service_params = 66701;
E_ServiceParams = &file_openapi_annotations_proto_extTypes[1]
)
Extension fields to descriptorpb.ServiceOptions.
View Source
var File_openapi_annotations_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Header ¶
type Header struct {
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Pattern *string `protobuf:"bytes,2,opt,name=pattern" json:"pattern,omitempty"`
Description *string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
Required *bool `protobuf:"varint,4,opt,name=required" json:"required,omitempty"`
Example *string `protobuf:"bytes,5,opt,name=example" json:"example,omitempty"`
// contains filtered or unexported fields
}
func (*Header) Descriptor
deprecated
func (*Header) GetDescription ¶
func (*Header) GetExample ¶
func (*Header) GetPattern ¶
func (*Header) GetRequired ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
type Parameters ¶
type Parameters struct {
Headers []*Header `protobuf:"bytes,1,rep,name=headers" json:"headers,omitempty"`
BuildTags []string `protobuf:"bytes,2,rep,name=build_tags,json=buildTags" json:"build_tags,omitempty"`
// contains filtered or unexported fields
}
func (*Parameters) Descriptor
deprecated
func (*Parameters) Descriptor() ([]byte, []int)
Deprecated: Use Parameters.ProtoReflect.Descriptor instead.
func (*Parameters) GetBuildTags ¶
func (x *Parameters) GetBuildTags() []string
func (*Parameters) GetHeaders ¶
func (x *Parameters) GetHeaders() []*Header
func (*Parameters) ProtoMessage ¶
func (*Parameters) ProtoMessage()
func (*Parameters) ProtoReflect ¶
func (x *Parameters) ProtoReflect() protoreflect.Message
func (*Parameters) Reset ¶
func (x *Parameters) Reset()
func (*Parameters) String ¶
func (x *Parameters) String() string
Click to show internal directories.
Click to hide internal directories.