Pro Feature

OpenAPI Import

Drop in your OpenAPI 3.0 or Swagger 2.0 spec and MockRoute instantly generates all your mock routes — complete with example responses, headers, and status codes.

This feature is coming soon. Upgrade to Pro to be first in line when it launches.

How it works

From spec to mock in seconds

01

Upload your spec

Paste a URL or upload your OpenAPI JSON/YAML file directly into the dashboard.

02

Review & configure

MockRoute parses every endpoint, method, and schema. Review the auto-generated rules and tweak any response.

03

Start mocking

Hit deploy and your full API is live as a mock server — instantly shareable with your team.

What gets imported

All HTTP methods (GET, POST, PUT, PATCH, DELETE)
Response schemas with realistic example data
Status codes per operation (200, 201, 404, 422…)
Custom response headers defined in the spec
Path parameters and query string definitions
Authentication requirements (API key, Bearer)
Request body schemas for validation hints
Tags → automatically grouped into endpoint sets

Ready to import your spec?

Upgrade to Pro and have your entire API mocked in under 60 seconds.

See Pro Plans