Merge pull request #1970 from bodnia/issue-1949

[1949] fixes rendering fails when supportedSubmitMethods does not contains…
This commit is contained in:
Tony Tam
2016-02-18 08:46:11 -08:00
6 changed files with 9 additions and 7 deletions

4
dist/lang/fr.js vendored
View File

@@ -3,7 +3,7 @@
/* jshint quotmark: double */
window.SwaggerTranslator.learn({
"Warning: Deprecated":"Avertissement : Obsolète",
"Implementation Notes":"Notes d'implementation",
"Implementation Notes":"Notes d'implémentation",
"Response Class":"Classe de la réponse",
"Status":"Statut",
"Parameters":"Paramètres",
@@ -28,7 +28,7 @@ window.SwaggerTranslator.learn({
"Expand Operations":"Développer les opérations",
"Raw":"Brut",
"can't parse JSON. Raw result":"impossible de décoder le JSON. Résultat brut",
"Example Value":"Valeur exemple",
"Example Value":"Exemple la valeur",
"Model Schema":"Définition du modèle",
"Model":"Modèle",
"apply":"appliquer",

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();

File diff suppressed because one or more lines are too long

View File

@@ -82,7 +82,7 @@
.swagger-section pre .vhdl .attribute,
.swagger-section pre .clojure .attribute,
.swagger-section pre .coffeescript .property {
color: #8888ff;
color: #88F;
}
.swagger-section pre .keyword,
.swagger-section pre .id,

View File

@@ -82,7 +82,7 @@
.swagger-section pre .vhdl .attribute,
.swagger-section pre .clojure .attribute,
.swagger-section pre .coffeescript .property {
color: #8888ff;
color: #88F;
}
.swagger-section pre .keyword,
.swagger-section pre .id,

View File

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