use of io.swagger.models.EmptyModel in project swagger-core by swagger-api.
the class ModelConverterTest method scanEmptyModel.
@Test(description = "it should scan an empty model per 499")
public void scanEmptyModel() {
final Map<String, Model> schemas = readAll(EmptyModel.class);
final ModelImpl model = (ModelImpl) schemas.get("EmptyModel");
assertNull(model.getProperties());
assertEquals(model.getType(), "object");
}
Aggregations