1.0.0 • Published 7 years ago

@parthar/swagger-mockapi v1.0.0

Weekly downloads
1
License
ISC
Repository
gitlab
Last release
7 years ago

swagger-mockapi

API Mocking for Swagger OpenAPI Spec

Overview

This module provides API mocking utility based on Swagger/OpenAPI specification. Currently, version-2.x of the specification is supported.

Installation

$ npm install -g swagger-mockapi

Usage

$ swagger-mockapi -h
Usage: index [options]

Options:
  -V, --version              output the version number
  -s, --spec [swagger.yaml]  Swagger YAML-file (default: "swagger.yaml")
  -p, --port [port]          Server port (default: 8080)
  -h, --help                 output usage information
Notes:
- Supports Swagger/OpenAPI spec v2.x