1. Swagger Config ์์ฑํ๊ธฐ
2. application.properties
# Swagger
spring.mvc.pathmatch.matching-strategy=ant_path_matcher
3. build.gradle
// swagger
implementation 'io.springfox:springfox-swagger2:2.9.2'
implementation 'io.springfox:springfox-swagger-ui:2.9.2'
4. <์์ ์IP>:<ํฌํธ๋ฒํธ>/swagger-ui.html ์ ์ํ๊ธฐ
์ : localhost:8080/swagger-ui.html
'์น ๊ฐ๋ฐ > SpringBoot' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
SpringBoot ResponseEntity ์์ฑ ๋ฐ ํ์ฉ ๋ฐฉ๋ฒ (0) | 2023.05.23 |
---|---|
SpringBoot JPA ํ์๊ฐ์ ๊ธฐ๋ฅ ๊ตฌํํ๊ธฐ (0) | 2023.05.23 |
SpringBoot MySQL ์ฐ๋ํ๊ธฐ (0) | 2023.05.23 |
SpringBoot ๊ฐ๋ฐ ํ๊ฒฝ ๊ตฌ์ถํ๊ธฐ (0) | 2023.05.23 |