forked from loafle/openapi-generator-original
* [Swift6] create Swift6 generator * [Swift6] create Swift6 generator * Update vapor integration * Update bitrise stack to Xcode 16 * [Swift6] tryped throws * [Swift6] tryped throws * [Swift6] combine deferred and api static method * [Swift6] update readme * [Swift6] fix some errors * [Swift6] fix some errors * [Swift6] fix some errors * [Swift6] update docs * [Swift6] update docs * Use multiline comments for examples in csharp generator (#19079) * multi * gen * Uncomment File::deleteOnExit (#19624) * [Core/Rust Server] Check references in additionalProperties correctly when checking freeForm status (#19605) * Check references in additionalProperties correctly Handle references in additionalProperties correctly when determining free-form status * Update samples * [Rust Server] Handle arrays in forms (#19625) * [Rust Server] Handle arrays in forms correctly * [Rust Server] Add tests * Update samples * [Swift6] fix CI * [Swift6] fix CI * [Swift6] fix CI * [Swift6] fix CI --------- Co-authored-by: Liri S <reallyliri@gmail.com> Co-authored-by: Beppe Catanese <1771700+gcatanese@users.noreply.github.com> Co-authored-by: Richard Whitehouse <git@richardwhiuk.com> Co-authored-by: William Cheng <wing328hk@gmail.com>
38 lines
1.4 KiB
Swift
38 lines
1.4 KiB
Swift
// swift-tools-version:6.0
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "PetstoreClient",
|
|
platforms: [
|
|
.iOS(.v12),
|
|
.macOS(.v10_13),
|
|
.tvOS(.v12),
|
|
.watchOS(.v4),
|
|
],
|
|
products: [
|
|
// Products define the executables and libraries produced by a package, and make them visible to other packages.
|
|
.library(
|
|
name: "PetstoreClient",
|
|
targets: ["PetstoreClient"]
|
|
),
|
|
],
|
|
dependencies: [
|
|
// Dependencies declare other packages that this package depends on.
|
|
.package(url: "https://github.com/Flight-School/AnyCodable", .upToNextMajor(from: "0.6.7")),
|
|
.package(url: "https://github.com/Alamofire/Alamofire", .upToNextMajor(from: "5.9.1")),
|
|
.package(url: "https://github.com/mxcl/PromiseKit", .upToNextMajor(from: "8.1.2")),
|
|
.package(url: "https://github.com/ReactiveX/RxSwift", .upToNextMajor(from: "6.7.1")),
|
|
],
|
|
targets: [
|
|
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
|
|
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
|
|
.target(
|
|
name: "PetstoreClient",
|
|
dependencies: ["AnyCodable", "Alamofire", "PromiseKit", "RxSwift"],
|
|
path: "PetstoreClient/Classes"
|
|
),
|
|
],
|
|
swiftLanguageModes: [.v6]
|
|
)
|