diff --git a/src/main/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceController.java b/src/main/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceController.java index a8be6d6..f6ccfcc 100644 --- a/src/main/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceController.java +++ b/src/main/java/it/pagopa/selfcare/pagopa/controller/StationMaintenanceController.java @@ -50,7 +50,7 @@ public StationMaintenanceController(StationMaintenanceService stationMaintenance @OpenApiTableMetadata(readWriteIntense = OpenApiTableMetadata.ReadWrite.READ, external = true, internal = false) @GetMapping(produces = {MediaType.APPLICATION_JSON_VALUE}) public StationMaintenanceListResource getAllStationsMaintenances( - @Parameter(description = "Maintenances' state") @RequestParam(required = false, defaultValue = "SCHEDULED_AND_IN_PROGRESS") StationMaintenanceListState state, + @Parameter(description = "Maintenances' state") @RequestParam(required = false) StationMaintenanceListState state, @Parameter(description = "Maintenance's starting year") @RequestParam(required = false) Integer year ) { return this.stationMaintenanceService.getStationMaintenances(