From 4952e7cc85cbb150ab89cf9726ce0952a37bedd5 Mon Sep 17 00:00:00 2001 From: Xiang Zhen Gan Date: Fri, 6 Dec 2024 08:56:16 +0800 Subject: [PATCH] update doc --- docs/docs.go | 15 +++++++++++++++ docs/swagger.json | 15 +++++++++++++++ docs/swagger.yaml | 10 ++++++++++ 3 files changed, 40 insertions(+) diff --git a/docs/docs.go b/docs/docs.go index 96566d3e..3b75dac4 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -15363,6 +15363,9 @@ const docTemplate = `{ "id": { "type": "integer" }, + "last_updated_at": { + "type": "string" + }, "repository": { "$ref": "#/definitions/database.Repository" }, @@ -15485,6 +15488,9 @@ const docTemplate = `{ "database.Namespace": { "type": "object", "properties": { + "created_at": { + "type": "string" + }, "id": { "type": "integer" }, @@ -15497,6 +15503,9 @@ const docTemplate = `{ "path": { "type": "string" }, + "updated_at": { + "type": "string" + }, "user": { "$ref": "#/definitions/database.User" }, @@ -17532,12 +17541,18 @@ const docTemplate = `{ "readme": { "type": "string" }, + "recom_op_weight": { + "type": "integer" + }, "repository": { "$ref": "#/definitions/types.Repository" }, "repository_id": { "type": "integer" }, + "sensitive_check_status": { + "type": "string" + }, "source": { "$ref": "#/definitions/types.RepositorySource" }, diff --git a/docs/swagger.json b/docs/swagger.json index a588ae3f..c5dfdef4 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -15352,6 +15352,9 @@ "id": { "type": "integer" }, + "last_updated_at": { + "type": "string" + }, "repository": { "$ref": "#/definitions/database.Repository" }, @@ -15474,6 +15477,9 @@ "database.Namespace": { "type": "object", "properties": { + "created_at": { + "type": "string" + }, "id": { "type": "integer" }, @@ -15486,6 +15492,9 @@ "path": { "type": "string" }, + "updated_at": { + "type": "string" + }, "user": { "$ref": "#/definitions/database.User" }, @@ -17521,12 +17530,18 @@ "readme": { "type": "string" }, + "recom_op_weight": { + "type": "integer" + }, "repository": { "$ref": "#/definitions/types.Repository" }, "repository_id": { "type": "integer" }, + "sensitive_check_status": { + "type": "string" + }, "source": { "$ref": "#/definitions/types.RepositorySource" }, diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 6ba7c8ae..c8f611fc 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -183,6 +183,8 @@ definitions: type: string id: type: integer + last_updated_at: + type: string repository: $ref: '#/definitions/database.Repository' repository_id: @@ -263,6 +265,8 @@ definitions: type: object database.Namespace: properties: + created_at: + type: string id: type: integer mirrored: @@ -271,6 +275,8 @@ definitions: $ref: '#/definitions/database.NamespaceType' path: type: string + updated_at: + type: string user: $ref: '#/definitions/database.User' user_id: @@ -1649,10 +1655,14 @@ definitions: type: boolean readme: type: string + recom_op_weight: + type: integer repository: $ref: '#/definitions/types.Repository' repository_id: type: integer + sensitive_check_status: + type: string source: $ref: '#/definitions/types.RepositorySource' status: