Skip to content

API mocking tool that lets you simulate any REST API on the fly

License

Notifications You must be signed in to change notification settings

AzarguNazari/rest-mock

Repository files navigation

REST Mocker

CLI tool that turns OpenAPI specs into a running mock REST server.

Install

npm install -g @nazariazargul/rest-mocker

Usage

rest-mock --path ./api.yaml --port 3000
rest-mock --path ./specs
Option Default Description
--path <path> ./openapi.yaml OpenAPI file or folder
-p, --port <port> 3000 Server port

Swagger UI is available at /api-docs.

License

MIT

About

API mocking tool that lets you simulate any REST API on the fly

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •