mirror of
https://github.com/Fishwaldo/huma.git
synced 2025-03-16 03:41:42 +00:00
12 lines
288 B
Go
12 lines
288 B
Go
package huma
|
|
|
|
// ErrorModel defines a basic error message
|
|
type ErrorModel struct {
|
|
Message string `json:"message"`
|
|
}
|
|
|
|
// ErrorInvalidModel defines an HTTP 400 Invalid response message
|
|
type ErrorInvalidModel struct {
|
|
Message string `json:"message"`
|
|
Errors []string `json:"errors"`
|
|
}
|