This repository was archived by the owner on Nov 24, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
swagger-parser-v2-converter/src/test/java/io/swagger/parser/test
swagger-parser-v3/src/main/java/io/swagger/v3/parser/util Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ public class V2ConverterTest {
7676 private static final String ISSUE_672_JSON = "issue-672.json" ;
7777 private static final String ISSUE_673_YAML = "issue-673.yaml" ;
7878 private static final String ISSUE_676_JSON = "issue-676.json" ;
79- private static final String ISSUE_740_YAML = "issue-740.yaml" ;
8079 private static final String ISSUE_708_YAML = "issue-708.yaml" ;
80+ private static final String ISSUE_740_YAML = "issue-740.yaml" ;
8181 private static final String ISSUE_755_YAML = "issue-755.yaml" ;
8282 private static final String ISSUE_756_JSON = "issue-756.json" ;
8383 private static final String ISSUE_758_JSON = "issue-758.json" ;
Original file line number Diff line number Diff line change @@ -106,10 +106,12 @@ public SwaggerParseResult deserialize(JsonNode rootNode) {
106106 public SwaggerParseResult deserialize (JsonNode rootNode , String path ) {
107107 SwaggerParseResult result = new SwaggerParseResult ();
108108 try {
109+
109110 ParseResult rootParse = new ParseResult ();
110111 OpenAPI api = parseRoot (rootNode , rootParse , path );
111112 result .setOpenAPI (api );
112113 result .setMessages (rootParse .getMessages ());
114+
113115 } catch (Exception e ) {
114116 result .setMessages (Arrays .asList (e .getMessage ()));
115117
You can’t perform that action at this time.
0 commit comments