- preload: read an input file on boot
- clippy: fixed a warning while checking status code during /mock/add
- response: use a deserializable object from API to directly define mocked response Change is quite straightforward, from:
{
"response": {"some": "content"},
"status_code": 200
}to:
{
"response": {
"body": {"some": "content"},
"status_code": 200
}
}- response: handle infinite response mock
Use
usage_count(integer) to define how many times a mock can be used. Without this parameter it will be always available. - response: use a deserializable object from API to directly define mocked response
- body: allow to match request based on body content
- logs: add more logs on start/stop
- logs: added debug logs in request matching
- body: enforce body matching only if defined in mocks
- query: added query values to request matching
- signals: gracefully exit on ctrl-c
- calls: list and count called mocks
- headers: added headers in response
- headers: implemented request header matching
- identifier: remove the identifier to only match requests
- refactor: reorganized files & routes