#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
+2 -2
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
}
+1 -1
View File
File diff suppressed because one or more lines are too long
@@ -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
}