SwaggerKit 1.0.0-alpha.6

SwaggerKit 1.0.0-alpha.6

Maintained by Almazrafi.

SwaggerKit 1.0.0-alpha.6

  • By
  • Almaz Ibragimov


Build Status Codecov Cocoapods Carthage compatible SPM compatible Xcode Swift License

SwaggerKit is a parser for OpenAPI (Swagger) specs, completely written in Swift.


  • iOS 10.0+ / macOS 10.12+ / tvOS 10.0+ / watchOS 3.0+
  • Xcode 10.3+
  • Swift 5.0+



CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate SwaggerKit into your Xcode project using CocoaPods, specify it in your Podfile:

platform :ios, '10.0'

target '<Your Target Name>' do
    pod 'SwaggerKit', '~> 1.0.0-alpha.6'

Finally run the following command:

$ pod install


Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate SwaggerKit into your Xcode project using Carthage, specify it in your Cartfile:

github "almazrafi/SwaggerKit"

Finally run carthage update to build the framework and drag the built SwaggerKit.framework into your Xcode project.

Swift Package Manager

The Swift Package Manager is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.

To integrate SwaggerKit into your Xcode project using Swift Package Manager, add the following as a dependency to your Package.swift:

.package(url: "https://github.com/almazrafi/SwaggerKit.git", from: "1.0.0-alpha.6")

and then specify "SwaggerKit" as a dependency of the Target in which you wish to use SwaggerKit.

Here's an example Package.swift:

// swift-tools-version:5.0
import PackageDescription

let package = Package(
    name: "MyPackage",
    products: [
        .library(name: "MyPackage", targets: ["MyPackage"])
    dependencies: [
        .package(url: "https://github.com/almazrafi/SwaggerKit.git", from: "1.0.0-alpha.6")
    targets: [
        .target(name: "MyPackage", dependencies: ["SwaggerKit"])


  • If you need help, open an issue.
  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.


SwaggerKit is available under the MIT license. See the LICENSE file for more info.