Springboot swagger with JsonView
问题 It's possible to integrate the swagger with @JsonView ? I have one model that I use the @JsonView to return only a few fields, but the swagger-ui shows the hole model. This is my model: public class Intimacao extends EntityBase { @Embedded @JsonView({View.Intimacao_Lista.class}) private Devedor devedor; @Embedded private Sacador sacador; @Embedded private Apresentante apresentante; @Embedded private Titulo titulo; } This is my controller: @GetMapping("/") @PreAuthorize("hasRole('ADMINISTRADOR