code: func (eg *exampleGenerator) generateValidatedEnumExample() interface{} {
  	if !eg.hasEnumValidation() {
  		return nil
  	}
  	values := eg.a.Validation.Values
  	count := len(values)
  	i := eg.r.Int() % count
  	return values[i]
  }
docs: // generateValidatedEnumExample returns a random selected enum value.