Untitled

mail@pastecode.io avatar
unknown
plain_text
18 days ago
965 B
3
Indexable
Never
    @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