Цей веб-сайт працює краще з JavaScript.
Головна
Огляд
Довідка
Увійти
bubblev
/
swagger-ui
Слідкувати
4
В обрані
0
Форк
0
Код
Проблеми
0
Запити на злиття
0
Релізи
0
Вікі
Активність
Переглянути джерело
Commenting getName function as names are now determined beforehand and the prefix part is exposed as a separate function
bubble
Ritesh Garg
7 роки тому
джерело
af068f787a
коміт
d9e14e1e7d
1 змінених файлів
з
3 додано
та
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 || '';
Писати
Попередній перегляд
Завантаження…
Відмінити
Зберегти