@Override
    public boolean isIntercepted(ShapeDetailsSection section) {
        if (!section.shape().isOperationShape()) {
            return false;
        }
        var index = ServiceIndex.of(section.context().model());
        var service = section.context().settings().service();

        // Only add the admonition if the service has auth in the first place.
        var serviceAuth = index.getAuthSchemes(service);
        if (serviceAuth.isEmpty()) {
            return false;
        }

        // Only add the admonition if the operations' effective auth schemes differs
        // from the total list of available auth schemes on the service.
        var operationAuth = index.getEffectiveAuthSchemes(service, section.shape(), AuthSchemeMode.NO_AUTH_AWARE);
        return !operationAuth.keySet().equals(serviceAuth.keySet());
    }
Adds a priority list of supported auth schemes for operations with optional auth or
operations which don't support all of a service's auth schemes.
smithy-docgen/src/main/java/software/amazon/smithy/docgen/interceptors/OperationAuthInterceptor.java