Skip to content

Commit 055e157

Browse files
committed
fix: use FoundationNetworking
1 parent 5f0976f commit 055e157

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • modules/openapi-generator/src/main/resources/swift5

modules/openapi-generator/src/main/resources/swift5/api.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
// https://openapi-generator.tech
66
//
77

8-
import Foundation{{#usePromiseKit}}
8+
import Foundation
99
#if canImport(FoundationNetworking)
1010
import FoundationNetworking
11-
#endif
11+
#endif{{#usePromiseKit}}
1212
import PromiseKit{{/usePromiseKit}}{{#useRxSwift}}
1313
import RxSwift{{/useRxSwift}}{{#useCombine}}
1414
#if canImport(Combine)

0 commit comments

Comments
 (0)