Skip to content
Snippets Groups Projects
Commit 00152f70 authored by Abdellatif Kebraoui's avatar Abdellatif Kebraoui
Browse files

[FEAT] add springdoc-openapi dependency and expose management endpoints in application.yml

parent b162036d
No related branches found
No related tags found
No related merge requests found
...@@ -70,7 +70,11 @@ ...@@ -70,7 +70,11 @@
<artifactId>mysql-connector-java</artifactId> <artifactId>mysql-connector-java</artifactId>
<version>8.0.33</version> <version>8.0.33</version>
</dependency> </dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>2.6.0</version>
</dependency>
<!-- H2 Database for testing --> <!-- H2 Database for testing -->
<dependency> <dependency>
<groupId>com.h2database</groupId> <groupId>com.h2database</groupId>
......
...@@ -29,3 +29,8 @@ logging: ...@@ -29,3 +29,8 @@ logging:
hibernate: hibernate:
SQL: DEBUG # Affiche les requêtes SQL si nécessaire SQL: DEBUG # Affiche les requêtes SQL si nécessaire
management:
endpoints:
web:
exposure:
include: env,metrics,health
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment