@parthar/swagger-mockapi

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i @parthar/swagger-mockapi

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

4.68 kB

Total Files

5

Last publish

Collaborators

  • partharamanujam