To run the application use the command:
docker-compose upTo run all the tests use the command:
docker-compose run node npm testThe test command runs the lint command first and coverage at the end
To run unit tests only use the command:
docker-compose run node npm test:specTo run lint tests only use the command:
docker-compose run node npm test:lintTo run coverage only use the command:
docker-compose run node npm test:coverOn the /specs route, you'll get the full openapi json document.
You can use it with postman to generate a new api and then create the corresponding collection of requests.
If you specify the query param ?documentation=true, then you won't have the route tagged with x-saga-no-doc in the opoenapi document.
On the /api-docs route, you'll get the documentation base on the openapi document without the routes tagged with x-saga-no-doc.