Skip to content

Checklist for API Changes

Eugen Kuksa edited this page Jun 7, 2017 · 3 revisions

There are quite a lot places to make adjustments when the API is changed. The following list covers them. Use it as a check list whenever you touch the API.

  1. Change Database schema [ontohub-models/db/migrate].
  2. Implement a model [ontohub-models/app/models].
  3. Change/add routes [ontohub-backend/config/routes.rb].
  4. Implement a controller [ontohub-backend/app/controllers/v2].
  5. Implement a serializer [ontohub-backend/app/serializers/v2].
  6. Change/add JSON-schema [ontohub-backend/spec/support/api/v2/schemas].
  7. Implement controller specs [ontohub-backend/spec/controllers/v2].
Clone this wiki locally