Documentation
¶
Index ¶
- Variables
- 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 Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetDefault() *DefaultType
- func (x *Header) GetDescription() 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 Options
- func (*Options) Descriptor() ([]byte, []int)deprecated
- func (x *Options) GetAuthorizationDescribe() string
- func (x *Options) GetServers() []string
- func (x *Options) GetVersion() string
- func (*Options) ProtoMessage()
- func (x *Options) ProtoReflect() protoreflect.Message
- func (x *Options) Reset()
- func (x *Options) String() string
- type Parameters
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional openapi.Options 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 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,oneof"`
}
type DefaultType_Number ¶
type DefaultType_Number struct {
Number float64 `protobuf:"fixed64,1,opt,name=number,oneof"`
}
type DefaultType_String_ ¶
type DefaultType_String_ struct {
String_ string `protobuf:"bytes,3,opt,name=string,oneof"`
}
type 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"` Default *DefaultType `protobuf:"bytes,5,opt,name=default" json:"default,omitempty"` // contains filtered or unexported fields }
func (*Header) Descriptor
deprecated
func (*Header) GetDefault ¶
func (x *Header) GetDefault() *DefaultType
func (*Header) GetDescription ¶
func (*Header) GetPattern ¶
func (*Header) GetRequired ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
type Options ¶
type Options struct { Version *string `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"` Servers []string `protobuf:"bytes,2,rep,name=servers" json:"servers,omitempty"` AuthorizationDescribe *string `protobuf:"bytes,3,opt,name=authorizationDescribe" json:"authorizationDescribe,omitempty"` // contains filtered or unexported fields }
func (*Options) Descriptor
deprecated
func (*Options) GetAuthorizationDescribe ¶
func (*Options) GetServers ¶
func (*Options) GetVersion ¶
func (*Options) ProtoMessage ¶
func (*Options) ProtoMessage()
func (*Options) ProtoReflect ¶
func (x *Options) ProtoReflect() protoreflect.Message
type Parameters ¶
type Parameters struct { Headers []*Header `protobuf:"bytes,1,rep,name=headers" json:"headers,omitempty"` // contains filtered or unexported fields }
func (*Parameters) Descriptor
deprecated
func (*Parameters) Descriptor() ([]byte, []int)
Deprecated: Use Parameters.ProtoReflect.Descriptor instead.
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.