v0.2.0
SchemaBridge v0.2.0
Python Enum Class Support
Enums now generate proper Python Enum classes instead of Literal types!
thon
Before: Literal["active", "inactive"]
After:
class StatusEnum(str, Enum):
ACTIVE = "active"
INACTIVE = "inactive"New flags:
--enum-style enum|literal(default: enum)--enum-base-type str|int(default: str)
Package Size: 96% Smaller (hopefully)
- Before: 3.78 MB
- After: 147 KB
Bug Fixes
- Fixed standalone enum conversion (previously failed)
- Fixed bundled CLI errors
Migration
No breaking changes! Use --enum-style literal if you prefer the old behavior.