Skip to content

Commit 1128187

Browse files
committed
Fix calculation of operation "number" property
1 parent e72e8f7 commit 1128187

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/javascript/view/ResourceView.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ SwaggerUi.Views.ResourceView = Backbone.View.extend({
1111
if (this.model.description) {
1212
this.model.summary = this.model.description;
1313
}
14+
this.number = 0;
1415
},
1516

1617
render: function(){
@@ -70,4 +71,4 @@ SwaggerUi.Views.ResourceView = Backbone.View.extend({
7071
e.preventDefault();
7172
Docs[fnName](e.currentTarget.getAttribute('data-id'));
7273
}
73-
});
74+
});

0 commit comments

Comments
 (0)