feat: rest validation on http requests (#3041)
parent
18d163c4f7
commit
6170d7b790
@ -0,0 +1,7 @@
|
||||
package validation
|
||||
|
||||
// Validator represents a validator.
|
||||
type Validator interface {
|
||||
// Validate validates the value.
|
||||
Validate() error
|
||||
}
|
Loading…
Reference in New Issue