compliance/custom_testcases/llm/compliance_criteria_bk.json
2025-06-20 11:24:03 +08:00

9 lines
550 B
JSON
Raw 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.

[
"API接口应该遵循RESTful设计规范URL应使用名词而非动词",
"API响应格式应统一包含状态码、消息和数据三个字段",
"API应该妥善处理错误情况返回适当的错误代码和说明",
"API应该使用正确的HTTP方法GET用于检索POST用于创建PUT用于更新DELETE用于删除",
"API响应中的时间字段应符合ISO 8601标准格式",
"API路径结构应遵循'<前缀>/<专业领域>/v<版本号>/<资源类型>'格式",
"API应提供适当的缓存控制机制"
]