반응형
springboot
-
SwaggerBackEnd/Spring Boot 2021. 7. 23. 09:26
1. Swagger ? > REST API를 설계, 구축, 문서화 및 사용하는데 도움이 될 수 있는 Open API Specification 기반 오픈 소스 도구 모음 > Springboot에 Swagger 적용 시 컨트롤러에 명시된 어노테이션을 기반으로 API문서를 자동으로 만들어준다. 2. Swagger 설정 1) pom.xml io.springfox springfox-swagger2 2.9.2 io.springfox springfox-swagger-ui 2.9.2 2) SwaggerConfig.java > Springfox 참조 문서 package com.spring.swagger.config; import org.springframework.context.annotation.Bean; import..