It lets the front end move before the back end is ready, or lets you test an integration with a third-party API without hitting it. Each route can have several responses, picked by rules that look at headers, query string, body or cookies, and the body accepts templates with Faker.js for dynamic fake data. You can simulate errors, timeouts, rate limits and delays. In proxy mode it forwards calls to the real API, records the traffic and creates mock routes from it.
OpenAPI comes in from a file, URL or pasted text and goes out as OpenAPI 3 JSON, but the docs themselves warn that compatibility is partial: check the routes after importing. Mockoon Pro, paid, adds collaboration and deployment on your own infrastructure. For a hosted mock with a public URL (for webhooks, say), use Beeceptor; to write the contract, Swagger Editor.