Skip to content

Commit df3a56e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 8e702177 of spec repo
1 parent 9afd4ef commit df3a56e

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-03-17 21:06:19.299453",
8-
"spec_repo_commit": "2dfddc18"
7+
"regenerated": "2025-03-18 18:27:47.562119",
8+
"spec_repo_commit": "8e702177"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-17 21:06:19.314659",
13-
"spec_repo_commit": "2dfddc18"
12+
"regenerated": "2025-03-18 18:27:47.578898",
13+
"spec_repo_commit": "8e702177"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11968,7 +11968,10 @@ components:
1196811968
properties:
1196911969
rawSchema:
1197011970
description: Schema from user input in base64 encoding.
11971+
example: ''
1197111972
type: string
11973+
required:
11974+
- rawSchema
1197211975
type: object
1197311976
EntityResponseIncludedRelatedEntity:
1197411977
description: Included related entity.

src/main/java/com/datadog/api/client/v2/model/EntityResponseIncludedRawSchemaAttributes.java

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
import com.fasterxml.jackson.annotation.JsonAnyGetter;
1010
import com.fasterxml.jackson.annotation.JsonAnySetter;
11+
import com.fasterxml.jackson.annotation.JsonCreator;
1112
import com.fasterxml.jackson.annotation.JsonIgnore;
1213
import com.fasterxml.jackson.annotation.JsonInclude;
1314
import com.fasterxml.jackson.annotation.JsonProperty;
@@ -25,6 +26,14 @@ public class EntityResponseIncludedRawSchemaAttributes {
2526
public static final String JSON_PROPERTY_RAW_SCHEMA = "rawSchema";
2627
private String rawSchema;
2728

29+
public EntityResponseIncludedRawSchemaAttributes() {}
30+
31+
@JsonCreator
32+
public EntityResponseIncludedRawSchemaAttributes(
33+
@JsonProperty(required = true, value = JSON_PROPERTY_RAW_SCHEMA) String rawSchema) {
34+
this.rawSchema = rawSchema;
35+
}
36+
2837
public EntityResponseIncludedRawSchemaAttributes rawSchema(String rawSchema) {
2938
this.rawSchema = rawSchema;
3039
return this;
@@ -35,9 +44,8 @@ public EntityResponseIncludedRawSchemaAttributes rawSchema(String rawSchema) {
3544
*
3645
* @return rawSchema
3746
*/
38-
@jakarta.annotation.Nullable
3947
@JsonProperty(JSON_PROPERTY_RAW_SCHEMA)
40-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
48+
@JsonInclude(value = JsonInclude.Include.ALWAYS)
4149
public String getRawSchema() {
4250
return rawSchema;
4351
}

0 commit comments

Comments
 (0)