Untitled
@GetMapping("/{feature}/statistics/{itemName}/monthly") public ResponseEntity getFeatureStatisticsMonthly( HttpServletRequest request, @PathVariable @Schema(required = true, implementation = Feature.class) Feature feature, @PathVariable String itemName, @ModelAttribute FeatureStatisticsSearchParams params, @RequestParam(name = "date", required = false) @DateTimeFormat(pattern = "yyyy-MM") YearMonth date, @RequestParam(name = "date.from", required = false) @DateTimeFormat(pattern = "yyyy-MM") YearMonth dateFrom, @RequestParam(name = "date.to", required = false) @DateTimeFormat(pattern = "yyyy-MM") YearMonth dateTo, @RequestParam(name = "export", defaultValue = "json") ResponseExportType responseType)
Leave a Comment