Open MTyson opened 8 years ago
besides the missing slash in resource
the other problem is that the parser does not support the CONNECT method. It will be addressed in the next maintenance release #95
The missing slash is present in the example here: https://github.com/mulesoft/api-console/blob/master/dist/examples/simple.raml
Thanks for info.
I created an issue also on the api-console repo to make the developers aware that this needs to be fixed https://github.com/mulesoft/api-console/issues/223
I am having difficulties running the Java Parser.
Here is my simple Java useage:
Raml baseRaml = new RamlDocumentBuilder().build("/backup/base.raml");
And here is the error I receive:
I notice that if I remove any lines beginning with / (whack), the file does not error out. I am using the simple RAML example from Gtihub to test. Content are here:
Again, if I remove everything beginning with /, the file is processed without error.
I am using 0.8.12 via maven:
Aha! Link: https://mulesoft-roadmap.aha.io/features/APIRAML-138