Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 418 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 418 Bytes

This is an annotation-driven parser to convert Java DTOs to Zod Schemas.

  • Use @GenerateZodSchema on a relevant class.
  • Use the source directory in the DtoParser class to set where the generated schemas will land.
  • The build.gradle.kts includes the task set up I use to trigger this whenever my project compiles, so any new or edited DTOs are updated.