Simple project to generate mock API from swagger JSON.
Swagger-API-Mock requires Node.js v4+ to run.
Install the dependencies and devDependencies and start the server.
$ git clone https://github.com/DQ92/Swagger-API-Mock/
$ cd Swagger-API-Mock
$ npm installAdd json file (swagger API) to Swagger-API-Mock dictionary with "swagger.json" filename.
Then:
$ node app.jsNow, server.js file contains all endpoints. To run the server, type in the console:
node server.js127.0.0.1:3000- A lot of things...
MIT
Free Software, Yeah!