We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b9d8e0 commit 1f364b5Copy full SHA for 1f364b5
modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OpenAPIV3ParserTest.java
@@ -82,6 +82,16 @@ public class OpenAPIV3ParserTest {
82
protected int serverPort = getDynamicPort();
83
protected WireMockServer wireMockServer;
84
85
+ @Test
86
+ public void testServerRelativeUrl(){
87
+ String url = "https://petstore3.swagger.io/api/v3/openapi.json";
88
+ ParseOptions options = new ParseOptions();
89
+ options.setResolve(true);
90
+ SwaggerParseResult result = new OpenAPIV3Parser().readLocation(url,new ArrayList<>(),options);
91
+ assertTrue(result.getMessages().isEmpty());
92
+ }
93
+
94
95
@Test
96
public void testIssue1398() {
97
ParseOptions options = new ParseOptions();
0 commit comments