You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve polymorphic schema handling and discriminator logic
- Default discriminator property name to "$type" if unspecified
- Reuse existing derived type schemas from registry when possible
- Support both string and integer discriminator values
- Set discriminator property type and enum based on value type
- Use resolved property name for discriminator and mapping
- Enhances robustness and consistency in schema generation
0 commit comments