Fix calculation of operation "number" property
This commit is contained in:
@@ -11,6 +11,7 @@ SwaggerUi.Views.ResourceView = Backbone.View.extend({
|
||||
if (this.model.description) {
|
||||
this.model.summary = this.model.description;
|
||||
}
|
||||
this.number = 0;
|
||||
},
|
||||
|
||||
render: function(){
|
||||
@@ -70,4 +71,4 @@ SwaggerUi.Views.ResourceView = Backbone.View.extend({
|
||||
e.preventDefault();
|
||||
Docs[fnName](e.currentTarget.getAttribute('data-id'));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user