@Operation(summary = "Fetch services by their type")
    @GetMapping(path = "type/{type}", produces = {
        MediaType.APPLICATION_JSON_VALUE,
        MEDIA_TYPE_SPRING_BOOT_V2_JSON,
        MEDIA_TYPE_SPRING_BOOT_V3_JSON,
        MediaType.APPLICATION_FORM_URLENCODED_VALUE,
        MEDIA_TYPE_CAS_YAML
    })
    public ResponseEntity<String> fetchServicesByType(
        @PathVariable
        final String type) throws Exception {
        val services = servicesManager.getObject().findServiceBy(registeredService ->
            registeredService.getClass().getSimpleName().equalsIgnoreCase(type));
        return ResponseEntity.ok(MAPPER.writeValueAsString(services));
    }
Fetch services by type response entity.

@param type the simple name of the CAS service type (i.e {@link org.apereo.cas.services.CasRegisteredService}
@return the response entity
@throws Exception the exception
support/cas-server-support-reports-core/src/main/java/org/apereo/cas/web/report/RegisteredServicesEndpoint.java