In this video you will learn how to make #RESTful API documentation using swagger and next session we will see how we can implement same using #Nodejs application.
swagger::
https://swagger.io/
swagger-editor::
https://swagger.io/tools/swagger-editor/
swagger-ui::
https://swagger.io/tools/swagger-ui/
Git code for swagger-editor::
https://github.com/swagger-api/swagger-editor
Git link for swagger-ui::
https://github.com/swagger-api/swagger-ui
Run swagger-editor in your local system:
- git clone https://github.com/swagger-api/swagger-editor.git
- navigate to directory where code is present via cmd/terminal
- npm i
- npm start
- run http:://localost:3001 on browser
Run swagger-ui in your local system:
- git clone https://github.com/swagger-api/swagger-ui.git
- navigate to directory where code is present via cmd/terminal
- npm i
- npm start
- run http:://localost:3002 on browser
Node changes::
- Get the latest code from below link.
- https://github.com/subhrajyotiw5rtc/tutorial
- change the url on CORS as per browser link from where you are triggering the REST end point.
If you like please subscribe this channel.
Download
0 formats
No download links available.
Swagger API documentation tutorial for beginners | Intro to API documentation with Swagger | NatokHD