Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksimOrlov committed Feb 8, 2020
1 parent 6e660f0 commit 018d75b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@ private MergingContext mergeNodes(final Set<String> nodes, final UniqueTypeNameA
final Set<String> currentDependencies = new HashSet<String>();

for (final String modelId : nodes) {
if (adapter.getTypeName(modelId).isPresent()) {
continue;
}

if (!mergingContext.hasSeenBefore(modelId)) {
Set<ComparisonCondition> newDependencies = mergeModelBranch(adapter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ class ApiModelReaderSpec extends DocumentationContextSpec {

}

def "Test to verify that recursive type holder doesn't generate spare models"() {
def "Test to verify that type holder doesn't generate spare models"() {
given:
HandlerMethod handlerMethod =
dummyHandlerMethod('methodToTestSpareModelsWithKnownTypes', Foo, Holder)
Expand Down

0 comments on commit 018d75b

Please sign in to comment.