Skip to content

Commit

Permalink
swagger-api#1248 moved render of parameter model to swagger-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
bodnia committed Jan 6, 2016
1 parent c1931ba commit b9f54cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions swagger-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}


Expand Down
Loading

0 comments on commit b9f54cd

Please sign in to comment.