Skip to content

Updating JSON API client

Finn Bacall edited this page Jun 26, 2018 · 1 revision
  1. Make changes to the Swagger: https://app.swaggerhub.com/apis/fbacall/TeSS-JSON-API/0.2.0#

  2. On SwaggerHub: Check the codegen options for "Client > Javascript":

useES6: false
projectName: tess_json_api
moduleName: TessJsonApi
  1. On Github: Clone the JSON-API client repo: https://github.com/ElixirTeSS/tess-json-api-client

  2. On SwaggerHub: Download a "Client > Javascript" ZIP, and extract to the directory where the above repo was cloned, replacing any files that conflict.

  3. In JSON-API client repo directory: Commit and push changes to client repo.

  4. On SwaggerHub: Download JSON (Unresolved)

  5. In TeSS directory: Copy the above JSON into public/json-api-swagger.json and commit & push

Clone this wiki locally