/koa-swagger-decorator-example

Just the example code from koa-swagger-decorator (TS Removed)

Primary LanguageJavaScript

koa-swagger-decorator-example

Just the example code from koa-swagger-decorator. TypeScript and additional unnecessary dependencies have been removed so this can make a good starter project.

npm i

npm start

Open your browser and view the auto-generated Swagger UI located at:

http://localhost:3000/swagger-html

This project utilizes nodemon, meaning server file directories are watched and any changes will automaticaly restart the server.

It also utilizes babel-node allowing for ES6+ features such as import statements.

The original project is located here:

https://github.com/Cody2333/koa-swagger-decorator