openapi

package
v0.22.5 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthOpenapi        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOpenapi          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOpenapi = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type APIKeysSecurity

type APIKeysSecurity struct {
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// header
	In   string `protobuf:"bytes,2,opt,name=in,proto3" json:"in,omitempty"`
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
}

APIKeysSecurity is swagger API keys Authorization security (https://swagger.io/docs/specification/authentication/api-keys/)

func (*APIKeysSecurity) Descriptor

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

func (*APIKeysSecurity) Marshal

func (m *APIKeysSecurity) Marshal() (dAtA []byte, err error)

func (*APIKeysSecurity) MarshalTo

func (m *APIKeysSecurity) MarshalTo(dAtA []byte) (int, error)

func (*APIKeysSecurity) MarshalToSizedBuffer

func (m *APIKeysSecurity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*APIKeysSecurity) ProtoMessage

func (*APIKeysSecurity) ProtoMessage()

func (*APIKeysSecurity) Reset

func (m *APIKeysSecurity) Reset()

func (*APIKeysSecurity) String

func (m *APIKeysSecurity) String() string

func (*APIKeysSecurity) Unmarshal

func (m *APIKeysSecurity) Unmarshal(dAtA []byte) error

func (*APIKeysSecurity) XSize

func (m *APIKeysSecurity) XSize() (n int)

func (*APIKeysSecurity) XXX_DiscardUnknown

func (m *APIKeysSecurity) XXX_DiscardUnknown()

func (*APIKeysSecurity) XXX_Marshal

func (m *APIKeysSecurity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*APIKeysSecurity) XXX_Merge

func (m *APIKeysSecurity) XXX_Merge(src proto.Message)

func (*APIKeysSecurity) XXX_Size

func (m *APIKeysSecurity) XXX_Size() int

func (*APIKeysSecurity) XXX_Unmarshal

func (m *APIKeysSecurity) XXX_Unmarshal(b []byte) error

type ApplicationContent

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

func (*ApplicationContent) Descriptor

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

func (*ApplicationContent) Marshal

func (m *ApplicationContent) Marshal() (dAtA []byte, err error)

func (*ApplicationContent) MarshalTo

func (m *ApplicationContent) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationContent) MarshalToSizedBuffer

func (m *ApplicationContent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationContent) ProtoMessage

func (*ApplicationContent) ProtoMessage()

func (*ApplicationContent) Reset

func (m *ApplicationContent) Reset()

func (*ApplicationContent) String

func (m *ApplicationContent) String() string

func (*ApplicationContent) Unmarshal

func (m *ApplicationContent) Unmarshal(dAtA []byte) error

func (*ApplicationContent) XSize

func (m *ApplicationContent) XSize() (n int)

func (*ApplicationContent) XXX_DiscardUnknown

func (m *ApplicationContent) XXX_DiscardUnknown()

func (*ApplicationContent) XXX_Marshal

func (m *ApplicationContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationContent) XXX_Merge

func (m *ApplicationContent) XXX_Merge(src proto.Message)

func (*ApplicationContent) XXX_Size

func (m *ApplicationContent) XXX_Size() int

func (*ApplicationContent) XXX_Unmarshal

func (m *ApplicationContent) XXX_Unmarshal(b []byte) error

type BasicSecurity

type BasicSecurity struct {
	// http, apiKey, oauth, openIdConnect
	Type   string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Scheme string `protobuf:"bytes,2,opt,name=scheme,proto3" json:"scheme,omitempty"`
}

BasicSecurity is swagger Basic Authorization security (https://swagger.io/docs/specification/authentication/basic-authentication/)

func (*BasicSecurity) Descriptor

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

func (*BasicSecurity) Marshal

func (m *BasicSecurity) Marshal() (dAtA []byte, err error)

func (*BasicSecurity) MarshalTo

func (m *BasicSecurity) MarshalTo(dAtA []byte) (int, error)

func (*BasicSecurity) MarshalToSizedBuffer

func (m *BasicSecurity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BasicSecurity) ProtoMessage

func (*BasicSecurity) ProtoMessage()

func (*BasicSecurity) Reset

func (m *BasicSecurity) Reset()

func (*BasicSecurity) String

func (m *BasicSecurity) String() string

func (*BasicSecurity) Unmarshal

func (m *BasicSecurity) Unmarshal(dAtA []byte) error

func (*BasicSecurity) XSize

func (m *BasicSecurity) XSize() (n int)

func (*BasicSecurity) XXX_DiscardUnknown

func (m *BasicSecurity) XXX_DiscardUnknown()

func (*BasicSecurity) XXX_Marshal

func (m *BasicSecurity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BasicSecurity) XXX_Merge

func (m *BasicSecurity) XXX_Merge(src proto.Message)

func (*BasicSecurity) XXX_Size

func (m *BasicSecurity) XXX_Size() int

func (*BasicSecurity) XXX_Unmarshal

func (m *BasicSecurity) XXX_Unmarshal(b []byte) error

type BearerSecurity

type BearerSecurity struct {
	// http
	Type   string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Scheme string `protobuf:"bytes,2,opt,name=scheme,proto3" json:"scheme,omitempty"`
	// JWT
	BearerFormat string `protobuf:"bytes,3,opt,name=bearerFormat,proto3" json:"bearerFormat,omitempty"`
}

BearerSecurity is swagger Bearer Authorization security (https://swagger.io/docs/specification/authentication/bearer-authentication/)

func (*BearerSecurity) Descriptor

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

func (*BearerSecurity) Marshal

func (m *BearerSecurity) Marshal() (dAtA []byte, err error)

func (*BearerSecurity) MarshalTo

func (m *BearerSecurity) MarshalTo(dAtA []byte) (int, error)

func (*BearerSecurity) MarshalToSizedBuffer

func (m *BearerSecurity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BearerSecurity) ProtoMessage

func (*BearerSecurity) ProtoMessage()

func (*BearerSecurity) Reset

func (m *BearerSecurity) Reset()

func (*BearerSecurity) String

func (m *BearerSecurity) String() string

func (*BearerSecurity) Unmarshal

func (m *BearerSecurity) Unmarshal(dAtA []byte) error

func (*BearerSecurity) XSize

func (m *BearerSecurity) XSize() (n int)

func (*BearerSecurity) XXX_DiscardUnknown

func (m *BearerSecurity) XXX_DiscardUnknown()

func (*BearerSecurity) XXX_Marshal

func (m *BearerSecurity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BearerSecurity) XXX_Merge

func (m *BearerSecurity) XXX_Merge(src proto.Message)

func (*BearerSecurity) XXX_Size

func (m *BearerSecurity) XXX_Size() int

func (*BearerSecurity) XXX_Unmarshal

func (m *BearerSecurity) XXX_Unmarshal(b []byte) error

type Model

type Model struct {
	// string, number, integer, boolean, array, object
	Type       string             `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Properties map[string]*Schema `` /* 161-byte string literal not displayed */
	Required   []string           `protobuf:"bytes,3,rep,name=required,proto3" json:"required,omitempty"`
}

Model is swagger data models (https://swagger.io/docs/specification/data-models/)

func (*Model) Descriptor

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

func (*Model) Marshal

func (m *Model) Marshal() (dAtA []byte, err error)

func (*Model) MarshalTo

func (m *Model) MarshalTo(dAtA []byte) (int, error)

func (*Model) MarshalToSizedBuffer

func (m *Model) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Model) ProtoMessage

func (*Model) ProtoMessage()

func (*Model) Reset

func (m *Model) Reset()

func (*Model) String

func (m *Model) String() string

func (*Model) Unmarshal

func (m *Model) Unmarshal(dAtA []byte) error

func (*Model) XSize

func (m *Model) XSize() (n int)

func (*Model) XXX_DiscardUnknown

func (m *Model) XXX_DiscardUnknown()

func (*Model) XXX_Marshal

func (m *Model) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Model) XXX_Merge

func (m *Model) XXX_Merge(src proto.Message)

func (*Model) XXX_Size

func (m *Model) XXX_Size() int

func (*Model) XXX_Unmarshal

func (m *Model) XXX_Unmarshal(b []byte) error

type OpenAPI

type OpenAPI struct {
	Openapi      string                  `protobuf:"bytes,1,opt,name=openapi,proto3" json:"openapi,omitempty"`
	Info         *OpenAPIInfo            `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	ExternalDocs *OpenAPIExternalDocs    `protobuf:"bytes,3,opt,name=externalDocs,proto3" json:"externalDocs,omitempty"`
	Servers      []*OpenAPIServer        `protobuf:"bytes,4,rep,name=servers,proto3" json:"servers,omitempty"`
	Tags         []*OpenAPITag           `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
	Paths        map[string]*OpenAPIPath `` /* 151-byte string literal not displayed */
	Components   *OpenAPIComponents      `protobuf:"bytes,7,opt,name=components,proto3" json:"components,omitempty"`
}

func (*OpenAPI) Descriptor

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

func (*OpenAPI) Marshal

func (m *OpenAPI) Marshal() (dAtA []byte, err error)

func (*OpenAPI) MarshalTo

func (m *OpenAPI) MarshalTo(dAtA []byte) (int, error)

func (*OpenAPI) MarshalToSizedBuffer

func (m *OpenAPI) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OpenAPI) ProtoMessage

func (*OpenAPI) ProtoMessage()

func (*OpenAPI) Reset

func (m *OpenAPI) Reset()

func (*OpenAPI) String

func (m *OpenAPI) String() string

func (*OpenAPI) Unmarshal

func (m *OpenAPI) Unmarshal(dAtA []byte) error

func (*OpenAPI) XSize

func (m *OpenAPI) XSize() (n int)

func (*OpenAPI) XXX_DiscardUnknown

func (m *OpenAPI) XXX_DiscardUnknown()

func (*OpenAPI) XXX_Marshal

func (m *OpenAPI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpenAPI) XXX_Merge

func (m *OpenAPI) XXX_Merge(src proto.Message)

func (*OpenAPI) XXX_Size

func (m *OpenAPI) XXX_Size() int

func (*OpenAPI) XXX_Unmarshal

func (m *OpenAPI) XXX_Unmarshal(b []byte) error

type OpenAPIComponents

type OpenAPIComponents struct {
	SecuritySchemes *SecuritySchemes  `protobuf:"bytes,1,opt,name=securitySchemes,proto3" json:"securitySchemes,omitempty"`
	Schemas         map[string]*Model `` /* 155-byte string literal not displayed */
}

func (*OpenAPIComponents) Descriptor

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

func (*OpenAPIComponents) Marshal

func (m *OpenAPIComponents) Marshal() (dAtA []byte, err error)

func (*OpenAPIComponents) MarshalTo

func (m *OpenAPIComponents) MarshalTo(dAtA []byte) (int, error)

func (*OpenAPIComponents) MarshalToSizedBuffer

func (m *OpenAPIComponents) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OpenAPIComponents) ProtoMessage

func (*OpenAPIComponents) ProtoMessage()

func (*OpenAPIComponents) Reset

func (m *OpenAPIComponents) Reset()

func (*OpenAPIComponents) String

func (m *OpenAPIComponents) String() string

func (*OpenAPIComponents) Unmarshal

func (m *OpenAPIComponents) Unmarshal(dAtA []byte) error

func (*OpenAPIComponents) XSize

func (m *OpenAPIComponents) XSize() (n int)

func (*OpenAPIComponents) XXX_DiscardUnknown

func (m *OpenAPIComponents) XXX_DiscardUnknown()

func (*OpenAPIComponents) XXX_Marshal

func (m *OpenAPIComponents) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpenAPIComponents) XXX_Merge

func (m *OpenAPIComponents) XXX_Merge(src proto.Message)

func (*OpenAPIComponents) XXX_Size

func (m *OpenAPIComponents) XXX_Size() int

func (*OpenAPIComponents) XXX_Unmarshal

func (m *OpenAPIComponents) XXX_Unmarshal(b []byte) error

type OpenAPIContact

type OpenAPIContact struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
}

func (*OpenAPIContact) Descriptor

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

func (*OpenAPIContact) Marshal

func (m *OpenAPIContact) Marshal() (dAtA []byte, err error)

func (*OpenAPIContact) MarshalTo

func (m *OpenAPIContact) MarshalTo(dAtA []byte) (int, error)

func (*OpenAPIContact) MarshalToSizedBuffer

func (m *OpenAPIContact) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OpenAPIContact) ProtoMessage

func (*OpenAPIContact) ProtoMessage()

func (*OpenAPIContact) Reset

func (m *OpenAPIContact) Reset()

func (*OpenAPIContact) String

func (m *OpenAPIContact) String() string

func (*OpenAPIContact) Unmarshal

func (m *OpenAPIContact) Unmarshal(dAtA []byte) error

func (*OpenAPIContact) XSize

func (m *OpenAPIContact) XSize() (n int)

func (*OpenAPIContact) XXX_DiscardUnknown

func (m *OpenAPIContact) XXX_DiscardUnknown()

func (*OpenAPIContact) XXX_Marshal

func (m *OpenAPIContact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpenAPIContact) XXX_Merge

func (m *OpenAPIContact) XXX_Merge(src proto.Message)

func (*OpenAPIContact) XXX_Size

func (m *OpenAPIContact) XXX_Size() int

func (*OpenAPIContact) XXX_Unmarshal

func (m *OpenAPIContact) XXX_Unmarshal(b []byte) error

type OpenAPIExternalDocs

type OpenAPIExternalDocs struct {
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	Url         string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
}

func (*OpenAPIExternalDocs) Descriptor

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

func (*OpenAPIExternalDocs) Marshal

func (m *OpenAPIExternalDocs) Marshal() (dAtA []byte, err error)

func (*OpenAPIExternalDocs) MarshalTo

func (m *OpenAPIExternalDocs) MarshalTo(dAtA []byte) (int, error)

func (*OpenAPIExternalDocs) MarshalToSizedBuffer

func (m *OpenAPIExternalDocs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OpenAPIExternalDocs) ProtoMessage

func (*OpenAPIExternalDocs) ProtoMessage()

func (*OpenAPIExternalDocs) Reset

func (m *OpenAPIExternalDocs) Reset()

func (*OpenAPIExternalDocs) String

func (m *OpenAPIExternalDocs) String() string

func (*OpenAPIExternalDocs) Unmarshal

func (m *OpenAPIExternalDocs) Unmarshal(dAtA []byte) error

func (*OpenAPIExternalDocs) XSize

func (m *OpenAPIExternalDocs) XSize() (n int)

func (*OpenAPIExternalDocs) XXX_DiscardUnknown

func (m *OpenAPIExternalDocs) XXX_DiscardUnknown()

func (*OpenAPIExternalDocs) XXX_Marshal

func (m *OpenAPIExternalDocs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpenAPIExternalDocs) XXX_Merge

func (m *OpenAPIExternalDocs) XXX_Merge(src proto.Message)

func (*OpenAPIExternalDocs) XXX_Size

func (m *OpenAPIExternalDocs) XXX_Size() int

func (*OpenAPIExternalDocs) XXX_Unmarshal

func (m *OpenAPIExternalDocs) XXX_Unmarshal(b []byte) error

type OpenAPIInfo

type OpenAPIInfo struct {
	Title          string          `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description    string          `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	TermsOfService string          `protobuf:"bytes,3,opt,name=termsOfService,proto3" json:"termsOfService,omitempty"`
	Contact        *OpenAPIContact `protobuf:"bytes,4,opt,name=contact,proto3" json:"contact,omitempty"`
	License        *OpenAPILicense `protobuf:"bytes,5,opt,name=license,proto3" json:"license,omitempty"`
	Version        string          `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
}

func (*OpenAPIInfo) Descriptor

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

func (*OpenAPIInfo) Marshal

func (m *OpenAPIInfo) Marshal() (dAtA []byte, err error)

func (*OpenAPIInfo) MarshalTo

func (m *OpenAPIInfo) MarshalTo(dAtA []byte) (int, error)

func (*OpenAPIInfo) MarshalToSizedBuffer

func (m *OpenAPIInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OpenAPIInfo) ProtoMessage

func (*OpenAPIInfo) ProtoMessage()

func (*OpenAPIInfo) Reset

func (m *OpenAPIInfo) Reset()

func (*OpenAPIInfo) String

func (m *OpenAPIInfo) String() string

func (*OpenAPIInfo) Unmarshal

func (m *OpenAPIInfo) Unmarshal(dAtA []byte) error

func (*OpenAPIInfo) XSize

func (m *OpenAPIInfo) XSize() (n int)

func (*OpenAPIInfo) XXX_DiscardUnknown

func (m *OpenAPIInfo) XXX_DiscardUnknown()

func (*OpenAPIInfo) XXX_Marshal

func (m *OpenAPIInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpenAPIInfo) XXX_Merge

func (m *OpenAPIInfo) XXX_Merge(src proto.Message)

func (*OpenAPIInfo) XXX_Size

func (m *OpenAPIInfo) XXX_Size() int

func (*OpenAPIInfo) XXX_Unmarshal

func (m *OpenAPIInfo) XXX_Unmarshal(b []byte) error

type OpenAPILicense

type OpenAPILicense struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Url  string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
}

func (*OpenAPILicense) Descriptor

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

func (*OpenAPILicense) Marshal

func (m *OpenAPILicense) Marshal() (dAtA []byte, err error)

func (*OpenAPILicense) MarshalTo

func (m *OpenAPILicense) MarshalTo(dAtA []byte) (int, error)

func (*OpenAPILicense) MarshalToSizedBuffer

func (m *OpenAPILicense) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OpenAPILicense) ProtoMessage

func (*OpenAPILicense) ProtoMessage()

func (*OpenAPILicense) Reset

func (m *OpenAPILicense) Reset()

func (*OpenAPILicense) String

func (m *OpenAPILicense) String() string

func (*OpenAPILicense) Unmarshal

func (m *OpenAPILicense) Unmarshal(dAtA []byte) error

func (*OpenAPILicense) XSize

func (m *OpenAPILicense) XSize() (n int)

func (*OpenAPILicense) XXX_DiscardUnknown

func (m *OpenAPILicense) XXX_DiscardUnknown()

func (*OpenAPILicense) XXX_Marshal

func (m *OpenAPILicense) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpenAPILicense) XXX_Merge

func (m *OpenAPILicense) XXX_Merge(src proto.Message)

func (*OpenAPILicense) XXX_Size

func (m *OpenAPILicense) XXX_Size() int

func (*OpenAPILicense) XXX_Unmarshal

func (m *OpenAPILicense) XXX_Unmarshal(b []byte) error

type OpenAPIPath

type OpenAPIPath struct {
	Get    *OpenAPIPathDocs `protobuf:"bytes,1,opt,name=get,proto3" json:"get,omitempty"`
	Post   *OpenAPIPathDocs `protobuf:"bytes,2,opt,name=post,proto3" json:"post,omitempty"`
	Put    *OpenAPIPathDocs `protobuf:"bytes,3,opt,name=put,proto3" json:"put,omitempty"`
	Patch  *OpenAPIPathDocs `protobuf:"bytes,4,opt,name=patch,proto3" json:"patch,omitempty"`
	Delete *OpenAPIPathDocs `protobuf:"bytes,5,opt,name=delete,proto3" json:"delete,omitempty"`
}

func (*OpenAPIPath) Descriptor

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

func (*OpenAPIPath) Marshal

func (m *OpenAPIPath) Marshal() (dAtA []byte, err error)

func (*OpenAPIPath) MarshalTo

func (m *OpenAPIPath) MarshalTo(dAtA []byte) (int, error)

func (*OpenAPIPath) MarshalToSizedBuffer

func (m *OpenAPIPath) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OpenAPIPath) ProtoMessage

func (*OpenAPIPath) ProtoMessage()

func (*OpenAPIPath) Reset

func (m *OpenAPIPath) Reset()

func (*OpenAPIPath) String

func (m *OpenAPIPath) String() string

func (*OpenAPIPath) Unmarshal

func (m *OpenAPIPath) Unmarshal(dAtA []byte) error

func (*OpenAPIPath) XSize

func (m *OpenAPIPath) XSize() (n int)

func (*OpenAPIPath) XXX_DiscardUnknown

func (m *OpenAPIPath) XXX_DiscardUnknown()

func (*OpenAPIPath) XXX_Marshal

func (m *OpenAPIPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpenAPIPath) XXX_Merge

func (m *OpenAPIPath) XXX_Merge(src proto.Message)

func (*OpenAPIPath) XXX_Size

func (m *OpenAPIPath) XXX_Size() int

func (*OpenAPIPath) XXX_Unmarshal

func (m *OpenAPIPath) XXX_Unmarshal(b []byte) error

type OpenAPIPathDocs

type OpenAPIPathDocs struct {
	Tags        []string                 `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
	Summary     string                   `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
	Description string                   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	OperationId string                   `protobuf:"bytes,4,opt,name=operationId,proto3" json:"operationId,omitempty"`
	Deprecated  bool                     `protobuf:"varint,5,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
	RequestBody *PathRequestBody         `protobuf:"bytes,6,opt,name=requestBody,proto3" json:"requestBody,omitempty"`
	Parameters  []*PathParameters        `protobuf:"bytes,7,rep,name=parameters,proto3" json:"parameters,omitempty"`
	Responses   map[string]*PathResponse `` /* 159-byte string literal not displayed */
	Security    []*PathSecurity          `protobuf:"bytes,9,rep,name=security,proto3" json:"security,omitempty"`
}

func (*OpenAPIPathDocs) Descriptor

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

func (*OpenAPIPathDocs) Marshal

func (m *OpenAPIPathDocs) Marshal() (dAtA []byte, err error)

func (*OpenAPIPathDocs) MarshalTo

func (m *OpenAPIPathDocs) MarshalTo(dAtA []byte) (int, error)

func (*OpenAPIPathDocs) MarshalToSizedBuffer

func (m *OpenAPIPathDocs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OpenAPIPathDocs) ProtoMessage

func (*OpenAPIPathDocs) ProtoMessage()

func (*OpenAPIPathDocs) Reset

func (m *OpenAPIPathDocs) Reset()

func (*OpenAPIPathDocs) String

func (m *OpenAPIPathDocs) String() string

func (*OpenAPIPathDocs) Unmarshal

func (m *OpenAPIPathDocs) Unmarshal(dAtA []byte) error

func (*OpenAPIPathDocs) XSize

func (m *OpenAPIPathDocs) XSize() (n int)

func (*OpenAPIPathDocs) XXX_DiscardUnknown

func (m *OpenAPIPathDocs) XXX_DiscardUnknown()

func (*OpenAPIPathDocs) XXX_Marshal

func (m *OpenAPIPathDocs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpenAPIPathDocs) XXX_Merge

func (m *OpenAPIPathDocs) XXX_Merge(src proto.Message)

func (*OpenAPIPathDocs) XXX_Size

func (m *OpenAPIPathDocs) XXX_Size() int

func (*OpenAPIPathDocs) XXX_Unmarshal

func (m *OpenAPIPathDocs) XXX_Unmarshal(b []byte) error

type OpenAPIServer

type OpenAPIServer struct {
	Url         string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"`
}

func (*OpenAPIServer) Descriptor

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

func (*OpenAPIServer) Marshal

func (m *OpenAPIServer) Marshal() (dAtA []byte, err error)

func (*OpenAPIServer) MarshalTo

func (m *OpenAPIServer) MarshalTo(dAtA []byte) (int, error)

func (*OpenAPIServer) MarshalToSizedBuffer

func (m *OpenAPIServer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OpenAPIServer) ProtoMessage

func (*OpenAPIServer) ProtoMessage()

func (*OpenAPIServer) Reset

func (m *OpenAPIServer) Reset()

func (*OpenAPIServer) String

func (m *OpenAPIServer) String() string

func (*OpenAPIServer) Unmarshal

func (m *OpenAPIServer) Unmarshal(dAtA []byte) error

func (*OpenAPIServer) XSize

func (m *OpenAPIServer) XSize() (n int)

func (*OpenAPIServer) XXX_DiscardUnknown

func (m *OpenAPIServer) XXX_DiscardUnknown()

func (*OpenAPIServer) XXX_Marshal

func (m *OpenAPIServer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpenAPIServer) XXX_Merge

func (m *OpenAPIServer) XXX_Merge(src proto.Message)

func (*OpenAPIServer) XXX_Size

func (m *OpenAPIServer) XXX_Size() int

func (*OpenAPIServer) XXX_Unmarshal

func (m *OpenAPIServer) XXX_Unmarshal(b []byte) error

type OpenAPITag

type OpenAPITag struct {
	Name         string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description  string               `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ExternalDocs *OpenAPIExternalDocs `protobuf:"bytes,3,opt,name=externalDocs,proto3" json:"externalDocs,omitempty"`
}

func (*OpenAPITag) Descriptor

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

func (*OpenAPITag) Marshal

func (m *OpenAPITag) Marshal() (dAtA []byte, err error)

func (*OpenAPITag) MarshalTo

func (m *OpenAPITag) MarshalTo(dAtA []byte) (int, error)

func (*OpenAPITag) MarshalToSizedBuffer

func (m *OpenAPITag) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OpenAPITag) ProtoMessage

func (*OpenAPITag) ProtoMessage()

func (*OpenAPITag) Reset

func (m *OpenAPITag) Reset()

func (*OpenAPITag) String

func (m *OpenAPITag) String() string

func (*OpenAPITag) Unmarshal

func (m *OpenAPITag) Unmarshal(dAtA []byte) error

func (*OpenAPITag) XSize

func (m *OpenAPITag) XSize() (n int)

func (*OpenAPITag) XXX_DiscardUnknown

func (m *OpenAPITag) XXX_DiscardUnknown()

func (*OpenAPITag) XXX_Marshal

func (m *OpenAPITag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OpenAPITag) XXX_Merge

func (m *OpenAPITag) XXX_Merge(src proto.Message)

func (*OpenAPITag) XXX_Size

func (m *OpenAPITag) XXX_Size() int

func (*OpenAPITag) XXX_Unmarshal

func (m *OpenAPITag) XXX_Unmarshal(b []byte) error

type PathParameters

type PathParameters struct {
	// query, cookie, path
	In              string  `protobuf:"bytes,1,opt,name=in,proto3" json:"in,omitempty"`
	Name            string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Required        bool    `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"`
	Description     string  `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	AllowReserved   bool    `protobuf:"varint,5,opt,name=allowReserved,proto3" json:"allowReserved,omitempty"`
	Style           string  `protobuf:"bytes,6,opt,name=style,proto3" json:"style,omitempty"`
	Explode         bool    `protobuf:"varint,7,opt,name=explode,proto3" json:"explode,omitempty"`
	AllowEmptyValue bool    `protobuf:"varint,8,opt,name=allowEmptyValue,proto3" json:"allowEmptyValue,omitempty"`
	Schema          *Schema `protobuf:"bytes,9,opt,name=schema,proto3" json:"schema,omitempty"`
	Example         string  `protobuf:"bytes,10,opt,name=example,proto3" json:"example,omitempty"`
}

func (*PathParameters) Descriptor

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

func (*PathParameters) Marshal

func (m *PathParameters) Marshal() (dAtA []byte, err error)

func (*PathParameters) MarshalTo

func (m *PathParameters) MarshalTo(dAtA []byte) (int, error)

func (*PathParameters) MarshalToSizedBuffer

func (m *PathParameters) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PathParameters) ProtoMessage

func (*PathParameters) ProtoMessage()

func (*PathParameters) Reset

func (m *PathParameters) Reset()

func (*PathParameters) String

func (m *PathParameters) String() string

func (*PathParameters) Unmarshal

func (m *PathParameters) Unmarshal(dAtA []byte) error

func (*PathParameters) XSize

func (m *PathParameters) XSize() (n int)

func (*PathParameters) XXX_DiscardUnknown

func (m *PathParameters) XXX_DiscardUnknown()

func (*PathParameters) XXX_Marshal

func (m *PathParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PathParameters) XXX_Merge

func (m *PathParameters) XXX_Merge(src proto.Message)

func (*PathParameters) XXX_Size

func (m *PathParameters) XXX_Size() int

func (*PathParameters) XXX_Unmarshal

func (m *PathParameters) XXX_Unmarshal(b []byte) error

type PathRequestBody

type PathRequestBody struct {
	Description string                  `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	Required    bool                    `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"`
	Content     *PathRequestBodyContent `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
}

func (*PathRequestBody) Descriptor

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

func (*PathRequestBody) Marshal

func (m *PathRequestBody) Marshal() (dAtA []byte, err error)

func (*PathRequestBody) MarshalTo

func (m *PathRequestBody) MarshalTo(dAtA []byte) (int, error)

func (*PathRequestBody) MarshalToSizedBuffer

func (m *PathRequestBody) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PathRequestBody) ProtoMessage

func (*PathRequestBody) ProtoMessage()

func (*PathRequestBody) Reset

func (m *PathRequestBody) Reset()

func (*PathRequestBody) String

func (m *PathRequestBody) String() string

func (*PathRequestBody) Unmarshal

func (m *PathRequestBody) Unmarshal(dAtA []byte) error

func (*PathRequestBody) XSize

func (m *PathRequestBody) XSize() (n int)

func (*PathRequestBody) XXX_DiscardUnknown

func (m *PathRequestBody) XXX_DiscardUnknown()

func (*PathRequestBody) XXX_Marshal

func (m *PathRequestBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PathRequestBody) XXX_Merge

func (m *PathRequestBody) XXX_Merge(src proto.Message)

func (*PathRequestBody) XXX_Size

func (m *PathRequestBody) XXX_Size() int

func (*PathRequestBody) XXX_Unmarshal

func (m *PathRequestBody) XXX_Unmarshal(b []byte) error

type PathRequestBodyContent

type PathRequestBodyContent struct {
	ApplicationJson *ApplicationContent `protobuf:"bytes,1,opt,name=applicationJson,proto3" json:"application/json,omitempty"`
	ApplicationXml  *ApplicationContent `protobuf:"bytes,2,opt,name=applicationXml,proto3" json:"application/xml,omitempty"`
}

func (*PathRequestBodyContent) Descriptor

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

func (*PathRequestBodyContent) Marshal

func (m *PathRequestBodyContent) Marshal() (dAtA []byte, err error)

func (*PathRequestBodyContent) MarshalTo

func (m *PathRequestBodyContent) MarshalTo(dAtA []byte) (int, error)

func (*PathRequestBodyContent) MarshalToSizedBuffer

func (m *PathRequestBodyContent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PathRequestBodyContent) ProtoMessage

func (*PathRequestBodyContent) ProtoMessage()

func (*PathRequestBodyContent) Reset

func (m *PathRequestBodyContent) Reset()

func (*PathRequestBodyContent) String

func (m *PathRequestBodyContent) String() string

func (*PathRequestBodyContent) Unmarshal

func (m *PathRequestBodyContent) Unmarshal(dAtA []byte) error

func (*PathRequestBodyContent) XSize

func (m *PathRequestBodyContent) XSize() (n int)

func (*PathRequestBodyContent) XXX_DiscardUnknown

func (m *PathRequestBodyContent) XXX_DiscardUnknown()

func (*PathRequestBodyContent) XXX_Marshal

func (m *PathRequestBodyContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PathRequestBodyContent) XXX_Merge

func (m *PathRequestBodyContent) XXX_Merge(src proto.Message)

func (*PathRequestBodyContent) XXX_Size

func (m *PathRequestBodyContent) XXX_Size() int

func (*PathRequestBodyContent) XXX_Unmarshal

func (m *PathRequestBodyContent) XXX_Unmarshal(b []byte) error

type PathResponse

type PathResponse struct {
	Description string                  `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	Content     *PathRequestBodyContent `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
}

PathResponse is swagger path response

func (*PathResponse) Descriptor

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

func (*PathResponse) Marshal

func (m *PathResponse) Marshal() (dAtA []byte, err error)

func (*PathResponse) MarshalTo

func (m *PathResponse) MarshalTo(dAtA []byte) (int, error)

func (*PathResponse) MarshalToSizedBuffer

func (m *PathResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PathResponse) ProtoMessage

func (*PathResponse) ProtoMessage()

func (*PathResponse) Reset

func (m *PathResponse) Reset()

func (*PathResponse) String

func (m *PathResponse) String() string

func (*PathResponse) Unmarshal

func (m *PathResponse) Unmarshal(dAtA []byte) error

func (*PathResponse) XSize

func (m *PathResponse) XSize() (n int)

func (*PathResponse) XXX_DiscardUnknown

func (m *PathResponse) XXX_DiscardUnknown()

func (*PathResponse) XXX_Marshal

func (m *PathResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PathResponse) XXX_Merge

func (m *PathResponse) XXX_Merge(src proto.Message)

func (*PathResponse) XXX_Size

func (m *PathResponse) XXX_Size() int

func (*PathResponse) XXX_Unmarshal

func (m *PathResponse) XXX_Unmarshal(b []byte) error

type PathSecurity

type PathSecurity struct {
	Basic   []string `protobuf:"bytes,1,rep,name=basic,proto3" json:"basic,omitempty"`
	ApiKeys []string `protobuf:"bytes,2,rep,name=apiKeys,proto3" json:"apiKeys,omitempty"`
	Bearer  []string `protobuf:"bytes,3,rep,name=bearer,proto3" json:"bearer,omitempty"`
}

func (*PathSecurity) Descriptor

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

func (*PathSecurity) Marshal

func (m *PathSecurity) Marshal() (dAtA []byte, err error)

func (*PathSecurity) MarshalTo

func (m *PathSecurity) MarshalTo(dAtA []byte) (int, error)

func (*PathSecurity) MarshalToSizedBuffer

func (m *PathSecurity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PathSecurity) ProtoMessage

func (*PathSecurity) ProtoMessage()

func (*PathSecurity) Reset

func (m *PathSecurity) Reset()

func (*PathSecurity) String

func (m *PathSecurity) String() string

func (*PathSecurity) Unmarshal

func (m *PathSecurity) Unmarshal(dAtA []byte) error

func (*PathSecurity) XSize

func (m *PathSecurity) XSize() (n int)

func (*PathSecurity) XXX_DiscardUnknown

func (m *PathSecurity) XXX_DiscardUnknown()

func (*PathSecurity) XXX_Marshal

func (m *PathSecurity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PathSecurity) XXX_Merge

func (m *PathSecurity) XXX_Merge(src proto.Message)

func (*PathSecurity) XXX_Size

func (m *PathSecurity) XXX_Size() int

func (*PathSecurity) XXX_Unmarshal

func (m *PathSecurity) XXX_Unmarshal(b []byte) error

type Schema

type Schema struct {
	Type                 string            `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Format               string            `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"`
	Description          string            `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Example              string            `protobuf:"bytes,4,opt,name=example,proto3" json:"example,omitempty"`
	Pattern              string            `protobuf:"bytes,5,opt,name=pattern,proto3" json:"pattern,omitempty"`
	Nullable             bool              `protobuf:"varint,6,opt,name=nullable,proto3" json:"nullable,omitempty"`
	ReadOnly             bool              `protobuf:"varint,7,opt,name=readOnly,proto3" json:"readOnly,omitempty"`
	WriteOnly            bool              `protobuf:"varint,8,opt,name=writeOnly,proto3" json:"writeOnly,omitempty"`
	Required             bool              `protobuf:"varint,9,opt,name=required,proto3" json:"required,omitempty"`
	Ref                  string            `protobuf:"bytes,10,opt,name=ref,proto3" json:"$ref,omitempty"`
	Default              string            `protobuf:"bytes,11,opt,name=default,proto3" json:"default,omitempty"`
	MinLength            int32             `protobuf:"varint,20,opt,name=minLength,proto3" json:"minLength,omitempty"`
	MaxLength            int32             `protobuf:"varint,21,opt,name=maxLength,proto3" json:"maxLength,omitempty"`
	MultipleOf           int32             `protobuf:"varint,30,opt,name=multipleOf,proto3" json:"multipleOf,omitempty"`
	Minimum              int32             `protobuf:"varint,31,opt,name=minimum,proto3" json:"minimum,omitempty"`
	ExclusiveMinimum     bool              `protobuf:"varint,32,opt,name=exclusiveMinimum,proto3" json:"exclusiveMinimum,omitempty"`
	Maximum              int32             `protobuf:"varint,33,opt,name=maximum,proto3" json:"maximum,omitempty"`
	ExclusiveMaximum     bool              `protobuf:"varint,34,opt,name=exclusiveMaximum,proto3" json:"exclusiveMaximum,omitempty"`
	Enum                 []string          `protobuf:"bytes,41,rep,name=enum,proto3" json:"enum,omitempty"`
	Items                *Schema           `protobuf:"bytes,42,opt,name=items,proto3" json:"items,omitempty"`
	Parameters           []*PathParameters `protobuf:"bytes,51,rep,name=parameters,proto3" json:"parameters,omitempty"`
	AdditionalProperties *Schema           `protobuf:"bytes,60,opt,name=additionalProperties,proto3" json:"additionalProperties,omitempty"`
}

func (*Schema) Descriptor

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

func (*Schema) Marshal

func (m *Schema) Marshal() (dAtA []byte, err error)

func (*Schema) MarshalTo

func (m *Schema) MarshalTo(dAtA []byte) (int, error)

func (*Schema) MarshalToSizedBuffer

func (m *Schema) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Schema) ProtoMessage

func (*Schema) ProtoMessage()

func (*Schema) Reset

func (m *Schema) Reset()

func (*Schema) String

func (m *Schema) String() string

func (*Schema) Unmarshal

func (m *Schema) Unmarshal(dAtA []byte) error

func (*Schema) XSize

func (m *Schema) XSize() (n int)

func (*Schema) XXX_DiscardUnknown

func (m *Schema) XXX_DiscardUnknown()

func (*Schema) XXX_Marshal

func (m *Schema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Schema) XXX_Merge

func (m *Schema) XXX_Merge(src proto.Message)

func (*Schema) XXX_Size

func (m *Schema) XXX_Size() int

func (*Schema) XXX_Unmarshal

func (m *Schema) XXX_Unmarshal(b []byte) error

type SecuritySchemes

type SecuritySchemes struct {
	Basic   *BasicSecurity   `protobuf:"bytes,1,opt,name=basic,proto3" json:"basic,omitempty"`
	ApiKeys *APIKeysSecurity `protobuf:"bytes,2,opt,name=apiKeys,proto3" json:"apiKeys,omitempty"`
	Bearer  *BearerSecurity  `protobuf:"bytes,3,opt,name=bearer,proto3" json:"bearer,omitempty"`
}

func (*SecuritySchemes) Descriptor

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

func (*SecuritySchemes) Marshal

func (m *SecuritySchemes) Marshal() (dAtA []byte, err error)

func (*SecuritySchemes) MarshalTo

func (m *SecuritySchemes) MarshalTo(dAtA []byte) (int, error)

func (*SecuritySchemes) MarshalToSizedBuffer

func (m *SecuritySchemes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecuritySchemes) ProtoMessage

func (*SecuritySchemes) ProtoMessage()

func (*SecuritySchemes) Reset

func (m *SecuritySchemes) Reset()

func (*SecuritySchemes) String

func (m *SecuritySchemes) String() string

func (*SecuritySchemes) Unmarshal

func (m *SecuritySchemes) Unmarshal(dAtA []byte) error

func (*SecuritySchemes) XSize

func (m *SecuritySchemes) XSize() (n int)

func (*SecuritySchemes) XXX_DiscardUnknown

func (m *SecuritySchemes) XXX_DiscardUnknown()

func (*SecuritySchemes) XXX_Marshal

func (m *SecuritySchemes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecuritySchemes) XXX_Merge

func (m *SecuritySchemes) XXX_Merge(src proto.Message)

func (*SecuritySchemes) XXX_Size

func (m *SecuritySchemes) XXX_Size() int

func (*SecuritySchemes) XXX_Unmarshal

func (m *SecuritySchemes) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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