| 3279 | var _ huma.ResolverWithPath = (*IntNot3)(nil) |
| 3280 | |
| 3281 | type ExhaustiveErrorsInputBody struct { |
| 3282 | Name string `json:"name" maxLength:"10"` |
| 3283 | Count IntNot3 `json:"count" minimum:"1"` |
| 3284 | |
| 3285 | // Having a pointer which is never loaded should not cause |
| 3286 | // the tests to fail when running resolvers. |
| 3287 | Ptr *IntNot3 `json:"ptr,omitempty" minimum:"1"` |
| 3288 | } |
| 3289 | |
| 3290 | func (b *ExhaustiveErrorsInputBody) Resolve(ctx huma.Context) []error { |
| 3291 | return []error{errors.New("body resolver error")} |
nothing calls this directly
no outgoing calls
no test coverage detected