Skip to content

Commit c04f58a

Browse files
[Internal] Update OpenAPI spec (#316)
## Changes Update OpenAPI spec ## Tests <!-- How is this tested? --> - [X] `make test` run locally - [X] `make fmt` applied - [ ] relevant integration tests applied
1 parent 887d63c commit c04f58a

File tree

288 files changed

+12364
-2503
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

288 files changed

+12364
-2503
lines changed

.codegen/_openapi_sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7437dabb9dadee402c1fc060df4c1ce8cc5369f0
1+
37e2bbe0cbcbbbe78a06a018d4fab06314a26a40

.codegen/api.java.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public class {{.PascalName}}API {
147147
{{- end}}
148148

149149
{{define "method-call-paginated" -}}
150-
{{- if and .Pagination.Offset (not (eq .Path "/api/2.0/clusters/events")) -}}
150+
{{- if and .Pagination.Offset (not (eq .Path "/api/2.1/clusters/events")) -}}
151151
request.set{{.Pagination.Offset.PascalName}}(
152152
{{- if eq .Pagination.Increment 1 -}}
153153
1
@@ -167,7 +167,7 @@ public class {{.PascalName}}API {
167167
response ->
168168
{{ if not .Pagination.MultiRequest }}
169169
null
170-
{{- else if eq .Path "/api/2.0/clusters/events" -}}
170+
{{- else if eq .Path "/api/2.1/clusters/events" -}}
171171
response.getNextPage()
172172
{{- else if .Pagination.Token -}}
173173
{

.gitattributes

Lines changed: 150 additions & 27 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ log4j.logger.com.databricks.sdk=DEBUG
395395
This will enable logging at the debug level and above. Developers can adjust the logging level as needed to control the verbosity of the logging output. The SDK will log all requests and responses to standard error output, using the format `> ` for requests and `< ` for responses. In some cases, requests or responses may be truncated due to size considerations. If this occurs, the log message will include the text `... (XXX additional elements)` to indicate that the request or response has been truncated. To increase the truncation limits, developers can set the `debug_truncate_bytes` configuration property or the `DATABRICKS_DEBUG_TRUNCATE_BYTES` environment variable. To protect sensitive data, such as authentication tokens, passwords, or any HTTP headers, the SDK will automatically replace these values with `**REDACTED**` in the log output. Developers can disable this redaction by setting the `debug_headers` configuration property to `True`.
396396

397397
```text
398-
2023-03-22 21:19:21,702 [databricks.sdk][DEBUG] GET /api/2.0/clusters/list
398+
2023-03-22 21:19:21,702 [databricks.sdk][DEBUG] GET /api/2.1/clusters/list
399399
< 200 OK
400400
< {
401401
< "clusters": [

databricks-sdk-java/src/main/java/com/databricks/sdk/AccountClient.java

Lines changed: 24 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)