#1925 Fixed "title" field creates empty json objects

This commit is contained in:
Anna Bodnia
2016-01-29 16:47:29 +02:00
parent f9ab874e7b
commit a0a074bc30
7 changed files with 9 additions and 9 deletions

2
dist/swagger-ui.js vendored
View File

@@ -26522,7 +26522,7 @@ SwaggerUi.partials.signature = (function () {
if (schema.$ref) {
modelName = schema.title || simpleRef(schema.$ref);
model = models[modelName];
model = models[simpleRef(schema.$ref)];
} else if (_.isUndefined(name)) {
modelName = schema.title || 'Inline Model ' + (++inlineModels);
model = {definition: schema};