View definition

(*AttributeDefinition).GenerateExample

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

Description

GenerateExample returns the value of the Example field if not nil. Otherwise it traverses the attribute type and recursively generates an example. The result is saved in the Example field.

GenerateExample is referenced in 1 repository

github.com/goadesign/goa