SWAGGER1 Spring Cloud환경에서 Gateway에 Sagger 적용 📘서론현재 MSA로 프로젝트를 진행하던 도중 Swagger를 적용시키고 싶어 해당 과정을 작성합니다. 1. 각 서비스 설정1-1. build.gradle에 swagger 의존성 추가implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2' // Swaggger 의존성 1-2. application.yml에 spring doc 설정springdoc: default-produces-media-type: application/json api-docs: path: /v3/api-docs swagger-ui: path: /swagger-ui.html display-request-duration: true 1-3. S.. 2025. 3. 24. 이전 1 다음