Forum Discussion

Bhushan-Chandra's avatar
Bhushan-Chandra
Occasional Contributor
7 months ago

If we use x-[class/field]-extra-annotation then it’s adding annotation but not importing class

If we use x-class-extra-annotation or x-field-extra-annotation to add class or field level annotations like these "@JsonInclude(JsonInclude.Include.NON_NULL), then it’s adding the required annotations but it’s not importing the required class. So, how to import let's say JsonInclude in generated dto?

No RepliesBe the first to reply