diff --git a/00-backend/pom.xml b/00-backend/pom.xml index 357de3e..7cb6c6f 100644 --- a/00-backend/pom.xml +++ b/00-backend/pom.xml @@ -72,6 +72,11 @@ org.hibernate.orm hibernate-community-dialects + + org.springdoc + springdoc-openapi-starter-webmvc-ui + 2.8.5 + diff --git a/00-backend/src/main/resources/application.properties b/00-backend/src/main/resources/application.properties index 4e52be8..ba2fe54 100644 --- a/00-backend/src/main/resources/application.properties +++ b/00-backend/src/main/resources/application.properties @@ -17,4 +17,8 @@ spring.flyway.enabled=true spring.flyway.url=jdbc:sqlite:./datasource/database.sqlite spring.flyway.locations=classpath:db/sqlite spring.flyway.baseline-on-migrate=true -spring.flyway.mixed=true \ No newline at end of file +spring.flyway.mixed=true + +# SwaggerUI +springdoc.api-docs.path=/api-docs +springdoc.swagger-ui.path=/swagger.html \ No newline at end of file