diff --git a/src/main/java/org/gridsuite/modification/server/NetworkModificationController.java b/src/main/java/org/gridsuite/modification/server/NetworkModificationController.java index ec0178e57..462b7293b 100644 --- a/src/main/java/org/gridsuite/modification/server/NetworkModificationController.java +++ b/src/main/java/org/gridsuite/modification/server/NetworkModificationController.java @@ -243,11 +243,11 @@ public ResponseEntity stashNetworkModifications( } @PutMapping(value = "/network-modifications", produces = MediaType.APPLICATION_JSON_VALUE, params = "active") - @Operation(summary = "enable or disable network modifications") + @Operation(summary = "activate or deactivate network modifications") @ApiResponse(responseCode = "200", description = "The activation status related to the network modification was successfully updated") public ResponseEntity updateNetworkModificationsActivationStatus( @Parameter(description = "Network modification UUIDs") @RequestParam("uuids") List networkModificationUuids, - @Parameter(description = "enable or disable network modifications") @RequestParam(name = "active") Boolean active) { + @Parameter(description = "activate or deactivate network modifications") @RequestParam(name = "active") Boolean active) { networkModificationService.updateNetworkModificationActivation(networkModificationUuids, active); return ResponseEntity.ok().build(); } diff --git a/src/main/java/org/gridsuite/modification/server/dto/ModificationInfos.java b/src/main/java/org/gridsuite/modification/server/dto/ModificationInfos.java index e28ac9f55..252da8d2a 100644 --- a/src/main/java/org/gridsuite/modification/server/dto/ModificationInfos.java +++ b/src/main/java/org/gridsuite/modification/server/dto/ModificationInfos.java @@ -100,7 +100,7 @@ public class ModificationInfos { @Schema(description = "Message values") private String messageValues; - @Schema(description = "Modification enabled") + @Schema(description = "Modification activated") @Builder.Default private Boolean active = true;