commit | c99d430746a7b8b06770147585e282c81fc2c327 | [log] [tgz] |
---|---|---|
author | Andrea Campanella <andrea@onlab.us> | Thu Apr 21 14:04:26 2016 -0700 |
committer | Andrea Campanella <andrea@onlab.us> | Thu Apr 21 14:04:26 2016 -0700 |
tree | fc0f479369518259377a915243973453b2a13121 | |
parent | 9a108975d735c9cd82a888088f2c6faf968ba1c4 [diff] |
Fixed title field creates empty json objects Change-Id: I1ccecacde9c5538b29ff219279538c8ea98beaa2
diff --git a/web/api/src/main/resources/docs/swagger-ui.js b/web/api/src/main/resources/docs/swagger-ui.js index fee54e4..e66cd5a 100644 --- a/web/api/src/main/resources/docs/swagger-ui.js +++ b/web/api/src/main/resources/docs/swagger-ui.js
@@ -2988,7 +2988,7 @@ if (schema.$ref) { modelName = schema.title || Helpers.simpleRef(schema.$ref); - model = models[modelName]; + model = models[Helpers.simpleRef(schema.$ref)]; } else if (_.isUndefined(name)) { modelName = schema.title || 'Inline Model ' + (++inlineModels); model = {definition: schema};