Skip to content

Commit

Permalink
Clean MigrationController
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne Homer <[email protected]>
  • Loading branch information
etiennehomer committed Jan 7, 2025
1 parent d7ef98c commit d430611
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import java.util.*;

/**
* @author Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
* @author Etienne Homer <etienne.homer at rte-france.com>
*/
@RestController
@RequestMapping(value = "/" + NetworkStoreApi.VERSION + "/migration")
Expand All @@ -32,8 +32,8 @@ public class MigrationController {

@PostMapping(value = "/{networkId}")
@Operation(summary = "Migrate limits of a network")
@ApiResponses(@ApiResponse(responseCode = "201", description = "Successfully migrated limits"))
public ResponseEntity<Void> migrateLimits(@Parameter(description = "Network ID", required = true) @PathVariable("networkId") UUID networkId) {
@ApiResponses(@ApiResponse(responseCode = "201", description = "Successfully migrated limits from V2.11.0 to new model"))
public ResponseEntity<Void> migrateV211Limits(@Parameter(description = "Network ID", required = true) @PathVariable("networkId") UUID networkId) {
repository.migrateV211Limits(networkId);
return ResponseEntity.ok().build();
}
Expand Down

0 comments on commit d430611

Please sign in to comment.