from __future__ import annotations

from ww_api.main import app


def test_openapi_exposes_phase0_endpoints() -> None:
    paths = app.openapi()["paths"]
    assert "/" in paths
    assert "/health" in paths
    assert "/jobs/{job_id}" in paths
