How to make Swagger put new line in the generated HTML (in Swagger UI page)?

I have a REST service method annotated with io.swagger.annotations.ApiOperation @ApiOperation(value = “some string”) I need some string to generate newlines in the HTML page swagger-ui.html (i.e. …

Hiding unimportant getter methods from swagger UI in Java

I have two fields in my class startDate and endDate of LocalDateTime. Internally, these need to be returned as Optional, while in the query they are provided as LocalDateTimes. @…