databricks-cli/libs/jsonschema
Ilya Kuznetsov 27eb0c4072
Allow 'any' examples in JSON schema (#2289)
## Changes

1. Allow `any` examples in json-schema type since we have many of them
in open api spec
2. Fix issue with missing overrides annotations when re-generating the
schema

## Tests
<!-- How is this tested? -->
2025-02-06 19:27:55 +00:00
..
test_types Make bundle JSON schema modular with `$defs` (#1700) 2024-09-10 13:55:18 +00:00
testdata Add support for `anyOf` to `skip_prompt_if` (#1133) 2024-01-25 10:09:42 +00:00
extension.go Custom annotations for bundle-specific JSON schema fields (#1957) 2024-12-18 10:19:14 +00:00
from_type.go Autogenerated documentation for bundle config (#2033) 2025-01-29 12:14:21 +00:00
from_type_test.go Add error checking in tests and enable errcheck there (#1980) 2024-12-09 13:56:41 +01:00
instance.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
instance_test.go Add support for `anyOf` to `skip_prompt_if` (#1133) 2024-01-25 10:09:42 +00:00
schema.go Allow 'any' examples in JSON schema (#2289) 2025-02-06 19:27:55 +00:00
schema_order.go Add support for ordering of input prompts (#662) 2023-09-05 11:08:25 +00:00
schema_order_test.go Add support for ordering of input prompts (#662) 2023-09-05 11:08:25 +00:00
schema_test.go Use `fs.FS` interface to read template (#1910) 2024-11-20 09:28:35 +00:00
utils.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
utils_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
validate_type.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
validate_type_test.go Add schema and config validation to jsonschema package (#740) 2023-09-07 14:36:06 +00:00