Skip to content

An annotation-driven parser to generate Zod schema files from Java DTOs.

License

Notifications You must be signed in to change notification settings

buchananwill/javatozod

Repository files navigation

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.

About

An annotation-driven parser to generate Zod schema files from Java DTOs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published