Crates.io | apimock |
lib.rs | apimock |
version | 2.6.5 |
source | src |
created_at | 2024-03-05 13:43:51.711209 |
updated_at | 2024-10-15 22:26:02.221289 |
description | API mock Server generating HTTP/JSON responses written in Rust |
homepage | |
repository | https://github.com/nabbisen/apimock-rs |
max_upload_size | |
id | 1163120 |
size | 161,840 |
HTTP server generating REST/JSON responses. Aims to be mocking helper to develop microservices and APIs. Written in Rust and based on hyper.
Run ./apimock
or ./apimock -c apimock.toml
to start the server. It is single small native binary. Multiple platforms are supported and no installation is required.
Server started to listen:
curl
test result:
paths
url.paths_patterns
dyn_data_dir
verbose
log is activatedDepends on:
tokio / hyper / toml / serde / serde_json / json5 / console. In addition, mdbook (as to workflows)