-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathPackage.swift
39 lines (37 loc) · 1.11 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// swift-tools-version:5.8
import PackageDescription
let package = Package(
name: "VaporOpenAPI",
platforms: [
.macOS(.v12)
],
products: [
.library(
name: "VaporOpenAPI",
targets: ["VaporOpenAPI"]),
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", from: "4.86.0"),
.package(url: "https://github.com/mattpolzin/VaporTypedRoutes.git", from: "0.10.0"),
.package(url: "https://github.com/mattpolzin/OpenAPIKit.git", from: "3.0.0"),
.package(url: "https://github.com/mattpolzin/OpenAPIReflection.git", from: "2.0.0")
],
targets: [
.target(
name: "VaporOpenAPI",
dependencies: [
.product(name: "Vapor", package: "vapor"),
"VaporTypedRoutes",
"OpenAPIKit",
"OpenAPIReflection"
]
),
.testTarget(
name: "VaporOpenAPITests",
dependencies: [
"VaporOpenAPI",
.product(name: "XCTVapor", package: "vapor")
]
),
]
)