Merge branch 'main' into audit

This commit is contained in:
Lunny Xiao
2026-09-19 00:12:43 +00:00
2 changed files with 52 additions and 0 deletions
+27
View File
@@ -6311,6 +6311,14 @@
"type": "integer", "type": "integer",
"x-go-name": "SourceID" "x-go-name": "SourceID"
}, },
"type": {
"allOf": [
{
"$ref": "#/components/schemas/UserTypeString"
}
],
"description": "The user type"
},
"visibility": { "visibility": {
"allOf": [ "allOf": [
{ {
@@ -10722,6 +10730,14 @@
"type": "integer", "type": "integer",
"x-go-name": "StarredRepos" "x-go-name": "StarredRepos"
}, },
"type": {
"allOf": [
{
"$ref": "#/components/schemas/UserTypeString"
}
],
"description": "the user type"
},
"visibility": { "visibility": {
"allOf": [ "allOf": [
{ {
@@ -10878,6 +10894,14 @@
"type": "object", "type": "object",
"x-go-package": "gitea.dev/modules/structs" "x-go-package": "gitea.dev/modules/structs"
}, },
"UserTypeString": {
"enum": [
"User",
"Organization",
"Bot"
],
"type": "string"
},
"VisibilityString": { "VisibilityString": {
"enum": [ "enum": [
"public", "public",
@@ -27155,6 +27179,9 @@
}, },
"404": { "404": {
"$ref": "#/components/responses/notFound" "$ref": "#/components/responses/notFound"
},
"409": {
"$ref": "#/components/responses/error"
} }
}, },
"summary": "Merge a branch from upstream", "summary": "Merge a branch from upstream",
+25
View File
@@ -14997,6 +14997,9 @@
}, },
"404": { "404": {
"$ref": "#/responses/notFound" "$ref": "#/responses/notFound"
},
"409": {
"$ref": "#/responses/error"
} }
} }
} }
@@ -29389,6 +29392,17 @@
"format": "int64", "format": "int64",
"x-go-name": "SourceID" "x-go-name": "SourceID"
}, },
"type": {
"description": "The user type",
"type": "string",
"enum": [
"User",
"Organization",
"Bot"
],
"x-go-enum-desc": "User UserTypeStringUser\nOrganization UserTypeStringOrganization\nBot UserTypeStringBot",
"x-go-name": "Type"
},
"visibility": { "visibility": {
"description": "User visibility level: public, limited, or private", "description": "User visibility level: public, limited, or private",
"type": "string", "type": "string",
@@ -33751,6 +33765,17 @@
"format": "int64", "format": "int64",
"x-go-name": "StarredRepos" "x-go-name": "StarredRepos"
}, },
"type": {
"description": "the user type",
"type": "string",
"enum": [
"User",
"Organization",
"Bot"
],
"x-go-enum-desc": "User UserTypeStringUser\nOrganization UserTypeStringOrganization\nBot UserTypeStringBot",
"x-go-name": "Type"
},
"visibility": { "visibility": {
"description": "User visibility level option: public, limited, private", "description": "User visibility level option: public, limited, private",
"type": "string", "type": "string",