use of io.swagger.v3.core.filter.resources.NoOpenAPIFilter in project swagger-core by swagger-api.
the class SpecFilterTest method filterAwayOpenAPI.
@Test(description = "it should filter an openAPI object")
public void filterAwayOpenAPI() throws IOException {
final OpenAPI openAPI = getOpenAPI(RESOURCE_PATH);
final OpenAPI filtered = new SpecFilter().filter(openAPI, new NoOpenAPIFilter(), null, null, null);
assertNull(filtered);
}
Aggregations