add swagger

This commit is contained in:
Tim-Niclas Oelschläger 2024-02-22 04:17:39 +01:00
parent 4dbe06eb4c
commit 02f9756d12
No known key found for this signature in database

View File

@ -16711,6 +16711,12 @@
},
"x-go-package": "code.gitea.io/gitea/modules/structs"
},
"ActionsVisibility": {
"description": "ActionsVisibility defines the activities shown",
"type": "integer",
"format": "int64",
"x-go-package": "code.gitea.io/gitea/modules/structs"
},
"Activity": {
"type": "object",
"properties": {
@ -22973,6 +22979,9 @@
"description": "UserSettings represents user settings",
"type": "object",
"properties": {
"actions_visibility": {
"$ref": "#/definitions/ActionsVisibility"
},
"description": {
"type": "string",
"x-go-name": "Description"
@ -22985,10 +22994,6 @@
"type": "string",
"x-go-name": "FullName"
},
"hide_activity": {
"type": "boolean",
"x-go-name": "HideActivity"
},
"hide_email": {
"description": "Privacy",
"type": "boolean",
@ -23017,6 +23022,9 @@
"description": "UserSettingsOptions represents options to change user settings",
"type": "object",
"properties": {
"actions_visibility": {
"$ref": "#/definitions/ActionsVisibility"
},
"description": {
"type": "string",
"x-go-name": "Description"
@ -23029,10 +23037,6 @@
"type": "string",
"x-go-name": "FullName"
},
"hide_activity": {
"type": "boolean",
"x-go-name": "HideActivity"
},
"hide_email": {
"description": "Privacy",
"type": "boolean",