
[인프런 : spring-boot] Swagger 구현 방법
지난번에는 Docket 이라는 클래스에 기본 객체를 생성하였는데 여기에 API정보나 consumer 정보 등을 변경해보려고 한다. 먼저 API 정보, produces 정보 등을 입력해준다. [ SwaggerConfig Class ] package com.example.restfulwebservice.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import springfox.documentation.service.ApiInfo; import springfox.documentation.service.Contact; import spring..