diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ef93977
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,114 @@
+# ====================================
+# GITIGNORE POUR SERVER API (Maven Library)
+# ====================================
+
+# ===== MAVEN =====
+target/
+pom.xml.tag
+pom.xml.releaseBackup
+pom.xml.versionsBackup
+pom.xml.next
+release.properties
+dependency-reduced-pom.xml
+buildNumber.properties
+.mvn/timing.properties
+.mvn/wrapper/maven-wrapper.jar
+.flattened-pom.xml
+
+# ===== JAVA COMPILED FILES =====
+*.class
+*.jar
+*.war
+*.ear
+*.nar
+*.zip
+*.tar.gz
+*.rar
+
+# ===== IDE - ECLIPSE =====
+.project
+.classpath
+.settings/
+.factorypath
+.metadata/
+bin/
+.apt_generated
+.springBeans
+.sts4-cache
+
+# ===== IDE - INTELLIJ IDEA =====
+.idea/
+*.iml
+*.ipr
+*.iws
+out/
+
+# ===== IDE - NETBEANS =====
+nbproject/
+nbbuild/
+nbdist/
+.nb-gradle/
+nb-configuration.xml
+nbactions.xml
+
+# ===== IDE - VS CODE =====
+.vscode/
+*.code-workspace
+
+# ===== OS SPECIFIC =====
+.DS_Store
+Thumbs.db
+ehthumbs.db
+Desktop.ini
+$RECYCLE.BIN/
+*~
+
+# ===== LOGS =====
+*.log
+*.log.*
+logs/
+log/
+
+# ===== TEMPORARY FILES =====
+*.tmp
+*.temp
+*.bak
+*.backup
+*.old
+*.swp
+*.swo
+*.orig
+*.rej
+
+# ===== ENVIRONMENT & CONFIGURATION =====
+.env
+.env.local
+.env.*
+*.local
+application-local.properties
+
+# ===== SECURITY - KEYS & CERTIFICATES =====
+*.key
+*.pem
+*.crt
+*.p12
+*.jks
+*.keystore
+.certs/
+.certificates/
+
+# ===== TEST COVERAGE =====
+.jacoco/
+jacoco.exec
+coverage/
+.nyc_output/
+
+# ===== GENERATED SOURCES =====
+src/gen/
+generated-sources/
+generated-test-sources/
+
+# ===== BUILD ARTIFACTS =====
+dist/
+build/
+out/
diff --git a/pom.xml b/pom.xml
index 4640511..5d2ce73 100644
--- a/pom.xml
+++ b/pom.xml
@@ -67,13 +67,16 @@
org.apache.maven.plugins
maven-compiler-plugin
+
+ 21
+
io.smallrye
jandex-maven-plugin
- 3.1.0
+ 3.2.4
make-index
diff --git a/src/main/java/dev/lions/user/manager/api/UserResourceApi.java b/src/main/java/dev/lions/user/manager/api/UserResourceApi.java
index 723ad4d..f1124aa 100644
--- a/src/main/java/dev/lions/user/manager/api/UserResourceApi.java
+++ b/src/main/java/dev/lions/user/manager/api/UserResourceApi.java
@@ -96,7 +96,11 @@ public interface UserResourceApi {
@POST
@Path("/{userId}/send-verification-email")
@Operation(summary = "Envoyer email de vérification", description = "Envoie un email de vérification à l'utilisateur")
- void sendVerificationEmail(
+ @APIResponses({
+ @APIResponse(responseCode = "202", description = "Demande acceptée (email envoyé ou tentative effectuée)"),
+ @APIResponse(responseCode = "404", description = "Utilisateur non trouvé")
+ })
+ Response sendVerificationEmail(
@PathParam("userId") String userId,
@QueryParam("realm") String realmName);