File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed
Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1414#if canImport(Darwin)
1515import Foundation
1616#else
17- // `@preconcrrency` is for `JSONDecoder`/`JSONEncoder`.
18- @preconcurrency import Foundation
17+ @ preconcurrency import class Foundation . JSONEncoder
18+ @preconcurrency import class Foundation. JSONDecoder
1919#endif
2020
2121/// Converter between generated and HTTP currency types.
Original file line number Diff line number Diff line change 1414#if canImport(Darwin)
1515import Foundation
1616#else
17- @preconcurrency import Foundation
17+ @preconcurrency import class Foundation. NSLock
1818#endif
1919
2020/// A protected-by-locks storage for ``redactedHeaderFields``.
Original file line number Diff line number Diff line change 1414#if canImport(Darwin)
1515import Foundation
1616#else
17- // `@preconcrrency` is for `URL`.
18- @preconcurrency import Foundation
17+ @ preconcurrency import struct Foundation . URL
18+ @preconcurrency import protocol Foundation. LocalizedError
1919#endif
2020
2121/// An error thrown by a client performing an OpenAPI operation.
Original file line number Diff line number Diff line change 1414#if canImport(Darwin)
1515import Foundation
1616#else
17- // `@preconcrrency` is for `Data`/`URLQueryItem`.
18- @preconcurrency import Foundation
17+ @ preconcurrency import struct Foundation . Data
18+ @preconcurrency import struct Foundation. URLQueryItem
1919#endif
2020
2121/// A header field used in an HTTP request or response.
Original file line number Diff line number Diff line change 1414#if canImport(Darwin)
1515import Foundation
1616#else
17- // `@preconcrrency` is for `URL`.
18- @preconcurrency import Foundation
17+ @preconcurrency import struct Foundation. URL
1918#endif
2019
2120/// OpenAPI document-agnostic HTTP client used by OpenAPI document-specific,
Original file line number Diff line number Diff line change 1414#if canImport(Darwin)
1515import Foundation
1616#else
17- @preconcurrency import Foundation
17+ @preconcurrency import struct Foundation. URL
18+ @preconcurrency import struct Foundation. URLComponents
1819#endif
1920
2021/// OpenAPI document-agnostic HTTP server used by OpenAPI document-specific,
You can’t perform that action at this time.
0 commit comments