View definition

(*AttributeDefinition).Validate

Defined in github.com/goadesign/goa/design/validation.go

Description

Validate tests whether the attribute definition is consistent: required fields exist. Since attributes are unaware of their context, additional context information can be provided to be used in error messages. The parent definition context is automatically added to error messages.

Validate is referenced in 1 repository

github.com/goadesign/goa