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