Skip to content

Commit

Permalink
[PPANTT-142] feat: Remove default value stations maintenances state n…
Browse files Browse the repository at this point in the history
…ew API
  • Loading branch information
svariant committed Oct 17, 2024
1 parent 2965abf commit 4687f71
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 4687f71

Please sign in to comment.