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"
+3 -5
View File
@@ -27790,6 +27790,7 @@
"x-go-name": "Name"
},
"permission": {
"description": "All units have this permission (read/write/admin)",
"type": "string",
"enum": [
"read",
@@ -27879,7 +27880,6 @@
"login_name": {
"description": "identifier of the user, provided by the external authenticator (if configured)",
"type": "string",
"default": "empty",
"x-go-name": "LoginName"
},
"must_change_password": {
@@ -29061,6 +29061,7 @@
"x-go-name": "Name"
},
"permission": {
"description": "All units have this permission (read/write/admin)",
"type": "string",
"enum": [
"read",
@@ -29124,8 +29125,7 @@
"description": "EditUserOption edit user options",
"type": "object",
"required": [
"source_id",
"login_name"
"source_id"
],
"properties": {
"active": {
@@ -29177,7 +29177,6 @@
"login_name": {
"description": "identifier of the user, provided by the external authenticator (if configured)",
"type": "string",
"default": "empty",
"x-go-name": "LoginName"
},
"max_repo_creation": {
@@ -33551,7 +33550,6 @@
"login_name": {
"description": "identifier of the user, provided by the external authenticator (if configured)",
"type": "string",
"default": "empty",
"x-go-name": "LoginName"
},
"prohibit_login": {