Files
grafana/pkg/services/ngalert/api/tooling/definitions/shared.go

30 lines
519 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
Msg string `json:"msg"`
}
// swagger:model
type ForbiddenError struct {
// The response message
// in: body
Body errutil.PublicError `json:"body"`
}
// swagger:model
type GenericPublicError struct {
// The response message
// in: body
Body errutil.PublicError `json:"body"`
}