Merge pull request 'Настроен сваггер' (#12) from Feature/EnableSwagger into master
Reviewed-on: #12
This commit is contained in:
7
pom.xml
7
pom.xml
@@ -64,6 +64,13 @@
|
|||||||
<artifactId>liquibase-core</artifactId>
|
<artifactId>liquibase-core</artifactId>
|
||||||
<version>4.19.0</version>
|
<version>4.19.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<!-- Swagger -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springdoc</groupId>
|
||||||
|
<artifactId>springdoc-openapi-ui</artifactId>
|
||||||
|
<version>1.7.0</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|||||||
@@ -12,3 +12,7 @@ spring:
|
|||||||
password: 123
|
password: 123
|
||||||
liquibase-schema: "liquibase"
|
liquibase-schema: "liquibase"
|
||||||
default-schema: "hedgehogcloud"
|
default-schema: "hedgehogcloud"
|
||||||
|
springdoc:
|
||||||
|
swagger-ui:
|
||||||
|
path: test # если в браузере написать localhost:8080/test, то будет
|
||||||
|
# редирект на localhost:8080/swagger-ui/index.html
|
||||||
Reference in New Issue
Block a user