添加变更历史 添加ARD文档

This commit is contained in:
Shen Wei
2026-04-30 20:33:51 +08:00
parent 57600598ac
commit 94d8061eb5
41 changed files with 1213 additions and 193 deletions

View File

@@ -9,6 +9,12 @@
---
## 变更历史
| 日期 | 变更人 | 变更内容 |
|---|---|---|
| 2026-04-30 | Atlas | 补充“变更历史”章节(文档治理) |
## 1. 文档定位与原则
本文件定义 Fonrey 全局 API 契约标准,解决跨模块接口风格漂移问题。模块技术方案中的 API 章节必须遵循本文件,不得各自定义冲突规则。
@@ -477,7 +483,7 @@ git diff --exit-code openapi.json || echo "⚠️ openapi.json has changed —
# 对本地运行的 dev server 跑契约测试
schemathesis run openapi.json \
--base-url http://localhost:8000 \
--auth-header "Authorization: Bearer $TEST_TOKEN" \
--auth-header "Authorization: Bearer *** \
--checks status_code_conformance response_schema_conformance \
--tag property # 可按模块 tag 分批跑
```