re-enabled notes
This commit is contained in:
5
dist/lib/swagger.js
vendored
5
dist/lib/swagger.js
vendored
@@ -204,7 +204,7 @@
|
|||||||
_results = [];
|
_results = [];
|
||||||
for (_i = 0, _len = ops.length; _i < _len; _i++) {
|
for (_i = 0, _len = ops.length; _i < _len; _i++) {
|
||||||
o = ops[_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;
|
this.operations[op.nickname] = op;
|
||||||
_results.push(this.operationsArray.push(op));
|
_results.push(this.operationsArray.push(op));
|
||||||
}
|
}
|
||||||
@@ -233,7 +233,7 @@
|
|||||||
|
|
||||||
SwaggerOperation = (function() {
|
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,
|
var parameter, v, _i, _j, _len, _len1, _ref, _ref1,
|
||||||
_this = this;
|
_this = this;
|
||||||
this.nickname = nickname;
|
this.nickname = nickname;
|
||||||
@@ -241,6 +241,7 @@
|
|||||||
this.httpMethod = httpMethod;
|
this.httpMethod = httpMethod;
|
||||||
this.parameters = parameters != null ? parameters : [];
|
this.parameters = parameters != null ? parameters : [];
|
||||||
this.summary = summary;
|
this.summary = summary;
|
||||||
|
this.notes = notes;
|
||||||
this.resource = resource;
|
this.resource = resource;
|
||||||
this["do"] = __bind(this["do"], this);
|
this["do"] = __bind(this["do"], this);
|
||||||
|
|
||||||
|
|||||||
@@ -204,7 +204,7 @@
|
|||||||
_results = [];
|
_results = [];
|
||||||
for (_i = 0, _len = ops.length; _i < _len; _i++) {
|
for (_i = 0, _len = ops.length; _i < _len; _i++) {
|
||||||
o = ops[_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;
|
this.operations[op.nickname] = op;
|
||||||
_results.push(this.operationsArray.push(op));
|
_results.push(this.operationsArray.push(op));
|
||||||
}
|
}
|
||||||
@@ -233,7 +233,7 @@
|
|||||||
|
|
||||||
SwaggerOperation = (function() {
|
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,
|
var parameter, v, _i, _j, _len, _len1, _ref, _ref1,
|
||||||
_this = this;
|
_this = this;
|
||||||
this.nickname = nickname;
|
this.nickname = nickname;
|
||||||
@@ -241,6 +241,7 @@
|
|||||||
this.httpMethod = httpMethod;
|
this.httpMethod = httpMethod;
|
||||||
this.parameters = parameters != null ? parameters : [];
|
this.parameters = parameters != null ? parameters : [];
|
||||||
this.summary = summary;
|
this.summary = summary;
|
||||||
|
this.notes = notes;
|
||||||
this.resource = resource;
|
this.resource = resource;
|
||||||
this["do"] = __bind(this["do"], this);
|
this["do"] = __bind(this["do"], this);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user