Hapi Swagger/OpenAPI
devlinjunker opened this issue · 0 comments
devlinjunker commented
- Add Hapi Swagger and validation to endpoints: https://github.com/glennjones/hapi-swagger
- Update version when change to API
- compare api doc vs older version
- part of
npm run doc
- ask version update from developer patch/minor/major
- Postman tests based on generated api
- Newman?
- copy openapi.yaml on build complete (after generated from code)
- proper http codes: https://medium.com/@nelsonparente/modeling-your-rest-api-responses-d9286eaa6ce3