API Shakedown
v0.1.3Turn an OpenAPI spec into WireMock stubs, contract tests and chaos scenarios, on local LLMs.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
doctor
Check that the configured LLM provider is reachable and the model is available.
inspect_spec
Load and validate an OpenAPI spec (file path or http(s) URL) and list its operations.
| Parameter | Type | Description |
|---|---|---|
spec * | string |
generate_harness
Generate a ready-to-run chaos test harness for an OpenAPI spec into out_dir. offline=true skips the LLM (deterministic, seconds); otherwise this takes minutes on a local model, and review=false roughly halves that. Refuses a non-empty out_dir unless force=true (which overwrites only the harness's own files).
| Parameter | Type | Description |
|---|---|---|
out_dir * | string | |
spec * | string | |
force | boolean | |
max_revisions | integer | |
offline | boolean | |
review | boolean |
list_chaos_scenarios
List the chaos scenarios of a generated harness.
| Parameter | Type | Description |
|---|---|---|
harness_dir * | string |
activate_chaos
Turn one chaos scenario on in the harness's running WireMock (others go off).
| Parameter | Type | Description |
|---|---|---|
harness_dir * | string | |
scenario_id * | string | |
wiremock_url | string |
deactivate_chaos
Turn all chaos scenarios off: the stubs behave normally again.
| Parameter | Type | Description |
|---|---|---|
wiremock_url | string |