Skip to content

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

Closed
api-clients-generation-pipeline[bot] wants to merge 3 commits into
masterfrom
datadog-api-spec/generated/5941
Closed

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

Conversation

@api-clients-generation-pipeline

Copy link
Copy Markdown
Contributor

charlie-zhang109 and others added 3 commits June 16, 2026 07:31
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 added the changelog/Added Added features results into a minor version bump label Jun 16, 2026
@datadog-prod-us1-3

datadog-prod-us1-3 Bot commented Jun 16, 2026

Copy link
Copy Markdown

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 1 Pipeline job failed

Ensure labels | changelog   View in Datadog   GitHub Actions

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

Useful? React with 👍 / 👎

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

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.

1 participant