See http://raml.org for more information about RAML.
This parser is at a alpha state of development. You can check the missing features.
mvn clean package
mvn clean package -P jar-with-dependencies
Run standalone validator
java -jar raml-parser-2-{version}.jar raml-file ...
RamlModelResult ramlModelResult = new RamlModelBuilder().buildApi(input);
if (ramlModelResult.hasErrors())
{
for (ValidationResult validationResult : ramlModelResult.getValidationResults())
{
System.out.println(validationResult.getMessage());
}
}
else
{
Api api = ramlModelResult.getApiV10();
}