apimock 4.7.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
13
14
15
16
17
# Architecture

## Core Components

- based on hyper v1

- **`src/config.rs`**  
  Defines configuration structures for customizable parameters like the server port, root path, logging levels, etc.

- **`src/server.rs`**  
  The HTTP(S) server entry point powered by `hyper`. It handles incoming requests and delegates them to the core logic.

- **`src/core/server/routing.rs`**  
  Contains core logic including request routing, matching rules, response rendering, and script evaluation.

- **`tests/`**  
  Includes test cases run by `cargo test`.