This spec is written using the Swagger/OpenAPI 2.0 spec.
Documentation is available at http://docs.melbournecocoaheads.apiary.io
Open this spec with paw https://paw.pt/cfikVJT4
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
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