v0-json-schema
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "restful-url-pattern",
|
||||
"name": "RESTful URL设计规则",
|
||||
"description": "验证API URL是否符合RESTful设计规范",
|
||||
"category": "APIDesign",
|
||||
"version": "1.0.0",
|
||||
"severity": "warning",
|
||||
"source": null,
|
||||
"is_enabled": true,
|
||||
"tags": null,
|
||||
"target_type": "APIRequest",
|
||||
"target_identifier": null,
|
||||
"lifecycle": "请求准备阶段",
|
||||
"scope": "请求URL",
|
||||
"code": null,
|
||||
"design_aspect": "URL设计",
|
||||
"pattern": "^/api/v\\d+/[a-z0-9-]+(/[a-z0-9-]+)*$"
|
||||
}
|
||||
Reference in New Issue
Block a user