openapi

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetDescription

func (x *Header) GetDescription() string

func (*Header) GetExample

func (x *Header) GetExample() string

func (*Header) GetName

func (x *Header) GetName() string

func (*Header) GetPattern

func (x *Header) GetPattern() string

func (*Header) GetRequired

func (x *Header) GetRequired() bool

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) ProtoReflect

func (x *Header) ProtoReflect() protoreflect.Message

func (*Header) Reset

func (x *Header) Reset()

func (*Header) String

func (x *Header) String() string

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

Jump to

Keyboard shortcuts

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