fix(go): defer res.Body.Close in ConsumeRawBody to prevent resource leaks (#1899)
Generator changes (15)
Bug fixes
csharp
truncate filenames that exceed OS limit to prevent build failures
Bug fixes
go
deduplicate OAuth2 scope enum members, handle pointer result fields in flat response format, truncate long filenames
Bug fixes
go
defer res.Body.Close in ConsumeRawBody to prevent resource leaks on error
Bug fixes
javav2
deduplicate OAuth2 scope enum members that normalize to the same name
Bug fixes
javav2
truncate filenames that exceed OS limit to prevent build failures
Bug fixes
mcp-typescript
sanitize scoped package names in Cloudflare Worker binding identifiers
Bug fixes
mcp-typescript
truncate filenames that exceed OS limit to prevent build failures
Bug fixes
mockserver
truncate filenames that exceed OS limit to prevent build failures
Bug fixes
php
deduplicate OAuth2 scope enum members that normalize to the same name
Bug fixes
php
truncate filenames that exceed OS limit to prevent build failures
Bug fixes
pythonv2
fix __getattr__ return type, sanitize Python builtin names, fix empty response bodies in unions, deduplicate OAuth2 scope enum members
Bug fixes
pythonv2
schemas with inline enum fields named 'tag' no longer get incorrectly renamed to 'TagT' — the generator now only disambiguates when pydantic's Tag import actually conflicts in the same file, falling back to namespace import (pydantic.Tag) instead of mangling the class name
Bug fixes
pythonv2
TypedDict companion class naming now uses cascading PascalCase suffixes (TypedDictModel, TypedDictCompanion, TypedDictCompanionModel, TypedDict{n}) instead of underscore-prefixed _TypedDict when the default name collides with another schema type — this restores strict PascalCase pylint compliance without weakening lint rules
Bug fixes
ruby
deduplicate OAuth2 scope enum members that normalize to the same name
Bug fixes
typescriptv2
truncate filenames that exceed OS limit to prevent build failures