Skip to content

Commit 3a6d759

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authoredJul 19, 2024
Make modified by field nullable for get all API keys (#1704)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 7af4f08 commit 3a6d759

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed
 

‎.apigentools-info

+4-4
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": "2024-07-19 18:52:00.199715",
8-
"spec_repo_commit": "be099b30"
7+
"regenerated": "2024-07-19 19:37:55.394690",
8+
"spec_repo_commit": "a3f2b7d2"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-07-19 18:52:00.257896",
13-
"spec_repo_commit": "be099b30"
12+
"regenerated": "2024-07-19 19:37:55.413403",
13+
"spec_repo_commit": "a3f2b7d2"
1414
}
1515
}
1616
}

‎.generator/schemas/v2/openapi.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ components:
684684
created_by:
685685
$ref: '#/components/schemas/RelationshipToUser'
686686
modified_by:
687-
$ref: '#/components/schemas/RelationshipToUser'
687+
$ref: '#/components/schemas/NullableRelationshipToUser'
688688
type: object
689689
APIKeyResponse:
690690
description: Response for retrieving an API key.

‎packages/datadog-api-client-v2/models/APIKeyRelationships.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* This product includes software developed at Datadog (https://www.datadoghq.com/).
44
* Copyright 2020-Present Datadog, Inc.
55
*/
6+
import { NullableRelationshipToUser } from "./NullableRelationshipToUser";
67
import { RelationshipToUser } from "./RelationshipToUser";
78

89
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
@@ -18,7 +19,7 @@ export class APIKeyRelationships {
1819
/**
1920
* Relationship to user.
2021
*/
21-
"modifiedBy"?: RelationshipToUser;
22+
"modifiedBy"?: NullableRelationshipToUser;
2223

2324
/**
2425
* A container for additional, undeclared properties.
@@ -42,7 +43,7 @@ export class APIKeyRelationships {
4243
},
4344
modifiedBy: {
4445
baseName: "modified_by",
45-
type: "RelationshipToUser",
46+
type: "NullableRelationshipToUser",
4647
},
4748
additionalProperties: {
4849
baseName: "additionalProperties",

0 commit comments

Comments
 (0)