doc = mapper.readJsonApiDocument(jsonApiDocument);
} else {
doc = new JsonApiDocument();
}
requestScope = new RequestScope(
<BUG>doc, transaction, user, dictionary, mapper, auditLogger, securityMode, permissionExecutor);
</BUG>
isVerbose = requestScope.getPermissionExecutor().isVerbose();
DeleteVisitor visitor = new DeleteVisitor(requestScope);
Supplier<Pair<Integer, JsonNode>> responder = visitor.visit(parse(path));

doc = mapper.readJsonApiDocument(jsonApiDocument);
} else {
doc = new JsonApiDocument();
}
requestScope = new RequestScope(
path, doc, transaction, user, dictionary, mapper, auditLogger, securityMode, permissionExecutor);
isVerbose = requestScope.getPermissionExecutor().isVerbose();
DeleteVisitor visitor = new DeleteVisitor(requestScope);
Supplier<Pair<Integer, JsonNode>> responder = visitor.visit(parse(path));
