Skip to content

Commit

Permalink
fix: render references correctly for complete api files, fixes #198
Browse files Browse the repository at this point in the history
  • Loading branch information
lbovet committed Jul 1, 2022
1 parent 6cae64e commit 81ebca5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/deps/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ $ = function (f) {
if (models.length > 0) {
return generateSchema(models);
} else {
for (var def in spec.definitions) {
processRefs(spec.definitions[def]);
}
return null;
}
}).then(function(schema) {
Expand Down

0 comments on commit 81ebca5

Please sign in to comment.