#1949 fixes rendering fails when supportedSubmitMethods does not contains post or put
This commit is contained in:
4
dist/lang/fr.js
vendored
4
dist/lang/fr.js
vendored
@@ -3,7 +3,7 @@
|
|||||||
/* jshint quotmark: double */
|
/* jshint quotmark: double */
|
||||||
window.SwaggerTranslator.learn({
|
window.SwaggerTranslator.learn({
|
||||||
"Warning: Deprecated":"Avertissement : Obsolète",
|
"Warning: Deprecated":"Avertissement : Obsolète",
|
||||||
"Implementation Notes":"Notes d'implementation",
|
"Implementation Notes":"Notes d'implémentation",
|
||||||
"Response Class":"Classe de la réponse",
|
"Response Class":"Classe de la réponse",
|
||||||
"Status":"Statut",
|
"Status":"Statut",
|
||||||
"Parameters":"Paramètres",
|
"Parameters":"Paramètres",
|
||||||
@@ -28,7 +28,7 @@ window.SwaggerTranslator.learn({
|
|||||||
"Expand Operations":"Développer les opérations",
|
"Expand Operations":"Développer les opérations",
|
||||||
"Raw":"Brut",
|
"Raw":"Brut",
|
||||||
"can't parse JSON. Raw result":"impossible de décoder le JSON. Résultat 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 Schema":"Définition du modèle",
|
||||||
"Model":"Modèle",
|
"Model":"Modèle",
|
||||||
"apply":"appliquer",
|
"apply":"appliquer",
|
||||||
|
|||||||
1
dist/swagger-ui.js
vendored
1
dist/swagger-ui.js
vendored
@@ -26307,6 +26307,7 @@ SwaggerUi.Views.ParameterView = Backbone.View.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
toggleSnippet: function (type) {
|
toggleSnippet: function (type) {
|
||||||
|
type = type || '';
|
||||||
if (type.indexOf('xml') > -1) {
|
if (type.indexOf('xml') > -1) {
|
||||||
this.$('.snippet_xml').show();
|
this.$('.snippet_xml').show();
|
||||||
this.$('.snippet_json').hide();
|
this.$('.snippet_json').hide();
|
||||||
|
|||||||
6
dist/swagger-ui.min.js
vendored
6
dist/swagger-ui.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -82,7 +82,7 @@
|
|||||||
.swagger-section pre .vhdl .attribute,
|
.swagger-section pre .vhdl .attribute,
|
||||||
.swagger-section pre .clojure .attribute,
|
.swagger-section pre .clojure .attribute,
|
||||||
.swagger-section pre .coffeescript .property {
|
.swagger-section pre .coffeescript .property {
|
||||||
color: #8888ff;
|
color: #88F;
|
||||||
}
|
}
|
||||||
.swagger-section pre .keyword,
|
.swagger-section pre .keyword,
|
||||||
.swagger-section pre .id,
|
.swagger-section pre .id,
|
||||||
|
|||||||
@@ -82,7 +82,7 @@
|
|||||||
.swagger-section pre .vhdl .attribute,
|
.swagger-section pre .vhdl .attribute,
|
||||||
.swagger-section pre .clojure .attribute,
|
.swagger-section pre .clojure .attribute,
|
||||||
.swagger-section pre .coffeescript .property {
|
.swagger-section pre .coffeescript .property {
|
||||||
color: #8888ff;
|
color: #88F;
|
||||||
}
|
}
|
||||||
.swagger-section pre .keyword,
|
.swagger-section pre .keyword,
|
||||||
.swagger-section pre .id,
|
.swagger-section pre .id,
|
||||||
|
|||||||
@@ -154,6 +154,7 @@ SwaggerUi.Views.ParameterView = Backbone.View.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
toggleSnippet: function (type) {
|
toggleSnippet: function (type) {
|
||||||
|
type = type || '';
|
||||||
if (type.indexOf('xml') > -1) {
|
if (type.indexOf('xml') > -1) {
|
||||||
this.$('.snippet_xml').show();
|
this.$('.snippet_xml').show();
|
||||||
this.$('.snippet_json').hide();
|
this.$('.snippet_json').hide();
|
||||||
|
|||||||
Reference in New Issue
Block a user