Skip to content

fix(csharp): escape open enum members colliding with enclosing class name; fix(all): resolve self-recursive additionalProperties maps as value-typed maps - #2102

Merged
AshGodfrey merged 1 commit into
mainfrom
release/2026-07-15-1844
Jul 15, 2026
Merged

fix(csharp): escape open enum members colliding with enclosing class name; fix(all): resolve self-recursive additionalProperties maps as value-typed maps#2102
AshGodfrey merged 1 commit into
mainfrom
release/2026-07-15-1844

Conversation

@AshGodfrey

@AshGodfrey AshGodfrey commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

C#

Python

TypeScript

Java

Go

PHP

Ruby

Terraform


Summary by cubic

Fixes C# enum member name collisions and corrects self-recursive additionalProperties to generate proper value-typed maps across all SDKs. Prevents compile errors and produces correct map types.

  • Bug Fixes

    • C#: Escape open enum members that match the enclosing type name (e.g., Tax/TAX) so code compiles.
    • All SDKs (Python, TypeScript, Java, Go, PHP, Ruby, Terraform): Generate self-recursive additionalProperties as maps of their value type instead of empty models.
  • Dependencies

    • Bump github.com/speakeasy-api/openapi-generation/v2 to v2.918.3.

Written for commit 0f9b905. Summary will update on new commits.

Review in cubic

…name; fix(all): resolve self-recursive additionalProperties maps

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Re-trigger cubic

@AshGodfrey
AshGodfrey merged commit f318f82 into main Jul 15, 2026
5 of 6 checks passed
@AshGodfrey
AshGodfrey deleted the release/2026-07-15-1844 branch July 15, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants