MCPcopy
hub / github.com/danielgtaylor/huma / OpenAPI

Method OpenAPI

api.go:327–329  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

325}
326
327func (a *api) OpenAPI() *OpenAPI {
328 return a.config.OpenAPI
329}
330
331func (a *api) Unmarshal(contentType string, data []byte, v any) error {
332 start, end, err := parseContentType(contentType)

Callers 2

NewAPIFunction · 0.95
registerDocsRouteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected