#1248 moved render of parameter model to swagger-ui
This commit is contained in:
4
dist/swagger-ui.js
vendored
4
dist/swagger-ui.js
vendored
@@ -26776,9 +26776,9 @@ SwaggerUi.partials.jsonSignature = (function () {
|
|||||||
innerType = listType ? type[0] : type;
|
innerType = listType ? type[0] : type;
|
||||||
|
|
||||||
if(models[innerType]) {
|
if(models[innerType]) {
|
||||||
sampleJson = models[innerType].createJSONSample();
|
sampleJson = createJSONSample(models[innerType]);
|
||||||
} else if (getInlineModel(innerType)){
|
} else if (getInlineModel(innerType)){
|
||||||
sampleJson = getInlineModel(innerType).createJSONSample(); // may return null, if type isn't correct
|
sampleJson = createJSONSample(getInlineModel(innerType)); // may return null, if type isn't correct
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
2
dist/swagger-ui.min.js
vendored
2
dist/swagger-ui.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -612,9 +612,9 @@ SwaggerUi.partials.jsonSignature = (function () {
|
|||||||
innerType = listType ? type[0] : type;
|
innerType = listType ? type[0] : type;
|
||||||
|
|
||||||
if(models[innerType]) {
|
if(models[innerType]) {
|
||||||
sampleJson = models[innerType].createJSONSample();
|
sampleJson = createJSONSample(models[innerType]);
|
||||||
} else if (getInlineModel(innerType)){
|
} else if (getInlineModel(innerType)){
|
||||||
sampleJson = getInlineModel(innerType).createJSONSample(); // may return null, if type isn't correct
|
sampleJson = createJSONSample(getInlineModel(innerType)); // may return null, if type isn't correct
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user