Skip to content

Commit ca2f510

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Reference Tables API spec: disallow additional properties from FileMetadata (#2942)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 6161957 commit ca2f510

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
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.

src/datadog_api_client/v2/model/table_result_v2_data_attributes_file_metadata_cloud_storage.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323

2424

2525
class TableResultV2DataAttributesFileMetadataCloudStorage(ModelNormal):
26+
@cached_property
27+
def additional_properties_type(_):
28+
return None
29+
2630
@cached_property
2731
def openapi_types(_):
2832
from datadog_api_client.v2.model.table_result_v2_data_attributes_file_metadata_one_of_access_details import (

src/datadog_api_client/v2/model/table_result_v2_data_attributes_file_metadata_local_file.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414

1515

1616
class TableResultV2DataAttributesFileMetadataLocalFile(ModelNormal):
17+
@cached_property
18+
def additional_properties_type(_):
19+
return None
20+
1721
@cached_property
1822
def openapi_types(_):
1923
return {

0 commit comments

Comments
 (0)