Package Exports
- @parthar/swagger-mockapi
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@parthar/swagger-mockapi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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-mockapiUsage
$ 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