compliance/README.md
2025-09-30 10:15:35 +08:00

42 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# DMS合规性测试工具
一个用于API合规性测试的Docker化工具支持OpenAPI规范验证、PDF报告生成和测试历史管理。
## 🚀 快速开始
### 本地运行
```bash
# 1. 安装依赖
pip install -r requirements.txt
# 2. 启动API服务器
python fastapi_server.py
```
## 📁 项目结构
```
compliance/
├── fastapi_server.py # API服务器
├── history_viewer.py # 历史查看器
├── run_api_tests.py # 命令行测试工具
├── docker-build.sh # Docker构建脚本
├── docker-compose.yml # Docker Compose配置
├── requirements.txt # Python依赖
├── docker/ # Docker相关文件
├── tests/ # 测试脚本
├── docs/ # 详细文档
├── nginx/ # Nginx配置可选
├── test_reports/ # 测试报告目录
└── memory-bank/ # 项目文档和上下文
```
## 🐳 Docker 创建
```bash
# 快速部署
./create-compose-package-fastapi.bat
```