@Override
    protected Operation createOperation(final EndpointId endpointId, final DiscoveredOperationMethod operationMethod, final OperationInvoker invoker) {
        throw new IllegalStateException("RestActuatorEndpoint %s must not declare operations".formatted(endpointId.toString()));
    }
This is {@link RestActuatorEndpointDiscoverer}.

@author Misagh Moayyed
@since 7.1.0
api/cas-server-core-api-util/src/main/java/org/apereo/cas/util/spring/RestActuatorEndpointDiscoverer.java