code: function postFn (req, res, next) {
      var body = req.body;
      var reqPath = req.params[0];
      debug('postFn', 'reqPath', reqPath);
  
      if (body.type === 'folder') {
        mkdirp(path.join(ramlPath, reqPath), function (err) {
          if (err) return next(err);
          res.sendStatus(201);
        });
        return;
      }
  
      fs.writeFile(path.join(ramlPath, reqPath), body.content, function (err) {
        if (err) return next(err);
        res.sendStatus(201);
      });
    }
docs: save/create file