Remove External References


Is there a way with existing tooling to remove external references within a RAML spec, so you get a file with all !include directives replaced with their resolved contents?

I wanted to use Postman with RAML, but it cannot handle RAML files with external references. So I’d like to be able to take my canonical spec, replace the !include directives, then feed the result into Postman. If the code to do this already exists somewhere that would be neat.



Postman will handle RAML with external refs soon… it’s in progress now. They are doing a ton of things right now though so it may be a while before it’s supported. I suspect like many projects on here, the goal is to wait for the 1.0 release of RAML before committing major work on support.