raml-server icon indicating copy to clipboard operation
raml-server copied to clipboard

Limitation with single RAML file

Open alleypa opened this issue 9 years ago • 4 comments

Do you have intention of solving the single file limitation of the Raml-Server? Also it will be better if implemented as a module.

alleypa avatar Nov 27 '15 10:11 alleypa

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 avatar Nov 30 '15 05:11 farolfo

@farolfo

hope you are good? Any update to the reply of my posted issue on the 27th Nov 2015.

cheers

alleypa avatar Feb 24 '16 07:02 alleypa

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 :)

farolfo avatar Feb 25 '16 00:02 farolfo

@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?

alvassin avatar Apr 26 '16 19:04 alvassin