Melbourne CocoaHeads events api swagger specification
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Melbourne CocoaHeads Events API Spec

Swagger 2.0

This spec is written using the Swagger/OpenAPI 2.0 spec.

Online Documentation

Documentation is available at


Open this spec with paw


You can test the production api against the swagger.yml file using the dredd tool. Dredd is setup as a dependency in the package.json. A compatible node version is specified for nvm in the .nvmrc file.

$ nvm use
# Found '/.../events-api-spec/.nvmrc' with version <v6.10>
# Now using node v6.10.1 (npm v3.10.10)

$ npm i

$ npm run test

# pass: GET /api/events duration: 2061ms
# complete: 1 passing, 0 failing, 0 errors, 0 skipped, 1 total
# complete: Tests took 2065ms

Swift Code Generation

This project relies on swagger-codegen which can be installed with homebrew on macOS to generate a swift3 api client.

swagger-codegen generate -i swagger.yaml -l swift3 -o ApiClient