stoicflame / enunciate-gradle

Gradle plugin for Enunciate
Apache License 2.0
5 stars 4 forks source link

Better support for Lombok "@Builder"/"@SuperBuilder" generated classes #30

Open abrahamp-hv opened 4 years ago

abrahamp-hv commented 4 years ago

Hi Team,

I am working on a project where Lombok Builder and SuperBuilder annotations are being used for the modal classes. When I tried to generate the docs with the enunciate-gradle plugin, these fields are not being recognized in the final documentation.

@Builder @Getter @NoArgsConstructor(access = AccessLevel.PROTECTED) @AllArgsConstructor(access = AccessLevel.PROTECTED) @JsonInclude(JsonInclude.Include.NON_NULL) public class TestTO { private String key; private String path; private String type; }

Can you please let me know a way to achieve this?

Please note that I tried delombok task and generating a source jar from the delomobok sources. I still can't see the fields.

Thanks, Abraham.

jskov-jyskebank-dk commented 4 years ago

You should probably move the issue to the enunciate project. This project is solely about driving enunciate from Gradle.

abrahamp-hv commented 4 years ago

Sure. Thought this is the right place because I am using enunciate-gradle.

Thank you.