code: func defineTypeOfExample(schemaType, arrayType, exampleValue string) (interface{}, error) {
  	switch schemaType {
  	case "string":
  		return exampleValue, nil
  	case "number":
  		v, err := strconv.ParseFloat(exampleValue, 64)
  		if err != nil {
  			return nil, fmt.Errorf("example value %s can't convert to %s err: %s", exampleValue, schemaType, err)
  		}
  		return v, nil
  	case "integer":
  		v, err := strconv.Atoi(exampleValue)
  		if err != nil {
  			return nil, fmt.Errorf("example value %s can't convert to %s err: %s", exampleValue, schemaType, err)
  		}
  		return v, nil
  	case "boolean":
  		v, err := strconv.ParseBool(exampleValue)
  		if err != nil {
  			return nil, fmt.Errorf("example value %s can't convert to %s err: %s", exampleValue, schemaType, err)
  		}
  		return v, nil
  	case "array":
  		values := strings.Split(exampleValue, ",")
  		result := make([]interface{}, 0)
  		for _, value := range values {
  			v, err := defineTypeOfExample(arrayType, "", value)
  			if err != nil {
  				return nil, err
  			}
  			result = append(result, v)
  		}
  		return result, nil
  	default:
  		return nil, fmt.Errorf("%s is unsupported type in example value", schemaType)
  	}
  }
docs: // defineTypeOfExample example value define the type (object and array unsupported)