mirror of
https://git.openapi.site/https://github.com/desirecore/registry.git
synced 2026-10-21 01:33:28 +08:00
fix: 保持 Registry 客户端 Schema 信任摘要兼容 (#9)
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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" } }
|
||||
|
||||
Reference in New Issue
Block a user