|
|
@@ -204,7 +204,7 @@ |
|
|
|
_results = []; |
|
|
|
for (_i = 0, _len = ops.length; _i < _len; _i++) { |
|
|
|
o = ops[_i]; |
|
|
|
op = new SwaggerOperation(o.nickname, resource_path, o.httpMethod, o.parameters, o.summary, this); |
|
|
|
op = new SwaggerOperation(o.nickname, resource_path, o.httpMethod, o.parameters, o.summary, o.notes, this); |
|
|
|
this.operations[op.nickname] = op; |
|
|
|
_results.push(this.operationsArray.push(op)); |
|
|
|
} |
|
|
@@ -233,7 +233,7 @@ |
|
|
|
|
|
|
|
SwaggerOperation = (function() { |
|
|
|
|
|
|
|
function SwaggerOperation(nickname, path, httpMethod, parameters, summary, resource) { |
|
|
|
function SwaggerOperation(nickname, path, httpMethod, parameters, summary, notes, resource) { |
|
|
|
var parameter, v, _i, _j, _len, _len1, _ref, _ref1, |
|
|
|
_this = this; |
|
|
|
this.nickname = nickname; |
|
|
@@ -241,6 +241,7 @@ |
|
|
|
this.httpMethod = httpMethod; |
|
|
|
this.parameters = parameters != null ? parameters : []; |
|
|
|
this.summary = summary; |
|
|
|
this.notes = notes; |
|
|
|
this.resource = resource; |
|
|
|
this["do"] = __bind(this["do"], this); |
|
|
|
|
|
|
|