openapi

package
v0.0.0-...-31c5d9e Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetDefault

func (x *Header) GetDefault() *DefaultType

func (*Header) GetDescription

func (x *Header) GetDescription() 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 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) Descriptor() ([]byte, []int)

Deprecated: Use Options.ProtoReflect.Descriptor instead.

func (*Options) GetAuthorizationDescribe

func (x *Options) GetAuthorizationDescribe() string

func (*Options) GetServers

func (x *Options) GetServers() []string

func (*Options) GetVersion

func (x *Options) GetVersion() string

func (*Options) ProtoMessage

func (*Options) ProtoMessage()

func (*Options) ProtoReflect

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

func (*Options) Reset

func (x *Options) Reset()

func (*Options) String

func (x *Options) String() string

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

Jump to

Keyboard shortcuts

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