openapi-mock

    0.0.8 • Public • Published

    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
    

    Install

    npm i openapi-mock

    DownloadsWeekly Downloads

    4

    Version

    0.0.8

    License

    ISC

    Unpacked Size

    29.1 kB

    Total Files

    8

    Last publish

    Collaborators

    • penx