Releases
v3.65.0
Compare
Sorry, something went wrong.
No results found
Union Type Improvements
Filter out discriminated unions - Discriminated unions are now properly filtered to avoid duplicate type generation
Add marshaler for additional properties with union field - Fixed JSON marshaling for types that combine additionalProperties with union fields
Fix additionalProperties handling for multi-element unions - Corrected handling when unions have multiple elements with additionalProperties
Handle OpenAPI 3.1 types as union elements - Added support for OpenAPI 3.1 type arrays (e.g., type: [string, null]) as union elements
Ignore oneOf/anyOf used as constraints - oneOf/anyOf used purely as validation constraints (not polymorphism) are now correctly ignored
Schema Processing Fixes
Use Const if present for discriminator - Discriminator values now prefer const over enum when available
Handle required string with maxLength of 0 - Fixed edge case where required strings with maxLength: 0 were incorrectly processed
Skip misplaced combinator processing in arrays - Fixed issue with combinators incorrectly processed inside array schemas
Code Generation Improvements
Make naming conflict resolution consistent - Type naming conflicts are now resolved more predictably
Optimize naming - Improved type name generation performance
Optimize allOf - Better handling and performance for allOf schema merging
Internal
Move functions out of template - Refactored template code for better maintainability
You can’t perform that action at this time.