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

This commit is contained in:
Ritesh Garg
2016-12-23 12:16:12 -05:00
parent af068f787a
commit d9e14e1e7d

View File

@@ -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 || '';