Skip to content

Latest commit

 

History

History
14 lines (7 loc) · 478 Bytes

File metadata and controls

14 lines (7 loc) · 478 Bytes

Server Stub Generation

The server-side code is generated from the API specification according to the following process:

  1. Go to https://editor.swagger.io/
  2. Copy the Yaml file content to the swagger editor
  3. Go to Menu -> Generate Server -> Nodejs-server
  4. 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