Commit 76cfac5
committed
Surface field launch stage in the bundle schema from cli.json
Read launch_stage, enum_launch_stages and enum_descriptions from the
checked-in .codegen/cli.json and surface them in the generated bundle
schema and docs:
- Prefix field descriptions with [Public Preview] / [Public Beta] /
[Private Preview] so the stage shows in editor hover tooltips.
- Emit the parallel enumDescriptions array so VSCode renders a per-value
stage label and description in autocomplete dropdowns.
- Carry the raw x-databricks-launch-stage alongside the existing
x-databricks-preview, and hide PRIVATE_PREVIEW fields via doNotSuggest.
cli.json is filtered upstream at min-stage=PRIVATE_PREVIEW, so no
DEVELOPMENT surface reaches the extractor and launch_stage is already
clean (GA plus the three preview stages). The OpenAPI-spec-based
DEVELOPMENT filtering and preview normalization the earlier version
carried are no longer needed.
assignAnnotation flags an open question (in a comment) on whether either
x-databricks-preview or x-databricks-launch-stage is consumed downstream
of the published schema, pending confirmation with the team.
Regenerated jsonschema.json, jsonschema_for_docs.json,
annotations_openapi.yml and the bundle docs.
Co-authored-by: Isaac1 parent ea21ed6 commit 76cfac5
13 files changed
Lines changed: 4461 additions & 1185 deletions
File tree
- bundle
- docsgen
- output
- internal
- annotation
- schema
- schema
- libs/jsonschema
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
146 | 152 | | |
147 | 153 | | |
148 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
149 | 179 | | |
150 | 180 | | |
151 | 181 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments