File tree 3 files changed +6
-12
lines changed
Tests/OpenAPIGeneratorReferenceTests/Resources/ReferenceSources/Petstore 3 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 1
1
// Generated by swift-openapi-generator, do not modify.
2
2
@_spi ( Generated) import OpenAPIRuntime
3
+ import struct Foundation. Data
4
+ import struct Foundation. Date
3
5
#if os(Linux)
4
6
@preconcurrency import struct Foundation. URL
5
- @preconcurrency import struct Foundation. Data
6
- @preconcurrency import struct Foundation. Date
7
7
#else
8
8
import struct Foundation. URL
9
- import struct Foundation. Data
10
- import struct Foundation. Date
11
9
#endif
12
10
import HTTPTypes
13
11
/// Service for managing pet metadata.
Original file line number Diff line number Diff line change 1
1
// Generated by swift-openapi-generator, do not modify.
2
2
@_spi ( Generated) import OpenAPIRuntime
3
+ import struct Foundation. Data
4
+ import struct Foundation. Date
3
5
#if os(Linux)
4
6
@preconcurrency import struct Foundation. URL
5
- @preconcurrency import struct Foundation. Data
6
- @preconcurrency import struct Foundation. Date
7
7
#else
8
8
import struct Foundation. URL
9
- import struct Foundation. Data
10
- import struct Foundation. Date
11
9
#endif
12
10
import HTTPTypes
13
11
extension APIProtocol {
Original file line number Diff line number Diff line change 1
1
// Generated by swift-openapi-generator, do not modify.
2
2
@_spi ( Generated) import OpenAPIRuntime
3
+ import struct Foundation. Data
4
+ import struct Foundation. Date
3
5
#if os(Linux)
4
6
@preconcurrency import struct Foundation. URL
5
- @preconcurrency import struct Foundation. Data
6
- @preconcurrency import struct Foundation. Date
7
7
#else
8
8
import struct Foundation. URL
9
- import struct Foundation. Data
10
- import struct Foundation. Date
11
9
#endif
12
10
/// A type that performs HTTP operations defined by the OpenAPI document.
13
11
public protocol APIProtocol : Sendable {
You can’t perform that action at this time.
0 commit comments