Skip to content

artifact-keeper/artifact-keeper-swift-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArtifactKeeperClient

Swift client SDK for the Artifact Keeper REST API, generated from the OpenAPI 3.1 specification using swift-openapi-generator.

Requirements

  • Swift 5.9+
  • macOS 13+, iOS 16+, tvOS 16+, watchOS 9+

Installation

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")
    ]
)

Usage

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()

License

MIT

About

Swift Package Manager distribution for Artifact Keeper client SDK

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors

Languages