kbuntrock / openapi-maven-plugin

Generate openapi documentation for SpringMVC or JaxRS/JakartaRS projects.
https://kbuntrock.github.io/openapi-maven-plugin/
MIT License
13 stars 8 forks source link

Add support for Jackson @JsonProperty #116

Closed hugop95 closed 2 months ago

hugop95 commented 3 months ago

@JsonProperty("isPlugged") private boolean plugged;

generates

plugged: type: boolean

Would there be any possibility to support this Jackson annotation?

kbuntrock commented 3 months ago

It's possible. Difficulty reside if we fully support this annotation (not only on fields but also on methods).

I'll focus first on fields.

hugop95 commented 3 months ago

It's possible. Difficulty reside if we fully support this annotation (not only on fields but also on methods).

I'll focus first on fields.

Thanks, I had some free time and created a pull request handling fields if you are interested.