Documentation
¶
Index ¶
- Variables
- func New(r *echo.Echo, config huma.Config) huma.API
- func NewV4(r *echoV4.Echo, config huma.Config) huma.API
- func NewV4WithGroup(r *echoV4.Echo, g *echoV4.Group, config huma.Config) huma.API
- func NewWithGroup(r *echo.Echo, g *echo.Group, config huma.Config) huma.API
- func Unwrap(ctx huma.Context) *echo.Context
- func UnwrapV4(ctx huma.Context) echoV4.Context
Constants ¶
This section is empty.
Variables ¶
var MultipartMaxMemory int64 = 8 * 1024
MultipartMaxMemory is the maximum memory to use when parsing multipart form data.
var MultipartMaxMemoryV4 int64 = 8 * 1024
MultipartMaxMemoryV4 is the maximum memory to use when parsing multipart form data.
Functions ¶
func NewV4WithGroup ¶ added in v2.39.0
NewV4WithGroup creates a new Huma API using the provided echo v4.x router and group, letting you mount the API at a sub-path. Can be used in combination with the `OpenAPI.Servers` field to set the correct base URL for the API / docs / schemas / etc.
func NewWithGroup ¶ added in v2.11.0
NewWithGroup creates a new Huma API using the provided Echo router and group, letting you mount the API at a sub-path. Can be used in combination with the `OpenAPI.Servers` field to set the correct base URL for the API / docs / schemas / etc.
Types ¶
This section is empty.