Wrap returns a `TestAPI` wrapping the given API.
(tb TB, api huma.API)
| 309 | |
| 310 | // Wrap returns a `TestAPI` wrapping the given API. |
| 311 | func Wrap(tb TB, api huma.API) TestAPI { |
| 312 | return &testAPI{api, tb} |
| 313 | } |
| 314 | |
| 315 | // New creates a new router and test API, making it easy to register operations |
| 316 | // and perform requests against them. Optionally takes a configuration object |
no outgoing calls
searching dependent graphs…