swagger-maven-plugin icon indicating copy to clipboard operation
swagger-maven-plugin copied to clipboard

package-private Spring MVC methods are not picked up

Open ghost opened this issue 6 years ago • 1 comments

Whilst Spring MVC is perfectly happy with a class like:

@RestController
class MyController {
    @GetMapping("/my-mapping")
    String getMyMapping() {
        return ":-)";
    }
}

The swagger-maven-plugin only picks up the methods when they are declared as public. Would be nice to support that. :-)

ghost avatar Oct 14 '19 13:10 ghost

+1

witek1902 avatar Dec 23 '20 15:12 witek1902