Is file-system.js up to date?


Hi again

I am working on getting the designer integrating with my local filesystem, and in that regard having difficulty just getting a static list of mock entries into the file list of the designer. Is the documentation in file-system.js up to date? I am not able to get any results using that, or any variation I could think of.

As far as I can understand, i need to pass an array of entries containing file information, when running, and if I understand the documentation, this should be enough:

var files = [{
   id:      "my.raml",
   name:       "my.raml",
   fullpath:   "/payments-api/my.raml",
   type:       "file"

Can anyone help in what I am missing?