From dcfad34e958718c25035ed32b6db8850b0ba885e Mon Sep 17 00:00:00 2001 From: gracekarina Date: Thu, 26 May 2022 15:33:58 -0500 Subject: [PATCH] remove println --- .../java/io/swagger/v3/parser/util/InlineModelResolverTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/util/InlineModelResolverTest.java b/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/util/InlineModelResolverTest.java index 7bd793a13e..40c7d8be93 100644 --- a/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/util/InlineModelResolverTest.java +++ b/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/util/InlineModelResolverTest.java @@ -835,7 +835,7 @@ public void resolveInlineArrayRequestBody() throws Exception { .requestBody(new RequestBody() .content(new Content().addMediaType("*/*",new MediaType() .schema(arraySchema)))))); - Yaml.prettyPrint(openAPI); + new InlineModelResolver().flatten(openAPI); RequestBody body = openAPI.getPaths().get("/hello").getGet().getRequestBody();