Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(r chi.Router, config huma.Config) huma.API
New creates a new Huma API using the latest v5.x.x version of Chi.
func NewAdapter ¶
func NewAdapter(r chi.Router) huma.Adapter
NewAdapter creates a new adapter for the given chi router.
func NewContext ¶
func NewContext(op *huma.Operation, r *http.Request, w http.ResponseWriter) huma.Context
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.