from fastapi.testclient import TestClient


def test_health_check_returns_ok(client: TestClient) -> None:
    response = client.get("/health")
    assert response.status_code == 200
    assert response.json() == {"status": "ok"}


def test_openapi_schema_accessible(client: TestClient) -> None:
    response = client.get("/openapi.json")
    assert response.status_code == 200
