databricks-cli/libs/jsonschema
shreyas-goenka fb32e78c9b
Make to/from string methods private to the jsonschema package (#942)
## Changes
This PR makes a few methods private, exposing cleaner interfaces to get
the string representations for enums and default values of a JSON
Schema.

## Tests
Manually, template initialization for the `default-python` template
still works as expected.
2023-11-06 15:05:17 +00:00
..
testdata Fix pattern validation for input properties (#912) 2023-10-24 15:56:54 +00:00
extension.go Add welcome message to bundle templates (#907) 2023-10-25 12:27:25 +00:00
instance.go Make to/from string methods private to the jsonschema package (#942) 2023-11-06 15:05:17 +00:00
instance_test.go Fix pattern validation for input properties (#912) 2023-10-24 15:56:54 +00:00
schema.go Make to/from string methods private to the jsonschema package (#942) 2023-11-06 15:05:17 +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 Add support for validating CLI version when loading a jsonschema object (#883) 2023-10-19 14:01:48 +00:00
utils.go Make to/from string methods private to the jsonschema package (#942) 2023-11-06 15:05:17 +00:00
utils_test.go Make to/from string methods private to the jsonschema package (#942) 2023-11-06 15:05:17 +00:00
validate_type.go Add schema and config validation to jsonschema package (#740) 2023-09-07 14:36:06 +00:00
validate_type_test.go Add schema and config validation to jsonschema package (#740) 2023-09-07 14:36:06 +00:00