SIMPLE NODE SWAGGER DOC EXAMPLE
PROJECT STRUCTURE
- This project uses express and swagger js doc, the source files are in
app
folder
INSTALL
cd app
npm install
or
cd app
yarn install
RUN
cd app
npm start
or
cd app
yarn start
TEST
- Accesss localhost:3000/swagger/
- Click on Authorize Button and paste
nMUbjkA8KcgAjAqmAFeSsarn
(this token belong to api/mock/users.js) - Test the health methos by paste
mock
on params and press Try it out!
NEED HELP? email: devel.andrerocha@gmail.com