Show HN: Crudio – Turn an OpenAPI spec into a stateful mock back end
Crudio is a tool that generates a stateful mock backend directly from an OpenAPI specification, allowing developers to simulate realistic API behavior during development and testing.
Background
- Crudio is a new open-source tool (by Enrico DeLeo) that takes an OpenAPI specification file and automatically generates a stateful mock backend server from it.
- OpenAPI (formerly Swagger) is a widely used standard for describing REST APIs in a machine-readable format — essentially the "blueprint" of an API's endpoints, request/response formats, etc.
- "Stateful" means the mock server remembers data between requests (e.g., created records persist), unlike simpler mocks that return static canned responses.
- This is useful for frontend developers, testers, or prototyping workflows: instead of needing a real backend or manually writing a mock server, you just point Crudio at your API spec and get a working, interactive fake backend that behaves like the real thing.