Skip to content

Commit 52542c3

Browse files
committed
there's where I need to add the name prefix
1 parent c41cce0 commit 52542c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/JSONAPISwiftGen/Swift Generators/StructureSwiftGen.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public struct StructureSwiftGen: JSONSchemaSwiftGenerator {
102102
}
103103

104104
let poly = Typealias(
105-
alias: .def(.init(name: name)),
105+
alias: .def(.init(name: "Poly\(name)")),
106106
existingType: .def(
107107
.init(
108108
name: "Poly\(dependencies.count)",

0 commit comments

Comments
 (0)