diff --git a/modules/swagger-parser/src/main/java/io/swagger/parser/util/RefUtils.java b/modules/swagger-parser/src/main/java/io/swagger/parser/util/RefUtils.java index a3122f3c1e..bf35bf4b2c 100644 --- a/modules/swagger-parser/src/main/java/io/swagger/parser/util/RefUtils.java +++ b/modules/swagger-parser/src/main/java/io/swagger/parser/util/RefUtils.java @@ -17,6 +17,8 @@ import java.nio.file.Paths; import java.util.List; import java.util.Set; +import java.net.URI; +import java.net.URISyntaxException; public class RefUtils { @@ -79,46 +81,8 @@ public static String readExternalUrlRef(String file, RefFormat refFormat, List