Skip to content

DQ92/Swagger-API-Mock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swagger-API-Mock

Simple project to generate mock API from swagger JSON.

Installation

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 install

Important!

Add json file (swagger API) to Swagger-API-Mock dictionary with "swagger.json" filename.

Then:

$ node app.js

Now, server.js file contains all endpoints. To run the server, type in the console:

node server.js

Run

127.0.0.1:3000

Todos

  • A lot of things...

License

MIT

Free Software, Yeah!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published