...
Code Block |
---|
@GetMapping(path = "/cases/{category}", produces = { APPLICATION_JSON_VALUE }) @Operation(summary = "Get agreements by category") @ApiResponse(responseCode = "200", description = "Successful operation") @ApiResponse(responseCode = "400", description = "Bad request") @ApiResponse(responseCode = "401", description = "Unauthorized") @ApiResponse(responseCode = "404", description = "Not found") @ApiResponse(responseCode = "500", description = "Internal Server error") @ApiResponse(responseCode = "502", description = "Bad Gateway") @PreAuthorize("@accessAuthorizer.authorize(authentication, #category)") public ResponseEntity<AgreementResponse>ResponseEntity<CasesResponse> getAgreementsByCategorygetCasesByCategory( @Parameter(name = "category") @PathVariable(name = "category") Category category) { ... } |
...