swagger1 TIL : Swagger 사용하기 (14) 📚 Swagger Swagger란? API 명세서를 자동으로 작성해주는 라이브러리이다. Swagger2, Swagger3이 있는데 버전이 다른 게 아니라 진짜 다른 라이브러리이다. (Spring Rest Doc) 1️⃣ 의존성 추가하기 implementation group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.9.2' implementation group: 'io.springfox', name: 'springfox-swagger2', version: '2.9.2' 2️⃣ Configuration 추가하기 @Configuration @EnableSwagger2 public class SwaggerConfig { /** http://loca.. 2022. 11. 28. 이전 1 다음