databricks-cli/libs/jsonschema
shreyas-goenka bbbeabf98c
Add support for ordering of input prompts (#662)
## Changes

JSON schema properties are a map and thus unordered.

This PR introduces a JSON schema extension field called `order` to allow
template authors to define the order in which template variables should
be resolved/prompted.

## Tests

Unit tests.

---------

Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
2023-09-05 11:08:25 +00:00
..
extension.go Add support for ordering of input prompts (#662) 2023-09-05 11:08:25 +00:00
schema.go Add support for ordering of input prompts (#662) 2023-09-05 11:08:25 +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 Return better error messages for invalid JSON schema types in templates (#661) 2023-08-15 14:28:04 +00:00