Skip to content

Mocking Quick Start

Inspectr lets you spin up a mock server from any OpenAPI file in seconds. Choose one of the options below to get started.

Open the URL https://inspectr.dev/launch with a reference to any remote OpenAPI document:

https://inspectr.dev/launch?openapi=https://inspectr.dev/demo/hello.openapi.yaml

Replace the openapi parameter with the URL of your own OpenAPI file. Inspectr will start immediately with mocking enabled.

Launch OpenAPI mock Inspectr Launch OpenAPI mock

You can easily mock the typical OpenAPI example APIs using Inspectr, by clicking the launch link:

Run Inspectr locally and point it to the same OpenAPI spec:

Terminal window
npx @inspectr/inspectr --mock-backend=https://inspectr.dev/demo/hello.openapi.yaml

The proxy listens on port 8080 and the UI is available at http://localhost:4004.


Learn more about Mocking →