A customizable web server for mocking HTTP JSON API responses for REST webservices.
Download
json-mockr is written in Kotlin using Springboot as the underlying server.
Motivation
The motivation behind this software is to provide an easy way to mock external APIs during development phase without much configuration but also flexible enough.
Features
- Support for nested resources
- GET, POST, PUT, DELETE with NOT_FOUND, METHOD_NOT_ALLOWED, OK, CREATED and NO_CONTENT responses
- List responses with arrays or wrapped in a custom envelope
- Resource validation with BAD_REQUEST responses
- Mock data generation (experimental)
Limitations
- PATCH NOT IMPLEMENTED
- In Memory database (by design)