We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f0976f commit 055e157Copy full SHA for 055e157
1 file changed
modules/openapi-generator/src/main/resources/swift5/api.mustache
@@ -5,10 +5,10 @@
5
// https://openapi-generator.tech
6
//
7
8
-import Foundation{{#usePromiseKit}}
+import Foundation
9
#if canImport(FoundationNetworking)
10
import FoundationNetworking
11
-#endif
+#endif{{#usePromiseKit}}
12
import PromiseKit{{/usePromiseKit}}{{#useRxSwift}}
13
import RxSwift{{/useRxSwift}}{{#useCombine}}
14
#if canImport(Combine)
0 commit comments