Rebrand the Rust client crate (coven/ → hh/, package+binary "hack-house"), README, CLI strings, and branch (coven → hack-house). Gitea repo renamed cmd-chat → hack-house to match. Crypto/server logic unchanged; selftest + golden-vector test still green, binary is now `hack-house`. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
15 lines
359 B
Python
15 lines
359 B
Python
from typing import Any
|
|
|
|
from sanic import Sanic
|
|
|
|
|
|
def get_spec(app: Sanic) -> dict[str, Any]:
|
|
test_client = app.test_client
|
|
_, response = test_client.get("/docs/openapi.json")
|
|
return response.json
|
|
|
|
|
|
def get_path(app: Sanic, path: str, method: str = "get") -> dict[str, Any]:
|
|
spec = get_spec(app)
|
|
return spec["paths"][path][method.lower()]
|