diff --git a/pom.xml b/pom.xml index d1a4bf60db35b1089bd403959781a852997c0e87..81c601aadcc4792e835eb833f42d2566c56983ba 100644 --- a/pom.xml +++ b/pom.xml @@ -70,7 +70,11 @@ <artifactId>mysql-connector-java</artifactId> <version>8.0.33</version> </dependency> - + <dependency> + <groupId>org.springdoc</groupId> + <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> + <version>2.6.0</version> + </dependency> <!-- H2 Database for testing --> <dependency> <groupId>com.h2database</groupId> diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 994d8e42b2f49dc2676019dbea2f4794a9dc5b4a..efa8e1a4cd86ab03e8db747ab780dca3e61d54ce 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -29,3 +29,8 @@ logging: hibernate: SQL: DEBUG # Affiche les requĂȘtes SQL si nĂ©cessaire +management: + endpoints: + web: + exposure: + include: env,metrics,health \ No newline at end of file