raml-server
raml-server copied to clipboard
Limitation with single RAML file
Do you have intention of solving the single file limitation of the Raml-Server? Also it will be better if implemented as a module.
Hi @alleypa ! Yes, we are solving those two issues for the next release, which is soon. As a module it would look like
var ramlServer = require('raml-server');
ramlServer.run('myAPI.raml').then( function(data) {
console.log(data);
}, function(error) {
console.log('Error: ' + error);
});
@farolfo
hope you are good? Any update to the reply of my posted issue on the 27th Nov 2015.
cheers
Hello @alleypa, the issue is not yet solved as I'm the only contributor of the project and I'm focused on other projects right now. Thanks for the interest and I'll try to get it done as soon as I can. Also I strongly encourage and appreciate PRs if you'd like :)
@alleypa what did you mean by single file?
Did you want to load several non-related raml files to make several APIs, or to load single raml representing one API, but with !include
tags to related raml files?