#1248 moved render of parameter model to swagger-ui

This commit is contained in:
Anna Bodnia
2016-01-06 15:50:40 +02:00
parent ba5b89a0cf
commit 4205cb83b0
3 changed files with 5 additions and 5 deletions

4
dist/swagger-ui.js vendored
View File

@@ -26776,9 +26776,9 @@ SwaggerUi.partials.jsonSignature = (function () {
innerType = listType ? type[0] : type;
if(models[innerType]) {
sampleJson = models[innerType].createJSONSample();
sampleJson = createJSONSample(models[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
}

File diff suppressed because one or more lines are too long

View File

@@ -612,9 +612,9 @@ SwaggerUi.partials.jsonSignature = (function () {
innerType = listType ? type[0] : type;
if(models[innerType]) {
sampleJson = models[innerType].createJSONSample();
sampleJson = createJSONSample(models[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
}