Skip to content

Commit f20e77f

Browse files
committed
fix test for issue #1274
1 parent 21c0164 commit f20e77f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ public void testArrayItems() {
791791

792792
OpenAPIV3Parser parser = new OpenAPIV3Parser();
793793
SwaggerParseResult result = parser.readContents(yaml, null, null);
794-
assertEquals(result.getMessages(), Arrays.asList("attribute paths.'/store/inventory'(post).requestBody.content.schema.items is missing"));
794+
assertEquals(result.getMessages(), Arrays.asList("attribute paths.'/store/inventory'(post).requestBody.content.'application/json'.schema.items is missing"));
795795

796796
OpenAPI openAPI = result.getOpenAPI();
797797

0 commit comments

Comments
 (0)