This commit is contained in:
Anna Bodnia
2016-02-22 17:46:18 +02:00
parent ed7c7261be
commit 57498de570
3 changed files with 36 additions and 1 deletions

1
dist/swagger-ui.js vendored
View File

@@ -26331,6 +26331,7 @@ SwaggerUi.Views.ParameterView = Backbone.View.extend({
},
toggleSnippet: function (type) {
type = type || '';
if (type.indexOf('xml') > -1) {
this.$('.snippet_xml').show();
this.$('.snippet_json').hide();