Переглянути джерело

Commenting getName function as names are now determined beforehand and the prefix part is exposed as a separate function

bubble
Ritesh Garg 7 роки тому
джерело
коміт
d9e14e1e7d
1 змінених файлів з 3 додано та 1 видалено
  1. +3
    -1
      src/main/javascript/view/partials/signature.js

+ 3
- 1
src/main/javascript/view/partials/signature.js Переглянути файл

@@ -689,7 +689,8 @@ SwaggerUi.partials.signature = (function () {
return str.join('');
};

var getName = function (name, xml) {
// Commenting this funtion as the names are now determined beforehand and the prefix part is exposed as a separate function | https://github.com/swagger-api/swagger-ui/issues/2577
/** var getName = function (name, xml) {
var result = name || '';

xml = xml || {};
@@ -704,6 +705,7 @@ SwaggerUi.partials.signature = (function () {

return result;
};
*/
var getPrefix = function (name, xml) {
var result = name || '';


Завантаження…
Відмінити
Зберегти