output just the spec
@@ -6,6 +6,6 @@ import org.junit.Test;
public class OpenAPIParserTest {
@Test
public void testSimple() {
- Json.prettyPrint(new OpenAPIParser().readLocation("http://petstore.swagger.io/v2/swagger.json", null, null));
+ Json.prettyPrint(new OpenAPIParser().readLocation("http://petstore.swagger.io/v2/swagger.json", null, null).getOpenAPI());
}
}
