Update the latest api documents (#519)

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.

Reviewed-on: https://gitea.com/gitea/docs/pulls/519
Reviewed-by: Lunny Xiao <[email protected]>
Co-authored-by: Gitea Bot <[email protected]>
This commit is contained in:
Gitea Bot
2026-08-18 00:54:33 +00:00
committed by Lunny Xiao
parent 96c0486a19
commit 719d7131c1
2 changed files with 16 additions and 12 deletions
+13 -7
View File
@@ -4879,7 +4879,12 @@
"x-go-name": "Name"
},
"permission": {
"$ref": "#/components/schemas/RepoWritePermission"
"allOf": [
{
"$ref": "#/components/schemas/RepoWritePermission"
}
],
"description": "All units have this permission (read/write/admin)"
},
"units": {
"deprecated": true,
@@ -4956,7 +4961,6 @@
"x-go-name": "FullName"
},
"login_name": {
"default": "empty",
"description": "identifier of the user, provided by the external authenticator (if configured)",
"type": "string",
"x-go-name": "LoginName"
@@ -6130,7 +6134,12 @@
"x-go-name": "Name"
},
"permission": {
"$ref": "#/components/schemas/RepoWritePermission"
"allOf": [
{
"$ref": "#/components/schemas/RepoWritePermission"
}
],
"description": "All units have this permission (read/write/admin)"
},
"units": {
"deprecated": true,
@@ -6234,7 +6243,6 @@
"x-go-name": "Location"
},
"login_name": {
"default": "empty",
"description": "identifier of the user, provided by the external authenticator (if configured)",
"type": "string",
"x-go-name": "LoginName"
@@ -6286,8 +6294,7 @@
}
},
"required": [
"source_id",
"login_name"
"source_id"
],
"type": "object",
"x-go-package": "gitea.dev/modules/structs"
@@ -10658,7 +10665,6 @@
"x-go-name": "UserName"
},
"login_name": {
"default": "empty",
"description": "identifier of the user, provided by the external authenticator (if configured)",
"type": "string",
"x-go-name": "LoginName"