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

Struct GreetingInputWithResolver

adapters/humachi/humachi_test.go:96–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96type GreetingInputWithResolver struct {
97 ID string `path:"id"`
98 ContentType string `header:"Content-Type"`
99 Num int `query:"num"`
100 Body GreetingInputWithResolverBody
101}
102
103func (i *GreetingInputWithResolver) Resolve(ctx huma.Context, prefix *huma.PathBuffer) []error {
104 if i.Num == 3 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected