@Test public void parseYaml() { String yaml = loadRelative("parser-test.yaml"); SwaggerParseResult swaggerParseResult = CompatibilityCheckParser.parseYaml(yaml); assertThat(swaggerParseResult).isNotNull(); assertThat(swaggerParseResult.getOpenAPI()).isNotNull(); assertThat(swaggerParseResult.getMessages()).isEmpty(); }
public static SwaggerParseResult parseYaml(String yaml) { OpenAPIV3Parser parser = new OpenAPIV3Parser(); return parser.readContents(yaml, null, createParseOptions()); }
CompatibilityCheckParser { public static SwaggerParseResult parseYaml(String yaml) { OpenAPIV3Parser parser = new OpenAPIV3Parser(); return parser.readContents(yaml, null, createParseOptions()); } }
CompatibilityCheckParser { public static SwaggerParseResult parseYaml(String yaml) { OpenAPIV3Parser parser = new OpenAPIV3Parser(); return parser.readContents(yaml, null, createParseOptions()); } private  CompatibilityCheckParser(); }
CompatibilityCheckParser { public static SwaggerParseResult parseYaml(String yaml) { OpenAPIV3Parser parser = new OpenAPIV3Parser(); return parser.readContents(yaml, null, createParseOptions()); } private  CompatibilityCheckParser(); static SwaggerParseResult parseYaml(String yaml); }
CompatibilityCheckParser { public static SwaggerParseResult parseYaml(String yaml) { OpenAPIV3Parser parser = new OpenAPIV3Parser(); return parser.readContents(yaml, null, createParseOptions()); } private  CompatibilityCheckParser(); static SwaggerParseResult parseYaml(String yaml);  }