From 4bab15bf438cf0bc198d1c5bab935a6c6e99b90c Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Mon, 6 Oct 2025 01:22:24 +0200 Subject: [PATCH] Added the swift-openapi-generator, swift-openapi-runtime, and swift-openapi-urlsession packages as dependencies in the Package.swift file and also, included them into the library target. --- Package.swift | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 5d98f182b6..c0441a7acd 100644 --- a/Package.swift +++ b/Package.swift @@ -30,12 +30,22 @@ let package = Package( ), ], dependencies: [ + .package(url: "https://github.com/apple/swift-openapi-generator.git", from: "1.3.0"), + .package(url: "https://github.com/apple/swift-openapi-runtime", from: "1.5.0"), + .package(url: "https://github.com/apple/swift-openapi-urlsession", from: "1.0.2"), .package(url: "https://github.com/swiftlang/swift-docc-plugin", from: "1.1.0") ], targets: [ .target( name: AppStoreConnectService.target, - path: "Sources/ASConnectService" + dependencies: [ + .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), + .product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession") + ], + path: "Sources/ASConnectService", + plugins: [ + .plugin(name: "OpenAPIGenerator", package: "swift-openapi-generator") + ] ), .testTarget( name: AppStoreConnectService.test,