How to hide endpoints from Swagger documentation with Springfox

前端 未结 5 1485
深忆病人
深忆病人 2021-01-04 12:03

I have a Spring Boot project with next dependency of Springfox:


    io.springfox
    spri         


        
5条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-04 12:47

    Another option is to just remove the @Api completely, and your controller and its methods shouldn't be picked up by swagger.

提交回复
热议问题