databricks-cli/bundle/internal
Ilya Kuznetsov 793bf2b995
fix: Empty schema fields in OpenAPI spec (#2045)
## Changes

1. Removes default yaml-fields during schema generation, caused by [this
PR](https://github.com/databricks/cli/pull/2032) (current yaml package
can't read `json` annotations in struct fields)
2. Addresses missing annotations for fields from OpenAPI spec, which are
named differently in go SDK
3. Adds filtering for annotations.yaml to include only CLI package
fields
4. Implements alphabetical sort for yaml keys to avoid unnecessary diff
in PRs

## Tests

Manually tested
2024-12-23 12:08:01 +00:00
..
bundletest Add error checking in tests and enable errcheck there (#1980) 2024-12-09 13:56:41 +01:00
schema fix: Empty schema fields in OpenAPI spec (#2045) 2024-12-23 12:08:01 +00:00
tf Upgrade go to 1.23.4 (#2038) 2024-12-20 09:21:36 +00:00