use StatusCode;
use IntoResponse;
/// Shared 405 fallback used by every method-specific route in both the v1 and
/// v2 routers. Returns the standard `ApiResponse` error envelope so a wrong
/// method (e.g. `GET /v1/scrape`) is reported as JSON, not an empty body.
pub async