use of io.swagger.parser.SwaggerParserExtension in project swagger-parser by swagger-api.
the class ParserExtensionsTest method readAllExtensions.
@Test
public void readAllExtensions() throws Exception {
SwaggerParser parser = new SwaggerParser();
List<SwaggerParserExtension> extensions = parser.getExtensions();
assertTrue(extensions.size() == 2, "Didn't find 2 extensions as expected");
}
Aggregations