v0-json-schema
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"id": "standard-error-response",
|
||||
"name": "标准错误响应格式规则",
|
||||
"description": "验证API错误响应是否符合标准格式",
|
||||
"category": "ErrorHandling",
|
||||
"version": "1.0.0",
|
||||
"severity": "warning",
|
||||
"source": null,
|
||||
"is_enabled": true,
|
||||
"tags": null,
|
||||
"target_type": "APIResponse",
|
||||
"target_identifier": null,
|
||||
"lifecycle": "响应验证阶段",
|
||||
"scope": "响应体",
|
||||
"code": null,
|
||||
"error_code": "*",
|
||||
"expected_status": 400,
|
||||
"expected_message": null
|
||||
}
|
||||
Reference in New Issue
Block a user