Skip to content

Commit a1eb4d6

Browse files
committed
refactor comsed.yaml file
1 parent 531bd73 commit a1eb4d6

File tree

3 files changed

+5
-1320
lines changed

3 files changed

+5
-1320
lines changed

modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OpenAPIResolverTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ public void referringSpecWithoutComponentsTag() throws Exception {
657657
ParseOptions resolve = new ParseOptions();
658658
resolve.setResolveFully(true);
659659
final OpenAPI openAPI = new OpenAPIV3Parser().read("./ref-without-component/a.yaml", null, resolve);
660-
660+
Yaml.prettyPrint(openAPI);
661661
Map<String, Schema> schemas = openAPI.getComponents().getSchemas();
662662
Assert.assertEquals("Example value", schemas.get("CustomerType").getExample());
663663
}

modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/util/InlineModelResolverTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public void testIssue705() throws Exception {
3737
ParseOptions options = new ParseOptions();
3838
options.setFlatten(true);
3939
OpenAPI openAPI = new OpenAPIV3Parser().read("issue-705.yaml",null, options);
40+
4041
assertNotNull(openAPI);
4142
assertNotNull(openAPI.getComponents().getSchemas().get("inline_response_200").getType());
4243
}

0 commit comments

Comments
 (0)