The server-side code is generated from the API specification according to the following process:
- Go to https://editor.swagger.io/
- Copy the Yaml file content to the swagger editor
- Go to Menu -> Generate Server -> Nodejs-server
- This will generate server-side stub in a zip file, and it will be downloaded to $USER_HOME/Downloads/nodejs-server-server-generated.zip.
Reference : https://github.com/swagger-api/swagger-codegen/tree/3.0.0