I'm using springfox-swagger2 version 2.9.2 and springfox-swagger-ui version 2.9.2 to documentation a Spring Boot application through Swagger.
The problem is that a Object have many subclasses and make the example object stay very big, showing atributes that not will use in the context.
Someone has idea how can I only show the atributes that I need in the context?