🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

openapi-mock

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-mock

Create a mock server from an OpenAPI/Swagger file

0.0.8
latest
Source
npm
Version published
Maintainers
1
Created
Source

OpenAPI Mock

CLI utility to start a mock server based upon a Swagger/OpenAPI JSON or YAML spec file.

Uses swagger-node-runner and sway.

Install

npm install -g openapi-mock

Usage

Usage: openapi-mock [options] <spec>


Options:

  -V, --version        output the version number
  -m, --mock <dir>     path to mock directory
  -c, --config <file>  path to config file
  -p, --port <n>       port to start the mock server on
  -h, --help           output usage information

Keywords

openapi

FAQs

Package last updated on 06 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts