Commit f79f5b0
Simplify bundle JSON schema annotation system
Read OpenAPI descriptions directly from the spec at runtime instead of
pre-extracting them into annotation YAML files. This makes the OpenAPI
spec a requirement for schema generation and eliminates annotation files
that flip-flopped on every SDK bump.
Changes:
- Remove annotations_openapi.yml and annotations_openapi_overrides.yml
- Merge manual overrides into a single annotations.yml
- Use bundle paths (e.g. resources.jobs.*) as annotation keys instead
of Go type paths
- Add path_mapping.go to resolve bundle paths to Go types via reflection
- Remove bundle/docsgen (was the only other consumer of annotations)
- Makefile schema targets now require DATABRICKS_OPENAPI_SPEC
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 6357294 commit f79f5b0
File tree
24 files changed
+1184
-20015
lines changed- bundle
- docsgen
- output
- templates
- testdata
- internal/schema
- schema
24 files changed
+1184
-20015
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
| 133 | + | |
| 134 | + | |
135 | 135 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
| 136 | + | |
| 137 | + | |
141 | 138 | | |
142 | 139 | | |
143 | 140 | | |
| |||
202 | 199 | | |
203 | 200 | | |
204 | 201 | | |
205 | | - | |
| 202 | + | |
206 | 203 | | |
207 | 204 | | |
208 | 205 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments