diff --git a/Package.swift b/Package.swift index 87a3e1a1..5540ecba 100644 --- a/Package.swift +++ b/Package.swift @@ -17,7 +17,7 @@ import PackageDescription let package = Package( name: "swift-openapi-generator", platforms: [ - .macOS(.v13) + .macOS(.v10_15) ], products: [ .executable(name: "swift-openapi-generator", targets: ["swift-openapi-generator"]), @@ -61,7 +61,7 @@ let package = Package( ), // Tests-only: Runtime library linked by generated code - .package(url: "https://github.com/apple/swift-openapi-runtime", .upToNextMinor(from: "0.1.1")), + .package(url: "https://github.com/apple/swift-openapi-runtime", .upToNextMinor(from: "0.1.3")), // Build and preview docs .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"), diff --git a/README.md b/README.md index 7aa0c5da..a551741c 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ The generated code, runtime library, and transports are supported on more platfo | Component | macOS | Linux | iOS | tvOS | watchOS | | -: | :-: | :-: | :-: | :-: | :-: | | Generator plugin and CLI | ✅ 13+ | ✅ | ❌ | ❌ | ❌ | -| Generated code, runtime, transports | ✅ 13+ | ✅ | ✅ 16+ | ✅ 16+ | ✅ 9+ | +| Generated code, runtime, transports | ✅ 10.15+ | ✅ | ✅ 13+ | ✅ 13+ | ✅ 6+ | ## Documentation diff --git a/Sources/swift-openapi-generator/Documentation.docc/Swift-OpenAPI-Generator.md b/Sources/swift-openapi-generator/Documentation.docc/Swift-OpenAPI-Generator.md index 58b59229..5e755e78 100644 --- a/Sources/swift-openapi-generator/Documentation.docc/Swift-OpenAPI-Generator.md +++ b/Sources/swift-openapi-generator/Documentation.docc/Swift-OpenAPI-Generator.md @@ -53,7 +53,7 @@ The generated code, runtime library, and transports are supported on more platfo | Component | macOS | Linux | iOS | tvOS | watchOS | | -: | :-: | :-: | :-: | :-: | :-: | | Generator plugin and CLI | ✅ 13+ | ✅ | ❌ | ❌ | ❌ | -| Generated code, runtime, transports | ✅ 13+ | ✅ | ✅ 16+ | ✅ 16+ | ✅ 9+ | +| Generated code, runtime, transports | ✅ 10.15+ | ✅ | ✅ 13+ | ✅ 13+ | ✅ 6+ | ## Topics diff --git a/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/client.Package.1.swift b/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/client.Package.1.swift index 06224293..312a49ea 100644 --- a/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/client.Package.1.swift +++ b/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/client.Package.1.swift @@ -4,7 +4,7 @@ import PackageDescription let package = Package( name: "GreetingServiceClient", platforms: [ - .macOS(.v13), .iOS(.v16), .tvOS(.v16), .watchOS(.v9), + .macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6), ], targets: [ .executableTarget( diff --git a/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/client.Package.2.swift b/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/client.Package.2.swift index 845d222e..27a565ca 100644 --- a/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/client.Package.2.swift +++ b/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/client.Package.2.swift @@ -4,7 +4,7 @@ import PackageDescription let package = Package( name: "GreetingServiceClient", platforms: [ - .macOS(.v13), .iOS(.v16), .tvOS(.v16), .watchOS(.v9), + .macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6), ], dependencies: [ .package(url: "https://github.com/apple/swift-openapi-generator", .upToNextMinor(from: "0.1.0")), diff --git a/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/client.Package.3.swift b/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/client.Package.3.swift index 58f157e3..ba0a72e5 100644 --- a/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/client.Package.3.swift +++ b/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/client.Package.3.swift @@ -4,7 +4,7 @@ import PackageDescription let package = Package( name: "GreetingServiceClient", platforms: [ - .macOS(.v13), .iOS(.v16), .tvOS(.v16), .watchOS(.v9), + .macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6), ], dependencies: [ .package(url: "https://github.com/apple/swift-openapi-generator", .upToNextMinor(from: "0.1.0")), diff --git a/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/client.Package.4.swift b/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/client.Package.4.swift index cd88edcf..8590e352 100644 --- a/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/client.Package.4.swift +++ b/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/client.Package.4.swift @@ -4,7 +4,7 @@ import PackageDescription let package = Package( name: "GreetingServiceClient", platforms: [ - .macOS(.v13), .iOS(.v16), .tvOS(.v16), .watchOS(.v9), + .macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6), ], dependencies: [ .package(url: "https://github.com/apple/swift-openapi-generator", .upToNextMinor(from: "0.1.0")), diff --git a/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/client.Package.5.swift b/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/client.Package.5.swift index cd88edcf..8590e352 100644 --- a/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/client.Package.5.swift +++ b/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/client.Package.5.swift @@ -4,7 +4,7 @@ import PackageDescription let package = Package( name: "GreetingServiceClient", platforms: [ - .macOS(.v13), .iOS(.v16), .tvOS(.v16), .watchOS(.v9), + .macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6), ], dependencies: [ .package(url: "https://github.com/apple/swift-openapi-generator", .upToNextMinor(from: "0.1.0")), diff --git a/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/server.Package.1.swift b/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/server.Package.1.swift index e7ba903b..6b677066 100644 --- a/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/server.Package.1.swift +++ b/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/server.Package.1.swift @@ -4,7 +4,7 @@ import PackageDescription let package = Package( name: "GreetingService", platforms: [ - .macOS(.v13) + .macOS(.v10_15) ], targets: [ .executableTarget( diff --git a/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/server.Package.2.swift b/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/server.Package.2.swift index 510dff9b..862ff334 100644 --- a/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/server.Package.2.swift +++ b/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/server.Package.2.swift @@ -4,7 +4,7 @@ import PackageDescription let package = Package( name: "GreetingService", platforms: [ - .macOS(.v13) + .macOS(.v10_15) ], dependencies: [ .package(url: "https://github.com/apple/swift-openapi-generator", .upToNextMinor(from: "0.1.0")), diff --git a/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/server.Package.3.swift b/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/server.Package.3.swift index 9d02603d..20c7d280 100644 --- a/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/server.Package.3.swift +++ b/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/server.Package.3.swift @@ -4,7 +4,7 @@ import PackageDescription let package = Package( name: "GreetingService", platforms: [ - .macOS(.v13) + .macOS(.v10_15) ], dependencies: [ .package(url: "https://github.com/apple/swift-openapi-generator", .upToNextMinor(from: "0.1.0")), diff --git a/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/server.Package.4.swift b/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/server.Package.4.swift index 489a75e0..6c5153bc 100644 --- a/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/server.Package.4.swift +++ b/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/server.Package.4.swift @@ -4,7 +4,7 @@ import PackageDescription let package = Package( name: "GreetingService", platforms: [ - .macOS(.v13) + .macOS(.v10_15) ], dependencies: [ .package(url: "https://github.com/apple/swift-openapi-generator", .upToNextMinor(from: "0.1.0")), diff --git a/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/server.Package.5.swift b/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/server.Package.5.swift index 489a75e0..6c5153bc 100644 --- a/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/server.Package.5.swift +++ b/Sources/swift-openapi-generator/Documentation.docc/Tutorials/_Resources/server.Package.5.swift @@ -4,7 +4,7 @@ import PackageDescription let package = Package( name: "GreetingService", platforms: [ - .macOS(.v13) + .macOS(.v10_15) ], dependencies: [ .package(url: "https://github.com/apple/swift-openapi-generator", .upToNextMinor(from: "0.1.0")),