Merge pull request 'Настроен сваггер' (#12) from Feature/EnableSwagger into master

Reviewed-on: #12
pull/13/head
L_DelOff 2023-06-05 15:10:56 +03:00
commit af9eaa54f3
2 changed files with 11 additions and 0 deletions

View File

@ -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>

View File

@ -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