databricks-cli/bundle/internal/schema
Russell Clarey 3a3076d9ea
Output deprecated annotations in the JSON schema (#2422)
## Changes
Start outputting `deprecated` and `deprecationMessage` annotations in
the JSON schema

## Why
So that deprecated fields are shown as deprecated in VSCode (and other
editors)

## Tests
- manually tested

||||
|---|---|---|
|<img width="682" alt="Screenshot 2025-03-03 at 16 04 21"
src="https://github.com/user-attachments/assets/9712aa2f-0f41-48a9-8bd0-ec92b8b75c3f"
/>|<img width="682" alt="Screenshot 2025-03-03 at 16 04 29"
src="https://github.com/user-attachments/assets/a14f3523-ad85-4fed-96d7-2a8cf3a458e5"
/>|<img width="682" alt="Screenshot 2025-03-03 at 16 06 03"
src="https://github.com/user-attachments/assets/b9ab1050-048e-4c14-b183-96d615a4fbc1"
/>|
2025-03-05 11:17:03 +00:00
..
testdata Allow yaml-anchors in schema (#2200) 2025-01-23 11:11:44 +00:00
annotations.go Output deprecated annotations in the JSON schema (#2422) 2025-03-05 11:17:03 +00:00
annotations.yml Output deprecated annotations in the JSON schema (#2422) 2025-03-05 11:17:03 +00:00
annotations_openapi.yml Upgrade Go SDK to 0.59.0 (#2425) 2025-03-05 10:20:51 +00:00
annotations_openapi_overrides.yml Upgrade Go SDK to 0.59.0 (#2425) 2025-03-05 10:20:51 +00:00
annotations_test.go Autogenerated documentation for bundle config (#2033) 2025-01-29 12:14:21 +00:00
main.go Use CreatePipeline instead of PipelineSpec for resources.Pipeline struct (#2287) 2025-02-07 17:22:51 +00:00
main_test.go Add escaping for links and headers in docsgen (#2330) 2025-02-18 16:12:49 +00:00
parser.go Allow 'any' examples in JSON schema (#2289) 2025-02-06 19:27:55 +00:00