CocoaPods trunk is moving to be read-only. Read more on the blog, there are 13 months to go.
| TestsTested | ✗ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Jan 2018 |
| SwiftSwift Version | 3.1 |
| SPMSupports SPM | ✓ |
Maintained by BAN Jun.
| Depends on: | |
| APIKit | >= 0 |
| URITemplate | >= 0 |
Swift client generator for API Blueprint
Input file is an API Blueprint AST file generated by drafter.
Output is a Swift client code (with some dependencies: APIKit, Himotoki, etc)
see Examples
debug
% swift buildrelease (SwiftBeaker/releases)
% swift build -c release -Xswiftc -static-stdlib% drafter -f json api-blueprint-document.md > apib.json # generate AST using drafter
% SwiftBeaker apib.json > APIClient.swiftfor use in a framework target for the API:
% SwiftBeaker --public apib.json > APIClient.swift # public memberwise init & public membersSwiftBeaker converts ...