Documentation ¶
Index ¶
- Variables
- func New(r *bunrouter.Router, config huma.Config) huma.API
- func NewAdapter(r *bunrouter.Router) huma.Adapter
- func NewCompat(r *bunrouter.CompatRouter, config huma.Config) huma.API
- func NewCompatAdapter(r *bunrouter.CompatRouter) huma.Adapter
- func NewCompatContext(op *huma.Operation, r *http.Request, w http.ResponseWriter) huma.Context
- func NewContext(op *huma.Operation, r bunrouter.Request, w http.ResponseWriter) huma.Context
Constants ¶
This section is empty.
Variables ¶
View Source
var MultipartMaxMemory int64 = 8 * 1024
MultipartMaxMemory is the maximum memory to use when parsing multipart form data.
Functions ¶
func NewAdapter ¶
NewAdapter creates a new adapter for the given bunrouter router.
func NewCompatAdapter ¶
func NewCompatAdapter(r *bunrouter.CompatRouter) huma.Adapter
NewCompatAdapter creates a new adapter for the given bunrouter compat router.
func NewCompatContext ¶
NewCompatContext creates a new Huma context from an HTTP request and response.
func NewContext ¶
NewContext creates a new Huma context from an HTTP request and response.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.