Signed-off-by: Dinger <quantdinger@gmail.com>
This commit is contained in:
Dinger
2026-06-06 21:04:30 +08:00
parent 2a8ac7f890
commit 1e8c5aef44
5 changed files with 22 additions and 1 deletions
+1
View File
@@ -70,4 +70,5 @@ def test_export_script_writes_yaml(tmp_path):
)
loaded = yaml.safe_load(out.read_text(encoding="utf-8"))
assert loaded["openapi"].startswith("3.")
assert "x-api-app-version" not in loaded.get("info", {})
assert "/health" in loaded["paths"]