Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I make all fields in the generated interfaces nullable without adding the @Nullable annotation? #1071

Open
zhoujin7 opened this issue Oct 10, 2024 · 0 comments

Comments

@zhoujin7
Copy link

Java Class:

@Getter
@Setter
public class User {
   private Integer id;
   private String name;
   private Integer age;
}

Excepted generated output:

export interface User {
    id?: number;
    name?: string;
    age?: number;
}

How should I configure to add a questionMark to all fields?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant