Versions in this module Expand all Collapse all v0 v0.2.0 May 12, 2024 Changes in this version + func DumpRequest(req *http.Request) ([]byte, error) + func DumpResponse(resp *http.Response) ([]byte, error) + func PrintRequest(req *http.Request) + func PrintResponse(resp *http.Response) v0.1.1 Dec 26, 2023 Changes in this version + func NewAdapter(r chi.Router) huma.Adapter + func NewContext(op *huma.Operation, r *http.Request, w http.ResponseWriter) huma.Context + type TB interface + Helper func() + Log func(args ...any) + Logf func(format string, args ...any) + type TestAPI interface + Delete func(path string, args ...any) *httptest.ResponseRecorder + Do func(method, path string, args ...any) *httptest.ResponseRecorder + Get func(path string, args ...any) *httptest.ResponseRecorder + Patch func(path string, args ...any) *httptest.ResponseRecorder + Post func(path string, args ...any) *httptest.ResponseRecorder + Put func(path string, args ...any) *httptest.ResponseRecorder + func New(tb TB, configs ...huma.Config) (chi.Router, TestAPI) + func NewTestAPI(tb TB, r chi.Router, config huma.Config) TestAPI + func Wrap(tb TB, api huma.API) TestAPI