Skip to content

Commit a8c4e52

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

File tree

3 files changed

+2
-22
lines changed

3 files changed

+2
-22
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.

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

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,6 @@ export class TableResultV2DataAttributesFileMetadataCloudStorage {
3333
*/
3434
"syncEnabled"?: boolean;
3535

36-
/**
37-
* A container for additional, undeclared properties.
38-
* This is a holder for any undeclared properties as specified with
39-
* the 'additionalProperties' keyword in the OAS document.
40-
*/
41-
"additionalProperties"?: { [key: string]: any };
42-
4336
/**
4437
* @ignore
4538
*/
@@ -71,10 +64,6 @@ export class TableResultV2DataAttributesFileMetadataCloudStorage {
7164
baseName: "sync_enabled",
7265
type: "boolean",
7366
},
74-
additionalProperties: {
75-
baseName: "additionalProperties",
76-
type: "{ [key: string]: any; }",
77-
},
7867
};
7968

8069
/**

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

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@ export class TableResultV2DataAttributesFileMetadataLocalFile {
1919
*/
2020
"errorRowCount"?: number;
2121

22-
/**
23-
* A container for additional, undeclared properties.
24-
* This is a holder for any undeclared properties as specified with
25-
* the 'additionalProperties' keyword in the OAS document.
26-
*/
27-
"additionalProperties"?: { [key: string]: any };
28-
2922
/**
3023
* @ignore
3124
*/
@@ -44,10 +37,6 @@ export class TableResultV2DataAttributesFileMetadataLocalFile {
4437
type: "number",
4538
format: "int64",
4639
},
47-
additionalProperties: {
48-
baseName: "additionalProperties",
49-
type: "{ [key: string]: any; }",
50-
},
5140
};
5241

5342
/**

0 commit comments

Comments
 (0)