Skip to content

Commit

Permalink
[Fix] Remove Path Parameters from JSON body
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorcast-db committed Sep 16, 2024
1 parent b692350 commit d9c9539
Show file tree
Hide file tree
Showing 456 changed files with 1,278 additions and 395 deletions.
3 changes: 2 additions & 1 deletion .codegen/model.java.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package com.databricks.sdk.service.{{.Package.Name}};
import java.util.Map;
import java.io.InputStream;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Collection;
import java.util.Objects;
Expand All @@ -30,7 +31,7 @@ public class {{.PascalName}} {
/**
{{.Comment " * " 80}}
*/
{{if .IsJson}}@JsonProperty("{{.Name}}"){{end}}{{if .IsQuery}}@QueryParam("{{.Name}}"){{end}}{{if .IsHeader}}@Header("{{.Name}}"){{end}}
{{if .IsJson}}@JsonProperty("{{.Name}}"){{else}}@JsonIgnore{{end}}{{if .IsQuery}}@QueryParam("{{.Name}}"){{end}}{{if .IsHeader}}@Header("{{.Name}}"){{end}}
private {{template "type" .Entity }} {{.CamelName}}{{if .IsNameReserved}}Value{{end}};
{{end}}

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d9c9539

Please sign in to comment.