[1949]: 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",
|
||||||
|
|||||||
@@ -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