#1925 Fixed "title" field creates empty json objects
This commit is contained in:
2
dist/css/print.css
vendored
2
dist/css/print.css
vendored
@@ -82,7 +82,7 @@
|
|||||||
.swagger-section pre .vhdl .attribute,
|
.swagger-section pre .vhdl .attribute,
|
||||||
.swagger-section pre .clojure .attribute,
|
.swagger-section pre .clojure .attribute,
|
||||||
.swagger-section pre .coffeescript .property {
|
.swagger-section pre .coffeescript .property {
|
||||||
color: #8888ff;
|
color: #88F;
|
||||||
}
|
}
|
||||||
.swagger-section pre .keyword,
|
.swagger-section pre .keyword,
|
||||||
.swagger-section pre .id,
|
.swagger-section pre .id,
|
||||||
|
|||||||
2
dist/css/screen.css
vendored
2
dist/css/screen.css
vendored
@@ -82,7 +82,7 @@
|
|||||||
.swagger-section pre .vhdl .attribute,
|
.swagger-section pre .vhdl .attribute,
|
||||||
.swagger-section pre .clojure .attribute,
|
.swagger-section pre .clojure .attribute,
|
||||||
.swagger-section pre .coffeescript .property {
|
.swagger-section pre .coffeescript .property {
|
||||||
color: #8888ff;
|
color: #88F;
|
||||||
}
|
}
|
||||||
.swagger-section pre .keyword,
|
.swagger-section pre .keyword,
|
||||||
.swagger-section pre .id,
|
.swagger-section pre .id,
|
||||||
|
|||||||
2
dist/swagger-ui.js
vendored
2
dist/swagger-ui.js
vendored
@@ -26522,7 +26522,7 @@ SwaggerUi.partials.signature = (function () {
|
|||||||
|
|
||||||
if (schema.$ref) {
|
if (schema.$ref) {
|
||||||
modelName = schema.title || simpleRef(schema.$ref);
|
modelName = schema.title || simpleRef(schema.$ref);
|
||||||
model = models[modelName];
|
model = models[simpleRef(schema.$ref)];
|
||||||
} else if (_.isUndefined(name)) {
|
} else if (_.isUndefined(name)) {
|
||||||
modelName = schema.title || 'Inline Model ' + (++inlineModels);
|
modelName = schema.title || 'Inline Model ' + (++inlineModels);
|
||||||
model = {definition: schema};
|
model = {definition: schema};
|
||||||
|
|||||||
6
dist/swagger-ui.min.js
vendored
6
dist/swagger-ui.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -82,7 +82,7 @@
|
|||||||
.swagger-section pre .vhdl .attribute,
|
.swagger-section pre .vhdl .attribute,
|
||||||
.swagger-section pre .clojure .attribute,
|
.swagger-section pre .clojure .attribute,
|
||||||
.swagger-section pre .coffeescript .property {
|
.swagger-section pre .coffeescript .property {
|
||||||
color: #8888ff;
|
color: #88F;
|
||||||
}
|
}
|
||||||
.swagger-section pre .keyword,
|
.swagger-section pre .keyword,
|
||||||
.swagger-section pre .id,
|
.swagger-section pre .id,
|
||||||
|
|||||||
@@ -82,7 +82,7 @@
|
|||||||
.swagger-section pre .vhdl .attribute,
|
.swagger-section pre .vhdl .attribute,
|
||||||
.swagger-section pre .clojure .attribute,
|
.swagger-section pre .clojure .attribute,
|
||||||
.swagger-section pre .coffeescript .property {
|
.swagger-section pre .coffeescript .property {
|
||||||
color: #8888ff;
|
color: #88F;
|
||||||
}
|
}
|
||||||
.swagger-section pre .keyword,
|
.swagger-section pre .keyword,
|
||||||
.swagger-section pre .id,
|
.swagger-section pre .id,
|
||||||
|
|||||||
@@ -195,7 +195,7 @@ SwaggerUi.partials.signature = (function () {
|
|||||||
|
|
||||||
if (schema.$ref) {
|
if (schema.$ref) {
|
||||||
modelName = schema.title || simpleRef(schema.$ref);
|
modelName = schema.title || simpleRef(schema.$ref);
|
||||||
model = models[modelName];
|
model = models[simpleRef(schema.$ref)];
|
||||||
} else if (_.isUndefined(name)) {
|
} else if (_.isUndefined(name)) {
|
||||||
modelName = schema.title || 'Inline Model ' + (++inlineModels);
|
modelName = schema.title || 'Inline Model ' + (++inlineModels);
|
||||||
model = {definition: schema};
|
model = {definition: schema};
|
||||||
|
|||||||
Reference in New Issue
Block a user