-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] RAML support #968
Comments
I am 20000% henind this... Lets GO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
To explain more.. Revel is a little baby, and now that the the olde condif format has a few issues.. And the nightmare of "configs" for local, dev, p prod.. et all.. So I propose we look at this hard. Search for issues of Routing and Config.. SOO................. Recently I see RAML, and indeed it sings from my song sheet.. With include files , and externals and all.. Love the idea.. I think we should implement this asap.. |
RAML is "RESTful API Modeling", but I guess very small extension to the format could make it useful for routing. I'm no RAML expert though, it may be possible right now. Asking here: http://forums.raml.org/ would probably help. |
Snag we got is that the "routing in is in .. line format".. But it worked on some platform which was the start.. Maybe we create a config-crash-mash repos..... Its a pinin the ass for me having to kinds manage 3 sets of same I am well into a machine readable format.. that works..
Even redirects in Yamls and a loader for redirect would be cooll.. On 27 August 2015 at 23:11, Jan Olszak notifications@github.com wrote:
|
Just a quick comment -- I've been working with RAML for quite a while now and it's been pretty awesome. There's ever growing support for the spec and I see more and more tools using it every day. There's a number of RAML projects that are doing the same extraction and Server/Client skeleton generation from RAML definitions. An additional benefit is that, when you are defining your input and output using JSONSchema which RAML fully supports, you could also auto generate the validation code for every endpoint. Here's an example of that that I hacked together one afternoon for a talk: https://github.com/gtrevg/golang-rest-raml-validation . This takes advantage of the fact you can !include json schemas and examples. Again, so far, using RAML has been pretty awesome. It would be great to have a skeleton framework generated from a RAML spec. That will speed up development tremendously. Additionally, all your documentation will be up to date. Thanks |
RAML looks interesting. I'm all about industry standards that can be supported by many tools. We'll have to prioritize this for release, but there are many other features in front of this. |
This might be usefull after they move to RAML 1.0 |
Closed, targeted cmd branch revel/cmd#73 |
RAML (http://raml.org/) - Restful API Modeling Language.
It would be awesome if Revel could extract the API definition from RAML files. It could use it during the project creation or maybe even somehow instead of routes?
The text was updated successfully, but these errors were encountered: