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

Adds Jackson's @JsonProperty handling on class attributes and a simple unit test #119

Closed hugop95 closed 2 months ago

hugop95 commented 3 months ago

116

public class SimpleUserDto {
    @JsonProperty("isActive")
    private boolean active;

    @JsonProperty("isActive")
    private int anotherIsActive;

    private String isActive;
}

which passes without error and generates an attribute of type string

kbuntrock commented 2 months ago

Merged. Thank you for your contribution. :)

kbuntrock commented 2 months ago

Resolve #116