apimock 5.17.0

HTTP(S) mock server. Drop JSON files into a folder and your API immediately exists.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# Middleware runs before rule sets and can serve a response itself
# (three ways: a file, literal JSON, or literal text) or fall through
# to `apimock-rule-set.toml`.

[listener]
ip_address = "127.0.0.1"
port = 3001

[service]
middlewares = ["apimock-middleware.rhai"]
rule_sets = ["apimock-rule-set.toml"]
fallback_respond_dir = "."