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

Struct api

api.go:307–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306
307type api struct {
308 adapter Adapter
309 config Config
310 formats map[string]Format
311 formatKeys []string
312 transformers []Transformer
313 middlewares Middlewares
314}
315
316var _ API = (*api)(nil) // The api struct must implement our API interface
317var _ configProvider[Config] = (*api)(nil) // The api struct must implement the configProvider[Config] interface in order to provide a way to access its configuration

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected