DocC documentation support #4
+7
-27
@@ -26,44 +26,24 @@ let package = Package(
|
|||||||
products: [
|
products: [
|
||||||
.library(
|
.library(
|
||||||
name: AmiiboService.package,
|
name: AmiiboService.package,
|
||||||
targets: [
|
targets: [AmiiboService.target]
|
||||||
AmiiboService.target
|
|
||||||
]
|
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
dependencies: [
|
dependencies: [
|
||||||
.package(
|
.package(url: "https://github.com/apple/swift-openapi-generator.git", from: "1.3.0"),
|
||||||
url: "https://github.com/apple/swift-openapi-generator.git",
|
.package(url: "https://github.com/apple/swift-openapi-runtime", from: "1.5.0"),
|
||||||
from: "1.3.0"
|
.package(url: "https://github.com/apple/swift-openapi-urlsession", from: "1.0.2")
|
||||||
),
|
|
||||||
.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"
|
|
||||||
)
|
|
||||||
],
|
],
|
||||||
targets: [
|
targets: [
|
||||||
.target(
|
.target(
|
||||||
name: AmiiboService.target,
|
name: AmiiboService.target,
|
||||||
dependencies: [
|
dependencies: [
|
||||||
.product(
|
.product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"),
|
||||||
name: "OpenAPIRuntime",
|
.product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession")
|
||||||
package: "swift-openapi-runtime"
|
|
||||||
),
|
|
||||||
.product(
|
|
||||||
name: "OpenAPIURLSession",
|
|
||||||
package: "swift-openapi-urlsession"
|
|
||||||
)
|
|
||||||
],
|
],
|
||||||
path: "Sources",
|
path: "Sources",
|
||||||
plugins: [
|
plugins: [
|
||||||
.plugin(
|
.plugin(name: "OpenAPIGenerator", package: "swift-openapi-generator"),
|
||||||
name: "OpenAPIGenerator",
|
|
||||||
package: "swift-openapi-generator"
|
|
||||||
),
|
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
.testTarget(
|
.testTarget(
|
||||||
|
|||||||
Reference in New Issue
Block a user