Closed ryzbaka closed 3 years ago
@ryzbaka awesome job! now what's left is the tests and the openApi Docs.
For the openApi Documentation, you need to add the new endpoint to the swagger/paths/
folder then add the endpoint and its corresponding path method in the swagger/openApiDocumentation.js
file.
Tests are written with Mocha & Chai.
random.js
within the ./test
folder.random.js
file into ./test/tests.js
at the bottom.Let me know if you need any more clarification
@MartinsOnuoha , sure thing; I'll get to it.
@MartinsOnuoha kindly review the changes.
This pull request is in response to issue : https://github.com/MartinsOnuoha/countriesNowAPI/issues/36 for returning a random country object.