use of guru.nidi.ramltester.core.RamlValidator in project okapi by folio-org.
the class RamlTest method testOkapiRaml.
@Test
public void testOkapiRaml() {
RamlDefinition api = RamlLoaders.fromFile("src/main/raml").load("okapi.raml");
// Don't check Validation.DESCRIPTION
RamlValidator v = api.validator().withChecks(Validation.URI_PARAMETER, Validation.PARAMETER, Validation.EMPTY);
Assert.assertThat(v.validate(), validates());
}
Aggregations