diff --git a/pom.xml b/pom.xml index ca2f8f0..56efb3a 100644 --- a/pom.xml +++ b/pom.xml @@ -57,6 +57,7 @@ 8.2.0 1.18.16 5.8.2 + 1.7.0 true true true @@ -133,6 +134,13 @@ 2.0.1 + + + org.springdoc + springdoc-openapi-ui + ${springdoc.version} + + org.springframework spring-test diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 0999452..ba1e91d 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -183,3 +183,9 @@ default.logbook.url= default.tags.url= default.properties.url= +########### OpenAPI / Swagger ############# +#OPENAPI +springdoc.api-docs.path=${API_PATH:/api/spec} +springdoc.swagger-ui.path=${SWAGGER_PATH:/api/docs} +springdoc.swagger-ui.disable-swagger-default-url=true +springdoc.swagger-ui.displayOperationId=true