Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 585 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 585 Bytes

Cocoaheads Swift 4 API Client

API Client Swift package for Melbourne CocoaHeads Events API.

Generating the API Client

The only prerequisite is to install [openapi-generator], and optionally [swiftformat][swiftformat].

brew install openapi-generator swiftformat
  1. Generate the API client code by invoking openapi-generator from the root of this project.
  2. Optionally cleanup the generated code with swiftformat.
openapi-generator generate -g swift4 -i https://www.melbournecocoaheads.com/api/openapi.json
swiftformat --trimwhitespace always .