Skip to content

Commit

Permalink
fix: PR remark
Browse files Browse the repository at this point in the history
Signed-off-by: LE SAULNIER Kevin <[email protected]>
  • Loading branch information
LE SAULNIER Kevin committed Sep 16, 2024
1 parent e454bca commit 38a92e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,11 @@ public ResponseEntity<Void> 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<Void> updateNetworkModificationsActivationStatus(
@Parameter(description = "Network modification UUIDs") @RequestParam("uuids") List<UUID> 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();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 38a92e9

Please sign in to comment.