π Initial Release
This is the first public release of swift-github-types, providing comprehensive type definitions for GitHub's REST API.
β¨ Features
- π Traffic Analytics Types: Views, clones, referrers, and popular paths
- β Stargazers Types: Star counts and stargazer information
- π¦ Repository Types: Repository metadata and management structures
- π Pagination Support: Built-in pagination for API responses
- π― Type Safety: Strongly-typed, Codable-compliant data models
- π Dependency Injection: Client protocols using swift-dependencies
π¦ Installation
Add to your Package.swift:
dependencies: [
.package(url: "https://github.com/coenttb/swift-github-types", from: "0.1.0")
]ποΈ Architecture
The package is organized into focused modules:
GitHubTypesShared: Common types and utilitiesGitHubTrafficTypes: Traffic analytics typesGitHubRepositoriesTypes: Repository-related typesGitHubStargazersTypes: Stargazer typesGitHubTypes: Umbrella module
π License
Licensed under Apache 2.0 for maximum compatibility and reusability in both open source and commercial projects.
π Related Packages
- swift-github-live: Live implementations
- swift-github: High-level client
π Documentation
See the README for detailed usage examples and API documentation.
Full Changelog: https://github.com/coenttb/swift-github-types/commits/0.1.0