Documentation ¶
Index ¶
- func PathFromOpenApiPath(path string) string
- func RequestSchemaFromOpenApi3RequestRef(ref *openapi3.RequestBody, mediaType string) any
- func ResponseSchemaFromOpenApi3ResponseRef(ref *openapi3.ResponseRef, mediaType string) any
- func SchemaFromAny(config any) any
- type Mapper
- type MapperImpl
- type ParameterProperties
- type ParameterProperty
- type RequestParameterProperty
- type RequestParameters
- type RequestSchema
- type Route
- type RouteProperty
- type SchemaInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PathFromOpenApiPath ¶
func RequestSchemaFromOpenApi3RequestRef ¶
func RequestSchemaFromOpenApi3RequestRef( ref *openapi3.RequestBody, mediaType string, ) any
func ResponseSchemaFromOpenApi3ResponseRef ¶
func ResponseSchemaFromOpenApi3ResponseRef( ref *openapi3.ResponseRef, mediaType string, ) any
func SchemaFromAny ¶
Types ¶
type Mapper ¶
type Mapper interface {
MapToRequestParameters(ctx echo.Context) RequestParameters
}
type MapperImpl ¶
type MapperImpl struct{}
func NewMapper ¶
func NewMapper() *MapperImpl
func (*MapperImpl) MapToRequestParameters ¶
func (*MapperImpl) MapToRequestParameters(ctx echo.Context) RequestParameters
Map implements Mapper.
type ParameterProperties ¶
type ParameterProperties map[string]*ParameterProperty
type ParameterProperty ¶
type RequestParameterProperty ¶
type RequestParameterProperty struct { PathParameterProperties ParameterProperties QueryParameterProperties ParameterProperties }
type RequestParameters ¶
type RequestSchema ¶
type RequestSchema struct {
// contains filtered or unexported fields
}
type RouteProperty ¶
type RouteProperty struct { RequestParameterProperty RequestSchema dstruct.DynamicStructModifier ResponseSchema dstruct.DynamicStructModifier }
Click to show internal directories.
Click to hide internal directories.