We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 118c735 commit d435e1aCopy full SHA for d435e1a
modules/swagger-parser/src/test/java/io/swagger/parser/OpenAPIParserTest.java
@@ -124,13 +124,13 @@ public void testIssue768() {
124
125
@Test
126
public void test30Url() {
127
- String location = "http://petstore.swagger.io/v2/swagger.json";
+ String location = "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/petstore.yaml";
128
129
SwaggerParseResult result = new OpenAPIParser().readLocation(location, null, null);
130
131
assertNotNull(result);
132
assertNotNull(result.getOpenAPI());
133
- assertEquals(result.getOpenAPI().getOpenapi(), "3.0.1");
+ assertEquals(result.getOpenAPI().getOpenapi(), "3.0.0");
134
}
135
136
0 commit comments