Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add Support for RAML 1.0 #1
pushed a commit
Jun 10, 2016
The biggest issue is the lack of support for 1.0 in the current raml parser. Last I checked the 1.0 parser uses a vastly different internal structure. The idea would be to upgrade parser first leaving support for 0.8 and then add in the new features from 1.0
I analyzed the dependencies to org.raml (java-raml-parser) in springmvc-raml-plugin.
So here's my approach:
I'd decouple the
For additional raml 1.0 features we can use extensions to the generic interfaces.
I'm about to push an example of how this refactoring might look like.
What do you think?
I started implementing an abstraction layer for the raml.model stuff so that we can adapt different raml parsers.
This should be a real refactoring, so I provided implementations for those interfaces based on the current raml-java-parser (v1 for Raml Spec v0.8).
So as a next step towards a proof of concept I started to provide an implementation for the model interfaces (RamlRoot, RamlResource, RamlAction ...) for java-raml-parser (v2 for Raml Spec v0.8).
It seems that the new version does not support the serialization of the model as .raml file...
I raised an issue at raml-java-parser project (raml-org/raml-java-parser#159).
pushed a commit
Mar 2, 2017
Hi Alexander, Iam a java architect and developer. I am very much interested in contributing and enhancing this plugin. Where can I start? Thank you, Raj…
On Thu, Aug 31, 2017 at 9:29 AM Aleksandar Stojsavljevic < ***@***.***> wrote: @champagne <https://github.com/champagne> Thank you for your interest. Can you please take a look at #154 <#154>? Thanks again! — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AHicZP9OWc8GYLrEp1LdELd0L6R3CcKnks5sdrVUgaJpZM4GzkaJ> .
I was wondering if any of these two projects could be of a use to you:
This project allows you to build a RAML model by hand with some validation.
This emits a RAML model.
I'm using them in my raml-for-jaxrs project. There is still some work to do on them, but I have more work done than to do.