Skip to content

Commit 77de0a6

Browse files
committed
fixed issue 895
1 parent b32b2a4 commit 77de0a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/swagger-parser/src/test/java/io/swagger/parser/OpenAPIParserTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public void testIssue895() {
8080
SwaggerParseResult result = new OpenAPIParser().readLocation("issue895.yaml", null, null);
8181
assertNotNull(result);
8282
assertNotNull(result.getOpenAPI());
83-
assertEquals(result.getMessages().get(0),"attribute info.license.test");
83+
assertEquals(result.getMessages().get(0),"attribute info.contact.test");
8484
assertEquals(result.getMessages().get(1),"attribute info.license.test1");
8585

8686
}

modules/swagger-parser/src/test/resources/petstore.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"openapi": "3.0.0",
2+
"openapi": "3.0.1",
33
"info": {
44
"version": "1.0.0",
55
"title": "Swagger Petstore",

0 commit comments

Comments
 (0)