Skip to content

Commit f74bdc9

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-specnkzou
authored
[LOGSAC-468] Make project_id optional in Public API spec (#1539)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Co-authored-by: Kevin Zou <[email protected]>
1 parent de845fb commit f74bdc9

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
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": "2024-02-26 18:27:09.460981",
8-
"spec_repo_commit": "65e025be"
7+
"regenerated": "2024-02-27 14:00:04.501359",
8+
"spec_repo_commit": "39b75d82"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-02-26 18:27:09.477057",
13-
"spec_repo_commit": "65e025be"
12+
"regenerated": "2024-02-27 14:00:04.521356",
13+
"spec_repo_commit": "39b75d82"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10410,7 +10410,6 @@ components:
1041010410
example: project-id
1041110411
type: string
1041210412
required:
10413-
- project_id
1041410413
- client_email
1041510414
type: object
1041610415
LogsArchiveIntegrationS3:

packages/datadog-api-client-v2/models/LogsArchiveIntegrationGCS.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class LogsArchiveIntegrationGCS {
1717
/**
1818
* A project ID.
1919
*/
20-
"projectId": string;
20+
"projectId"?: string;
2121

2222
/**
2323
* A container for additional, undeclared properties.
@@ -43,7 +43,6 @@ export class LogsArchiveIntegrationGCS {
4343
projectId: {
4444
baseName: "project_id",
4545
type: "string",
46-
required: true,
4746
},
4847
additionalProperties: {
4948
baseName: "additionalProperties",

0 commit comments

Comments
 (0)