#1949 fixes rendering fails when supportedSubmitMethods does not contains post or put

This commit is contained in:
Anna Bodnia
2016-02-18 12:59:59 +02:00
parent 7861cf5bab
commit ac89b7e978
6 changed files with 9 additions and 7 deletions

1
dist/swagger-ui.js vendored
View File

@@ -26307,6 +26307,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();