switched to snippet view #491
This commit is contained in:
2
dist/swagger-ui.js
vendored
2
dist/swagger-ui.js
vendored
@@ -2139,7 +2139,7 @@ helpers = this.merge(helpers, Handlebars.helpers); data = data || {};
|
|||||||
var template;
|
var template;
|
||||||
template = this.template();
|
template = this.template();
|
||||||
$(this.el).html(template(this.model));
|
$(this.el).html(template(this.model));
|
||||||
this.switchToDescription();
|
this.switchToSnippet();
|
||||||
this.isParam = this.model.isParam;
|
this.isParam = this.model.isParam;
|
||||||
if (this.isParam) {
|
if (this.isParam) {
|
||||||
$('.notice', $(this.el)).text('Click to set as parameter value');
|
$('.notice', $(this.el)).text('Click to set as parameter value');
|
||||||
|
|||||||
2
dist/swagger-ui.min.js
vendored
2
dist/swagger-ui.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -11,7 +11,7 @@ class SignatureView extends Backbone.View
|
|||||||
template = @template()
|
template = @template()
|
||||||
$(@el).html(template(@model))
|
$(@el).html(template(@model))
|
||||||
|
|
||||||
@switchToDescription()
|
@switchToSnippet()
|
||||||
|
|
||||||
@isParam = @model.isParam
|
@isParam = @model.isParam
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user