#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
+1 -1
View File
@@ -82,7 +82,7 @@
.swagger-section pre .vhdl .attribute,
.swagger-section pre .clojure .attribute,
.swagger-section pre .coffeescript .property {
color: #8888ff;
color: #88F;
}
.swagger-section pre .keyword,
.swagger-section pre .id,
+1 -1
View File
@@ -82,7 +82,7 @@
.swagger-section pre .vhdl .attribute,
.swagger-section pre .clojure .attribute,
.swagger-section pre .coffeescript .property {
color: #8888ff;
color: #88F;
}
.swagger-section pre .keyword,
.swagger-section pre .id,
+1 -1
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};
+3 -3
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -82,7 +82,7 @@
.swagger-section pre .vhdl .attribute,
.swagger-section pre .clojure .attribute,
.swagger-section pre .coffeescript .property {
color: #8888ff;
color: #88F;
}
.swagger-section pre .keyword,
.swagger-section pre .id,
+1 -1
View File
@@ -82,7 +82,7 @@
.swagger-section pre .vhdl .attribute,
.swagger-section pre .clojure .attribute,
.swagger-section pre .coffeescript .property {
color: #8888ff;
color: #88F;
}
.swagger-section pre .keyword,
.swagger-section pre .id,
@@ -195,7 +195,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};