Skip to content
Advertisement

Tag: swagger-ui

Hiding unimportant getter methods from swagger UI in Java [duplicate]

This question already has answers here: How to hide a parameter in swagger? (9 answers) Closed 27 days ago. I have two fields in my class startDate and endDate of LocalDateTime. Internally, these need to be returned as Optional<ZonedDateTime>, while in the query they are provided as LocalDateTimes. Swagger (Springfox v2.9.2) now shows the needed fields but also endDateWithTimezone.present and

How to remove controller list from Swagger UI

I’m using springfox-swagger-ui 2.8.0 which ships with Swagger UI 3.7.0. I want to get rid of the controller list in front of the api documentation page, pretty useless for me (every tab is empty). I’ve already tried to annotate the controller class with @ApiIgnore, but of course this removes the rest api documentation as well, which I need. Basically, I

Advertisement