Skip to content

Commit

Permalink
[swagger-api#2167] fix xml generation break condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Oskar Jauch committed May 20, 2016
1 parent aafca0f commit 92e129a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/javascript/view/partials/signature.js
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ SwaggerUi.partials.signature = (function () {
output = createPrimitiveXML(descriptor);
}

if ($ref) {
if ($ref && descriptor.type !== 'loop') {
index = config.modelsToIgnore.indexOf($ref);
if (index > -1) {
config.modelsToIgnore.splice(index, 1);
Expand Down

0 comments on commit 92e129a

Please sign in to comment.