raml-java-parser icon indicating copy to clipboard operation
raml-java-parser copied to clipboard

Can convert Api objects to json that can be used directly in api-console?

Open lanmolsz opened this issue 7 years ago • 0 comments

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

lanmolsz avatar Dec 26 '17 11:12 lanmolsz