Skip to content

Set x-keep-typed-in-additional-properties on UsageSummary schemas#4001

Merged
api-clients-generation-pipeline[bot] merged 3 commits into
masterfrom
datadog-api-spec/generated/5941
Jun 16, 2026
Merged

Set x-keep-typed-in-additional-properties on UsageSummary schemas#4001
api-clients-generation-pipeline[bot] merged 3 commits into
masterfrom
datadog-api-spec/generated/5941

Conversation

@api-clients-generation-pipeline

Copy link
Copy Markdown
Contributor

@api-clients-generation-pipeline api-clients-generation-pipeline Bot added the changelog/Added Added features results into a minor version bump label Jun 16, 2026
@datadog-official

datadog-official Bot commented Jun 16, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 55b96bf | Docs | Datadog PR Page | Give us feedback!

@api-clients-generation-pipeline api-clients-generation-pipeline Bot force-pushed the datadog-api-spec/generated/5941 branch 2 times, most recently from 95de516 to c314823 Compare June 16, 2026 16:48
charlie-zhang109 and others added 2 commits June 16, 2026 19:14
When a schema sets `x-keep-typed-in-additional-properties: true`, each typed
property setter also calls putAdditionalProperty so all fields are accessible
via getAdditionalProperties() alongside untyped fields.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…itionalProperties

Generating the putAdditionalProperty call when additionalProperties is false
would cause a compile error because putAdditionalProperty is only generated
for models that have an additionalProperties schema.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@api-clients-generation-pipeline api-clients-generation-pipeline Bot force-pushed the datadog-api-spec/generated/5941 branch from c314823 to c0eb1cd Compare June 16, 2026 17:29
@api-clients-generation-pipeline api-clients-generation-pipeline Bot force-pushed the datadog-api-spec/generated/5941 branch from c0eb1cd to 55b96bf Compare June 16, 2026 17:56
@api-clients-generation-pipeline api-clients-generation-pipeline Bot merged commit 5067519 into master Jun 16, 2026
15 checks passed
@api-clients-generation-pipeline api-clients-generation-pipeline Bot deleted the datadog-api-spec/generated/5941 branch June 16, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/Added Added features results into a minor version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants