Skip to content

Commit 614a535

Browse files
committed
fix tests?
1 parent 473f4e2 commit 614a535

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

Tests/OpenAPIGeneratorReferenceTests/Resources/ReferenceSources/Petstore/Client.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
// Generated by swift-openapi-generator, do not modify.
22
@_spi(Generated) import OpenAPIRuntime
3+
import struct Foundation.Data
4+
import struct Foundation.Date
35
#if os(Linux)
46
@preconcurrency import struct Foundation.URL
5-
@preconcurrency import struct Foundation.Data
6-
@preconcurrency import struct Foundation.Date
77
#else
88
import struct Foundation.URL
9-
import struct Foundation.Data
10-
import struct Foundation.Date
119
#endif
1210
import HTTPTypes
1311
/// Service for managing pet metadata.

Tests/OpenAPIGeneratorReferenceTests/Resources/ReferenceSources/Petstore/Server.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
// Generated by swift-openapi-generator, do not modify.
22
@_spi(Generated) import OpenAPIRuntime
3+
import struct Foundation.Data
4+
import struct Foundation.Date
35
#if os(Linux)
46
@preconcurrency import struct Foundation.URL
5-
@preconcurrency import struct Foundation.Data
6-
@preconcurrency import struct Foundation.Date
77
#else
88
import struct Foundation.URL
9-
import struct Foundation.Data
10-
import struct Foundation.Date
119
#endif
1210
import HTTPTypes
1311
extension APIProtocol {

Tests/OpenAPIGeneratorReferenceTests/Resources/ReferenceSources/Petstore/Types.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
// Generated by swift-openapi-generator, do not modify.
22
@_spi(Generated) import OpenAPIRuntime
3+
import struct Foundation.Data
4+
import struct Foundation.Date
35
#if os(Linux)
46
@preconcurrency import struct Foundation.URL
5-
@preconcurrency import struct Foundation.Data
6-
@preconcurrency import struct Foundation.Date
77
#else
88
import struct Foundation.URL
9-
import struct Foundation.Data
10-
import struct Foundation.Date
119
#endif
1210
/// A type that performs HTTP operations defined by the OpenAPI document.
1311
public protocol APIProtocol: Sendable {

0 commit comments

Comments
 (0)