Skip to content

Commit

Permalink
Allow for any type for additionalProperties in HTTPLogItem (#1870)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Oct 18, 2024
1 parent 5bb5c7c commit 56308fe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-10-17 14:10:58.758527",
"spec_repo_commit": "fb024a45"
"regenerated": "2024-10-18 21:00:54.900557",
"spec_repo_commit": "37070fd4"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-10-17 14:10:58.777345",
"spec_repo_commit": "fb024a45"
"regenerated": "2024-10-18 21:00:54.918688",
"spec_repo_commit": "37070fd4"
}
}
}
1 change: 0 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9917,7 +9917,6 @@ components:
HTTPLogItem:
additionalProperties:
description: Additional log attributes.
type: string
description: Logs that are sent over HTTP.
properties:
ddsource:
Expand Down
4 changes: 2 additions & 2 deletions packages/datadog-api-client-v2/models/HTTPLogItem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class HTTPLogItem {
* This is a holder for any undeclared properties as specified with
* the 'additionalProperties' keyword in the OAS document.
*/
"additionalProperties"?: { [key: string]: string };
"additionalProperties"?: { [key: string]: any };

/**
* @ignore
Expand Down Expand Up @@ -76,7 +76,7 @@ export class HTTPLogItem {
},
additionalProperties: {
baseName: "additionalProperties",
type: "string",
type: "any",
},
};

Expand Down

0 comments on commit 56308fe

Please sign in to comment.