Swift client SDK for the Artifact Keeper REST API, generated from the OpenAPI 3.1 specification using swift-openapi-generator.
- Swift 5.9+
- macOS 13+, iOS 16+, tvOS 16+, watchOS 9+
Add the package to your Package.swift:
dependencies: [
.package(url: "https://github.com/artifact-keeper/artifact-keeper-swift-sdk.git", from: "1.0.0")
]Then add the dependency to your target:
.target(
name: "YourTarget",
dependencies: [
.product(name: "ArtifactKeeperClient", package: "artifact-keeper-swift-sdk")
]
)import ArtifactKeeperClient
import OpenAPIURLSession
let client = try Client(
serverURL: URL(string: "https://your-instance.example.com/api")!,
transport: URLSessionTransport()
)
let response = try await client.listRepositories()MIT