8000 Swagger does not respect Jackson @JsonIgnoreProperties annotation · Issue #2613 · springfox/springfox · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Swagger does not respect Jackson @JsonIgnoreProperties annotation #2613
Closed
@guan25

Description

@guan25

When I used @JsonIgnoreProperties annotation to ignore some redundant properties from the super classes, it has completely no effect on Swagger. The consequence is the API document and the real Json objects have inconsistent structure. Does anyone know how we can solve this problem?

@JsonIgnoreProperties(value = {"houseNo","coNo","coName","reviewer","latelyMonthLookTimes"
,"reviewTime"})
public class SecondHouseBrokerInVo extends SecondHouseVo {

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0