diff --git a/supporting_scripts/analysis-of-endpoint-connections/src/main/java/de/tum/cit/endpointanalysis/RestCallAnalyzer.java b/supporting_scripts/analysis-of-endpoint-connections/src/main/java/de/tum/cit/endpointanalysis/RestCallAnalyzer.java index 67fd48c06cd7..9c6f6a0d68ae 100644 --- a/supporting_scripts/analysis-of-endpoint-connections/src/main/java/de/tum/cit/endpointanalysis/RestCallAnalyzer.java +++ b/supporting_scripts/analysis-of-endpoint-connections/src/main/java/de/tum/cit/endpointanalysis/RestCallAnalyzer.java @@ -19,10 +19,10 @@ private static void analyzeRestCalls() { ObjectMapper mapper = new ObjectMapper(); try { - List endpointClasses = mapper.readValue(new File("supporting_scripts/analysis-of-endpoint-connections/endpoints.json"), + List endpointClasses = mapper.readValue(new File("endpoints.json"), new TypeReference>() { }); - List restCalls = mapper.readValue(new File("supporting_scripts/analysis-of-endpoint-connections/restCalls.json"), + List restCalls = mapper.readValue(new File("restCalls.json"), new TypeReference>() { });