Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContextWrapper ¶
type ContextWrapper struct {
openapi.OperationContext
*openapi31.Operation
// contains filtered or unexported fields
}
func NewContextWrapper ¶
func NewContextWrapper(ctx openapi.OperationContext, r *Reflector) *ContextWrapper
type Record ¶
type Record struct {
Input *mason.Model
Output mason.Model
ID string
Method string
Path string
Description string
Summary string
SuccessStatus int
Tags []string
QueryParams any
Extensions map[string]interface{}
PathSummary string
PathDescription string
}
func (*Record) AddInputModel ¶
func (r *Record) AddInputModel(m model.WithSchema)
func (*Record) AddOutputModel ¶
func (r *Record) AddOutputModel(m model.WithSchema)
func (*Record) AddQueryParams ¶
Click to show internal directories.
Click to hide internal directories.