Skip to content

Support @JsonIgnore for @ParameterObject #1375

Closed
@asiaon123

Description

@asiaon123

I'm using @ParameterObject for query string object, and i want to ignore some properties with @JsonIgnore, but i still listed in the swagger page.

Here is an example:

@GetMapping()
public Resp xxx(@ParameterObject SomeRequstObj request) {

}

public class SomeRequestObj {

    ....

    @JsonIgnore
    private Integer someProperies;

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions