vojtechhabarta / typescript-generator

Generates TypeScript from Java - JSON declarations, REST service client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for Jakarta EE / Java EE bean validation annotations

Tr1ple-F opened this issue · comments

We are currently facing the issue that the package doesn't recognise the @NotNull field annotation from Jakarta / Java EE and therefore makes each field required which not necessary. In fact all fields should be optional and only the fields with the tag @NotNull should be required. An option to support this typing would solve this issue.