From c7dc13cf8313e6df5fcd9ce42711bbf4c20bbce1 Mon Sep 17 00:00:00 2001 From: Gitea Bot Date: Mon, 19 Oct 2026 14:05:10 +0000 Subject: [PATCH] Update the latest api documents (#596) Automated update of static/swagger-latest.json and static/openapi3-latest.json from the gitea main branch, opened by the "update api spec files" scheduled workflow. Preview: https://pr-596.docs-gitea-com.pages.dev --------- Co-authored-by: Lunny Xiao Reviewed-on: https://gitea.com/gitea/docs/pulls/596 Reviewed-by: Lunny Xiao Co-authored-by: Gitea Bot --- static/openapi3-latest.json | 84 +++++++++++++++++++++++++++++++++++++ static/swagger-latest.json | 84 +++++++++++++++++++++++++++++++++++++ 2 files changed, 168 insertions(+) diff --git a/static/openapi3-latest.json b/static/openapi3-latest.json index 91818e76..4a8bb180 100644 --- a/static/openapi3-latest.json +++ b/static/openapi3-latest.json @@ -2917,6 +2917,20 @@ "type": "string", "x-go-name": "Created" }, + "deletion_allowlist_teams": { + "items": { + "type": "string" + }, + "type": "array", + "x-go-name": "DeletionAllowlistTeams" + }, + "deletion_allowlist_usernames": { + "items": { + "type": "string" + }, + "type": "array", + "x-go-name": "DeletionAllowlistUsernames" + }, "dismiss_stale_approvals": { "type": "boolean", "x-go-name": "DismissStaleApprovals" @@ -2929,6 +2943,14 @@ "type": "boolean", "x-go-name": "EnableBypassAllowlist" }, + "enable_deletion": { + "type": "boolean", + "x-go-name": "EnableDeletion" + }, + "enable_deletion_allowlist": { + "type": "boolean", + "x-go-name": "EnableDeletionAllowlist" + }, "enable_force_push": { "type": "boolean", "x-go-name": "EnableForcePush" @@ -3817,6 +3839,20 @@ "type": "array", "x-go-name": "BypassAllowlistUsernames" }, + "deletion_allowlist_teams": { + "items": { + "type": "string" + }, + "type": "array", + "x-go-name": "DeletionAllowlistTeams" + }, + "deletion_allowlist_usernames": { + "items": { + "type": "string" + }, + "type": "array", + "x-go-name": "DeletionAllowlistUsernames" + }, "dismiss_stale_approvals": { "type": "boolean", "x-go-name": "DismissStaleApprovals" @@ -3829,6 +3865,14 @@ "type": "boolean", "x-go-name": "EnableBypassAllowlist" }, + "enable_deletion": { + "type": "boolean", + "x-go-name": "EnableDeletion" + }, + "enable_deletion_allowlist": { + "type": "boolean", + "x-go-name": "EnableDeletionAllowlist" + }, "enable_force_push": { "type": "boolean", "x-go-name": "EnableForcePush" @@ -5372,6 +5416,20 @@ "type": "array", "x-go-name": "BypassAllowlistUsernames" }, + "deletion_allowlist_teams": { + "items": { + "type": "string" + }, + "type": "array", + "x-go-name": "DeletionAllowlistTeams" + }, + "deletion_allowlist_usernames": { + "items": { + "type": "string" + }, + "type": "array", + "x-go-name": "DeletionAllowlistUsernames" + }, "dismiss_stale_approvals": { "type": "boolean", "x-go-name": "DismissStaleApprovals" @@ -5384,6 +5442,14 @@ "type": "boolean", "x-go-name": "EnableBypassAllowlist" }, + "enable_deletion": { + "type": "boolean", + "x-go-name": "EnableDeletion" + }, + "enable_deletion_allowlist": { + "type": "boolean", + "x-go-name": "EnableDeletionAllowlist" + }, "enable_force_push": { "type": "boolean", "x-go-name": "EnableForcePush" @@ -23759,6 +23825,9 @@ }, "404": { "$ref": "#/components/responses/notFound" + }, + "423": { + "$ref": "#/components/responses/repoArchivedError" } }, "summary": "Delete an issue", @@ -23866,6 +23935,9 @@ }, "412": { "$ref": "#/components/responses/error" + }, + "423": { + "$ref": "#/components/responses/repoArchivedError" } }, "summary": "Edit an issue. If using deadline only the date will be taken into account, and time of day ignored.", @@ -25085,6 +25157,9 @@ }, "404": { "$ref": "#/components/responses/notFound" + }, + "423": { + "$ref": "#/components/responses/repoArchivedError" } }, "summary": "Remove all labels from an issue", @@ -25188,6 +25263,9 @@ }, "404": { "$ref": "#/components/responses/notFound" + }, + "423": { + "$ref": "#/components/responses/repoArchivedError" } }, "summary": "Add a label to an issue", @@ -25246,6 +25324,9 @@ }, "404": { "$ref": "#/components/responses/notFound" + }, + "423": { + "$ref": "#/components/responses/repoArchivedError" } }, "summary": "Replace an issue's labels", @@ -25309,6 +25390,9 @@ }, "422": { "$ref": "#/components/responses/validationError" + }, + "423": { + "$ref": "#/components/responses/repoArchivedError" } }, "summary": "Remove a label from an issue", diff --git a/static/swagger-latest.json b/static/swagger-latest.json index e53213f0..9ff44366 100644 --- a/static/swagger-latest.json +++ b/static/swagger-latest.json @@ -11870,6 +11870,9 @@ }, "404": { "$ref": "#/responses/notFound" + }, + "423": { + "$ref": "#/responses/repoArchivedError" } } }, @@ -11929,6 +11932,9 @@ }, "412": { "$ref": "#/responses/error" + }, + "423": { + "$ref": "#/responses/repoArchivedError" } } } @@ -13089,6 +13095,9 @@ }, "404": { "$ref": "#/responses/notFound" + }, + "423": { + "$ref": "#/responses/repoArchivedError" } } }, @@ -13144,6 +13153,9 @@ }, "404": { "$ref": "#/responses/notFound" + }, + "423": { + "$ref": "#/responses/repoArchivedError" } } }, @@ -13189,6 +13201,9 @@ }, "404": { "$ref": "#/responses/notFound" + }, + "423": { + "$ref": "#/responses/repoArchivedError" } } } @@ -13247,6 +13262,9 @@ }, "422": { "$ref": "#/responses/validationError" + }, + "423": { + "$ref": "#/responses/repoArchivedError" } } } @@ -25987,6 +26005,20 @@ "format": "date-time", "x-go-name": "Created" }, + "deletion_allowlist_teams": { + "type": "array", + "items": { + "type": "string" + }, + "x-go-name": "DeletionAllowlistTeams" + }, + "deletion_allowlist_usernames": { + "type": "array", + "items": { + "type": "string" + }, + "x-go-name": "DeletionAllowlistUsernames" + }, "dismiss_stale_approvals": { "type": "boolean", "x-go-name": "DismissStaleApprovals" @@ -25999,6 +26031,14 @@ "type": "boolean", "x-go-name": "EnableBypassAllowlist" }, + "enable_deletion": { + "type": "boolean", + "x-go-name": "EnableDeletion" + }, + "enable_deletion_allowlist": { + "type": "boolean", + "x-go-name": "EnableDeletionAllowlist" + }, "enable_force_push": { "type": "boolean", "x-go-name": "EnableForcePush" @@ -26870,6 +26910,20 @@ }, "x-go-name": "BypassAllowlistUsernames" }, + "deletion_allowlist_teams": { + "type": "array", + "items": { + "type": "string" + }, + "x-go-name": "DeletionAllowlistTeams" + }, + "deletion_allowlist_usernames": { + "type": "array", + "items": { + "type": "string" + }, + "x-go-name": "DeletionAllowlistUsernames" + }, "dismiss_stale_approvals": { "type": "boolean", "x-go-name": "DismissStaleApprovals" @@ -26882,6 +26936,14 @@ "type": "boolean", "x-go-name": "EnableBypassAllowlist" }, + "enable_deletion": { + "type": "boolean", + "x-go-name": "EnableDeletion" + }, + "enable_deletion_allowlist": { + "type": "boolean", + "x-go-name": "EnableDeletionAllowlist" + }, "enable_force_push": { "type": "boolean", "x-go-name": "EnableForcePush" @@ -28451,6 +28513,20 @@ }, "x-go-name": "BypassAllowlistUsernames" }, + "deletion_allowlist_teams": { + "type": "array", + "items": { + "type": "string" + }, + "x-go-name": "DeletionAllowlistTeams" + }, + "deletion_allowlist_usernames": { + "type": "array", + "items": { + "type": "string" + }, + "x-go-name": "DeletionAllowlistUsernames" + }, "dismiss_stale_approvals": { "type": "boolean", "x-go-name": "DismissStaleApprovals" @@ -28463,6 +28539,14 @@ "type": "boolean", "x-go-name": "EnableBypassAllowlist" }, + "enable_deletion": { + "type": "boolean", + "x-go-name": "EnableDeletion" + }, + "enable_deletion_allowlist": { + "type": "boolean", + "x-go-name": "EnableDeletionAllowlist" + }, "enable_force_push": { "type": "boolean", "x-go-name": "EnableForcePush"