fix: 保持 Registry 客户端 Schema 信任摘要兼容 (#9)

This commit is contained in:
2026-09-22 00:56:56 +08:00
committed by GitHub
parent 7728203ed6
commit 33f3ae4a8a
13 changed files with 52 additions and 54 deletions

View File

@@ -196,26 +196,7 @@
},
"fullDesc": { "$ref": "#/definitions/nonEmptyString" },
"shortDesc": { "$ref": "#/definitions/nonEmptyString" },
"stars": false,
"views": false,
"viewCount": false,
"visits": false,
"visitCount": false,
"downloads": false,
"downloadCount": false,
"rating": false,
"ratings": false,
"ratingCount": false,
"averageRating": false,
"popularity": false,
"usageCount": false,
"installCount": false,
"installedCount": false,
"activeUsers": false,
"installStatus": false,
"healthScore": false,
"resourceUsage": false,
"license": {"type":"string","minLength":1,"description":"此收录版本的上游许可名称;自定义附加条款不得省略。版本与许可核验依据见文档。"},
"stars": { "type": "integer", "minimum": 0 },
"githubUrl": { "$ref": "#/definitions/httpsUrl" },
"install": {
"type": "object",

View File

@@ -109,26 +109,7 @@
"category": { "type": "string", "pattern": "^[a-z0-9][a-z0-9-]*$" },
"shortDesc": { "$ref": "#/$defs/nonEmptyString" },
"fullDesc": { "$ref": "#/$defs/nonEmptyString" },
"stars": false,
"views": false,
"viewCount": false,
"visits": false,
"visitCount": false,
"downloads": false,
"downloadCount": false,
"rating": false,
"ratings": false,
"ratingCount": false,
"averageRating": false,
"popularity": false,
"usageCount": false,
"installCount": false,
"installedCount": false,
"activeUsers": false,
"installStatus": false,
"healthScore": false,
"resourceUsage": false,
"license": {"type":"string","minLength":1,"description":"此收录版本的上游许可名称;自定义附加条款不得省略。版本与许可核验依据见文档。"},
"stars": { "type": "number", "minimum": 0 },
"githubUrl": { "type": "string", "format": "uri" },
"install": { "$ref": "#/$defs/dockerInstall" },
"exposes": { "type": "array", "items": { "$ref": "#/$defs/expose" } }