Skip to content

Mock OAS

This command generates a mock API proxy bundle from your OpenAPI 3 specification.

Usage

The mock oas command takes the following parameters:

  -i, --input string    path to OpenAPI spec (e.g. "./path/to/spec.yaml")
  -o, --output string   output directory or zip file (e.g. "./path/to/apiproxy.zip")
  -h, --help            help for oas

See how the mock API proxy bundle works over at the Mock OpenAPI Spec doc page