Skip to content

Commit 87d0149

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Reference Tables API spec: disallow additional properties from FileMetadata (#2995)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent dddddac commit 87d0149

File tree

3 files changed

+2
-20
lines changed

3 files changed

+2
-20
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50997,6 +50997,7 @@ components:
5099750997
- $ref: '#/components/schemas/TableResultV2DataAttributesFileMetadataCloudStorage'
5099850998
- $ref: '#/components/schemas/TableResultV2DataAttributesFileMetadataLocalFile'
5099950999
TableResultV2DataAttributesFileMetadataCloudStorage:
51000+
additionalProperties: false
5100051001
description: File metadata for reference tables created by cloud storage.
5100151002
properties:
5100251003
access_details:
@@ -51043,6 +51044,7 @@ components:
5104351044
- OPERATION_ERROR
5104451045
- SYSTEM_ERROR
5104551046
TableResultV2DataAttributesFileMetadataLocalFile:
51047+
additionalProperties: false
5104651048
description: File metadata for reference tables created by upload. Note that
5104751049
upload_id is only returned in the immediate create/replace response and is
5104851050
not available in subsequent GET requests.

services/reference_tables/src/v2/models/TableResultV2DataAttributesFileMetadataCloudStorage.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@ export class TableResultV2DataAttributesFileMetadataCloudStorage {
2727
* Whether this table is synced automatically.
2828
*/
2929
"syncEnabled"?: boolean;
30-
/**
31-
* A container for additional, undeclared properties.
32-
* This is a holder for any undeclared properties as specified with
33-
* the 'additionalProperties' keyword in the OAS document.
34-
*/
35-
"additionalProperties"?: { [key: string]: any };
3630
/**
3731
* @ignore
3832
*/
@@ -64,10 +58,6 @@ export class TableResultV2DataAttributesFileMetadataCloudStorage {
6458
baseName: "sync_enabled",
6559
type: "boolean",
6660
},
67-
additionalProperties: {
68-
baseName: "additionalProperties",
69-
type: "{ [key: string]: any; }",
70-
},
7161
};
7262

7363
/**

services/reference_tables/src/v2/models/TableResultV2DataAttributesFileMetadataLocalFile.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ export class TableResultV2DataAttributesFileMetadataLocalFile {
1212
* The number of rows that failed to create/update.
1313
*/
1414
"errorRowCount"?: number;
15-
/**
16-
* A container for additional, undeclared properties.
17-
* This is a holder for any undeclared properties as specified with
18-
* the 'additionalProperties' keyword in the OAS document.
19-
*/
20-
"additionalProperties"?: { [key: string]: any };
2115
/**
2216
* @ignore
2317
*/
@@ -36,10 +30,6 @@ export class TableResultV2DataAttributesFileMetadataLocalFile {
3630
type: "number",
3731
format: "int64",
3832
},
39-
additionalProperties: {
40-
baseName: "additionalProperties",
41-
type: "{ [key: string]: any; }",
42-
},
4333
};
4434

4535
/**

0 commit comments

Comments
 (0)