1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! Configuration model for apimock.
//!
//! # Responsibilities
//!
//! - Read `apimock.toml` and every file it references.
//! - Resolve relative paths against the config file's parent directory.
//! - Validate that paths exist, rules are consistent, etc.
//! - (Stage 2) apply structured edit commands from a GUI, and save the
//! result back to disk preserving structure as much as possible.
//!
//! # What is deliberately *not* here
//!
//! - Compiling Rhai middlewares — that's `apimock-server`'s job. This
//! crate only records the paths listed under `service.middlewares`.
//! - HTTP response construction. Fully in `apimock-server`.
//! - Rule-set parsing. Delegated to `apimock-routing::RuleSet::new`.
//!
//! # Stage-1 surface
//!
//! The `view` module defines the stage-1 GUI-facing API shape
//! ([`WorkspaceSnapshot`] etc.). In 5.0.0 these types carry their
//! definition and rustdoc but no populating logic; the stage-2 work
//! fills in construction + edit / save behaviour.
pub use ;
pub use ;
pub use ;