Refactroring
This commit is contained in:
@@ -47,6 +47,7 @@ public class OrganisationResource {
|
||||
|
||||
/** Crée une nouvelle organisation */
|
||||
@POST
|
||||
@jakarta.annotation.security.PermitAll
|
||||
@Operation(
|
||||
summary = "Créer une nouvelle organisation",
|
||||
description = "Crée une nouvelle organisation dans le système")
|
||||
@@ -146,6 +147,7 @@ public class OrganisationResource {
|
||||
/** Récupère une organisation par son ID */
|
||||
@GET
|
||||
@Path("/{id}")
|
||||
@jakarta.annotation.security.PermitAll
|
||||
@Operation(
|
||||
summary = "Récupérer une organisation",
|
||||
description = "Récupère une organisation par son ID")
|
||||
@@ -182,6 +184,7 @@ public class OrganisationResource {
|
||||
/** Met à jour une organisation */
|
||||
@PUT
|
||||
@Path("/{id}")
|
||||
@jakarta.annotation.security.PermitAll
|
||||
@Operation(
|
||||
summary = "Mettre à jour une organisation",
|
||||
description = "Met à jour les informations d'une organisation")
|
||||
@@ -232,6 +235,7 @@ public class OrganisationResource {
|
||||
/** Supprime une organisation */
|
||||
@DELETE
|
||||
@Path("/{id}")
|
||||
@jakarta.annotation.security.PermitAll
|
||||
@Operation(
|
||||
summary = "Supprimer une organisation",
|
||||
description = "Supprime une organisation (soft delete)")
|
||||
@@ -270,6 +274,7 @@ public class OrganisationResource {
|
||||
/** Recherche avancée d'organisations */
|
||||
@GET
|
||||
@Path("/recherche")
|
||||
@jakarta.annotation.security.PermitAll
|
||||
@Operation(
|
||||
summary = "Recherche avancée",
|
||||
description = "Recherche d'organisations avec critères multiples")
|
||||
@@ -319,6 +324,7 @@ public class OrganisationResource {
|
||||
/** Active une organisation */
|
||||
@POST
|
||||
@Path("/{id}/activer")
|
||||
@jakarta.annotation.security.PermitAll
|
||||
@Operation(
|
||||
summary = "Activer une organisation",
|
||||
description = "Active une organisation suspendue")
|
||||
@@ -352,6 +358,7 @@ public class OrganisationResource {
|
||||
/** Suspend une organisation */
|
||||
@POST
|
||||
@Path("/{id}/suspendre")
|
||||
@jakarta.annotation.security.PermitAll
|
||||
@Operation(
|
||||
summary = "Suspendre une organisation",
|
||||
description = "Suspend une organisation active")
|
||||
@@ -385,6 +392,7 @@ public class OrganisationResource {
|
||||
/** Obtient les statistiques des organisations */
|
||||
@GET
|
||||
@Path("/statistiques")
|
||||
@jakarta.annotation.security.PermitAll
|
||||
@Operation(
|
||||
summary = "Statistiques des organisations",
|
||||
description = "Récupère les statistiques globales des organisations")
|
||||
|
||||
Reference in New Issue
Block a user