Skip to content

swift-github-types v0.1.0

Latest

Choose a tag to compare

@coenttb coenttb released this 01 Sep 15:10
· 29 commits to main since this release

πŸŽ‰ 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 utilities
  • GitHubTrafficTypes: Traffic analytics types
  • GitHubRepositoriesTypes: Repository-related types
  • GitHubStargazersTypes: Stargazer types
  • GitHubTypes: Umbrella module

πŸ“„ License

Licensed under Apache 2.0 for maximum compatibility and reusability in both open source and commercial projects.

πŸ”— Related Packages

πŸ“š Documentation

See the README for detailed usage examples and API documentation.


Full Changelog: https://github.com/coenttb/swift-github-types/commits/0.1.0