diff --git a/bundle/internal/schema/main.go b/bundle/internal/schema/main.go index e9d0f4dc0..0faa8d09b 100644 --- a/bundle/internal/schema/main.go +++ b/bundle/internal/schema/main.go @@ -26,7 +26,7 @@ func addInterpolationPatterns(typ reflect.Type, s jsonschema.Schema) jsonschema. // arrays and objects can have complex variable values specified. return jsonschema.Schema{ AnyOf: []jsonschema.Schema{s, { - Type: jsonschema.StringType, + Type: jsonschema.StringType, Pattern: interpolationPattern("var"), }}, } @@ -46,8 +46,6 @@ func addInterpolationPatterns(typ reflect.Type, s jsonschema.Schema) jsonschema. } } -// TODO: Add enum overrides for DABs enum values. Maybe use reflection? - func main() { if len(os.Args) != 2 { fmt.Println("Usage: go run main.go ")