pydantic-to-typescript
pydantic-to-typescript copied to clipboard
Fix generation for empty list of models
Turns out, if the list of models is empty, a line
export interface Master {}
is generated
Yes, I know this is an edge case, but having this simplifies the handling of projects with many (potentially empty) modules.