DocC documentation support #4

Merged
javier merged 28 commits from package/documentation into main 2025-09-09 17:30:20 +00:00
Showing only changes of commit dc786e9fe3 - Show all commits
+7 -27
View File
@@ -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(