- Documentation(ReDoc): https://grey-systems.github.io/hagbad-financial-institution-api-doc
- SwaggerUI: https://grey-systems.github.io/hagbad-financial-institution-api-doc/swagger-ui
- Look full spec:
- Preview spec version for branch
[branch]
: https://grey-systems.github.io/hagbad-financial-institution-api-doc/preview/[branch]
- Install Node JS v10.x.x (or use a version manager for NodeJS like NVM)
- Clone repo and
cd
- Run
npm install
(ornpm ci
if prefer a clean install, without updatepackage-lock.json
dependencies)
- Run
- Run
npm start
- Checkout console output to see where local server is started. You can use all links (except
preview
) by replacing https://grey-systems.github.io/hagbad-financial-institution-api-doc/ with url from the message:Server started <url>
- Make changes using your favorite editor or
swagger-editor
(look for URL in console output) - All changes are immediately propagated to your local server, moreover all documentation pages will be automagically refreshed in a browser after each change
TIP: you can open
swagger-editor
, documentation andswagger-ui
in parallel TIP2:: You can manually add changes modifying the./spec/swagger.yaml
. Keep in mind that manual changes might break the swagger specification. - Once you finish with the changes you can run tests using:
npm test
- Share you changes with the rest of the world by pushing to GitHub 😄