Skip to content

Commit

Permalink
local test issue#1509
Browse files Browse the repository at this point in the history
  • Loading branch information
gracekarina committed Feb 2, 2021
1 parent 3ed1c29 commit c379a31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,11 @@ public void testServerRelativeUrl(){

@Test
public void testServerRelativeUrlLocal(){
String url = "openapilocal.json";
String url = "issue-1509/openapilocal.json";
ParseOptions options = new ParseOptions();
options.setResolve(true);
SwaggerParseResult result = new OpenAPIV3Parser().readLocation(url,new ArrayList<>(),options);
Yaml.prettyPrint(result.getOpenAPI());
assertTrue(result.getMessages().isEmpty());
}

Expand Down

0 comments on commit c379a31

Please sign in to comment.