Skip to content

Commit

Permalink
Fixed StackOverflow in OpenAPI generator on 1-1 relations
Browse files Browse the repository at this point in the history
  • Loading branch information
hylkevds committed Jun 13, 2022
1 parent f07d21b commit e5ac0aa
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -441,7 +441,7 @@ private static void addPathsForEntity(OADoc document, int level, Map<String, OAP
String baseName = base + "/" + type.entityName;
OAPath paPath = createPathForEntity(options, baseName, type);
paths.put(baseName, paPath);
addPathsForEntity(document, level, paths, baseName, type, options);
addPathsForEntity(document, level + 1, paths, baseName, type, options);
}
}
}
Expand Down

0 comments on commit e5ac0aa

Please sign in to comment.