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

Struct ExhaustiveErrorsInput

huma_test.go:3294–3299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3292}
3293
3294type ExhaustiveErrorsInput struct {
3295 ID IntNot3 `path:"id" maximum:"10"`
3296 Query IntNot3 `query:"query"`
3297 Header IntNot3 `header:"header"`
3298 Body ExhaustiveErrorsInputBody `json:"body"`
3299}
3300
3301func (i *ExhaustiveErrorsInput) Resolve(ctx huma.Context) []error {
3302 return []error{&huma.ErrorDetail{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected