@GetMapping(path = "/resources", produces = MediaType.APPLICATION_JSON_VALUE)
    @Operation(summary = "Fetch all authorizable resources")
    public ResponseEntity<Map<String, List<AuthorizableResource>>> fetchResources() {
        val resources = authorizableResourceRepository.findAll();
        return ResponseEntity.ok(resources);
    }
Fetch resources.

@return the response entity
support/cas-server-support-heimdall/src/main/java/org/apereo/cas/heimdall/HeimdallAuthorizationEndpoint.java