pydantic-to-typescript icon indicating copy to clipboard operation
pydantic-to-typescript copied to clipboard

Added by_alias

Open joshuashaffer opened this issue 3 years ago • 0 comments

Resolves #2.

Allows you to select whether you want the generated model to use the public-facing model property (by_alias=False, default) or the aliased field name (by_alias=True).

joshuashaffer avatar Jun 03 '22 20:06 joshuashaffer