- Home
- API Mocking Tools
- OpenAPI Server
On the recordRead 5 Oct 202623 facts
OpenAPI Server
On the record
- Additional features
- It supports serving static files, HTTP and HTTPS, watch mode, and custom Express middleware.github.com · read 5 Oct 2026
- Configuration
- Configuration is available through command-line options, environment variables, and environment files.github.com · read 5 Oct 2026
- Default behavior
- Mocks are enabled by default and take precedence over proxying when a matching mock exists.github.com · read 4 Oct 2026
- End-to-end testing
- Mocks can provide predictable API responses for end-to-end tests.github.com · read 4 Oct 2026
- Install
- The README instructs users to install it from its GitHub repository with npm.github.com · read 4 Oct 2026
- Installation
- The README gives a GitHub-based npm install command and a quick start that serves the API at localhost:3000/api.github.com · read 5 Oct 2026
- Integration
- The project can run as a command-line server or be imported programmatically as an application or Express router.github.com · read 5 Oct 2026
- Intended use
- The README describes using it to mock services while prototyping a single-page application without a working backend.github.com · read 4 Oct 2026
- License
- The package declares the ISC license.github.com · read 5 Oct 2026
- Maker location
- The Intesys GitHub organization profile lists Italy as its location.github.com · read 4 Oct 2026
- Mock formats
- Mocks can be JSON files, JavaScript modules, or Express middleware.github.com · read 4 Oct 2026
- Mocking
- Mocks can be JSON files, JavaScript modules, or Express middleware, and mocks are enabled by default.github.com · read 5 Oct 2026
- Multiple specifications
- It supports multiple specification files and directories and checks paths and methods for conflicts.github.com · read 4 Oct 2026
- Notable limits
- JavaScript mocks must run at runtime; the README says TypeScript mock files are not allowed because they cannot be transpiled at runtime.github.com · read 4 Oct 2026
- OpenAPI support
- It validates OpenAPI version 3 and Swagger version 2 specifications in YAML format.github.com · read 5 Oct 2026
- Other features
- The README lists a static file server, HTTP and HTTPS support, watch mode, and configuration through environment variables, files, or CLI parameters.github.com · read 4 Oct 2026
- Proxy
- When proxying is enabled, valid requests without a matching mock are forwarded to the configured backend.github.com · read 5 Oct 2026
- Proxy and validation
- It can proxy requests to another server and optionally validate responses.github.com · read 4 Oct 2026