export var buildResponseTree = responses => {
  var tree = {};
  Object.values(responses).forEach(response => {
    var node = "".concat(response.statusCode, ": ").concat(response.description);
    if (!(node in tree)) tree[node] = {};
    tree[node][response.mediaType] = response;
  });
  return tree;
};
//# sourceMappingURL=utils.js.map