본문 바로가기

Programming/Spring

Spring Maven Swagger설치

반응형

여기서 최신버전을 복사해서 pom.xml의 디펜던시에 넣어준다.

 

Maven Repository: org.springdoc » springdoc-openapi-starter-webmvc-ui » 2.5.0 (mvnrepository.com)

<!-- https://mvnrepository.com/artifact/org.springdoc/springdoc-openapi-starter-webmvc-ui -->
<dependency>
    <groupId>org.springdoc</groupId>
    <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
    <version>2.5.0</version>
</dependency>

 

localhost:8080/swagger-ui/index.html

 

반응형