databricks-cli/bundle/internal/schema
Ilya Kuznetsov c224be5c1f
Allow using variables in enum fields (#2199)
## Changes

It is possible to pass variable to enum fields but json-schema doesn't
accept it. This PR adds `oneOf` for enum types that includes `${var-*}`
pattern

## Tests

Manually checked in VSCode
2025-01-22 10:30:17 +00:00
..
testdata Allow using variables in enum fields (#2199) 2025-01-22 10:30:17 +00:00
annotations.go fix: Empty schema fields in OpenAPI spec (#2045) 2024-12-23 12:08:01 +00:00
annotations.yml Add doc string for `bundle.uuid` (#2170) 2025-01-20 14:52:22 +00:00
annotations_openapi.yml Bump github.com/databricks/databricks-sdk-go from 0.54.0 to 0.55.0 (#2126) 2025-01-14 16:02:34 +00:00
annotations_openapi_overrides.yml Bump github.com/databricks/databricks-sdk-go from 0.54.0 to 0.55.0 (#2126) 2025-01-14 16:02:34 +00:00
annotations_test.go Custom annotations for bundle-specific JSON schema fields (#1957) 2024-12-18 10:19:14 +00:00
main.go Allow using variables in enum fields (#2199) 2025-01-22 10:30:17 +00:00
main_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
parser.go Enable intrange linter and apply autofix (#2069) 2025-01-03 09:25:07 +00:00