I\'m currently using Springfox Swagger to document my spring boot application with a Java config. My API starts in about 75 seconds, (it was originally 20 secs without Sprin
With swagger 3.0 @Hidden annotation is available which is present at package io.swagger.v3.oas.annotations
@Hidden
It can be used on top of the class or method to exclude the resource in swagger documentation.