Files
Julien Duchesne 3ac8760321 OpenAPI: Fix ValidationError message attribute (#90846)
It's `message`, not `msg`. It's been fixed for a while here: 9ef6983612/scripts/pull-schema.sh (L46-L49)

I've also reflected the change in the tests
2024-08-26 10:05:37 -04:00

23 lines
396 B
Go

package definitions
import "github.com/grafana/grafana/pkg/apimachinery/errutil"
// swagger:model
type NotFound struct{}
// swagger:model
type Ack struct{}
// swagger:model
type ValidationError struct {
// example: error message
Message string `json:"message"`
}
// swagger:model
type ForbiddenError struct {
// The response message
// in: body
Body errutil.PublicError `json:"body"`
}