mozilla-services/msisdn-gateway

Add a machine parseable API page

tarekziade opened this issue · 3 comments

As discussed, let's add a machine parseable spec of the APIs

Ideally, it needs to publish argument constraints. stuff like: 0 < integer <= 100

Seems that swagger is more adapted to our needs here. see https://github.com/wordnik/swagger-spec.

Plan is to have a manual file to start with, and then automate it.
Pointer to an express implementation here: https://www.npmjs.org/package/swagger-node-express-1.2

I'm available to help evaluate and define a format. Is this in the pipeline for Q2, Q3, or best effort?

@jvehent it's in the pipeline for Q2 - so end of june. Happy to work on it with you. Ping me when available