raml-java-parser
raml-java-parser copied to clipboard
Can convert Api objects to json that can be used directly in api-console?
RamlModelResult ramlModelResult = new RamlModelBuilder().buildApi(input);
if (ramlModelResult.hasErrors())
{
for (ValidationResult validationResult : ramlModelResult.getValidationResults())
{
System.out.println(validationResult.getMessage());
}
}
else
{
Api api = ramlModelResult.getApiV10();
}
If it's true? What should I do? Who can tell me?
Aha! Link: https://mulesoft-roadmap.aha.io/features/APIRAML-70