generate swagger doc

This commit is contained in:
Lunny Xiao
2025-05-25 11:42:59 -07:00
parent e3554b3945
commit 43ed136609
+7 -2
View File
@@ -21032,7 +21032,7 @@
"x-go-name": "SHA"
},
"state": {
"$ref": "#/definitions/CommitStatusState"
"$ref": "#/definitions/CombinedStatusState"
},
"statuses": {
"type": "array",
@@ -21053,6 +21053,11 @@
},
"x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CombinedStatusState": {
"type": "string",
"title": "CombinedStatusState represents the combined status of a commit.",
"x-go-package": "code.gitea.io/gitea/modules/commitstatus"
},
"Comment": {
"description": "Comment represents a comment on a commit or issue",
"type": "object",
@@ -21281,7 +21286,7 @@
"CommitStatusState": {
"description": "CommitStatusState holds the state of a CommitStatus\nIt can be \"pending\", \"success\", \"error\" and \"failure\"",
"type": "string",
"x-go-package": "code.gitea.io/gitea/modules/structs"
"x-go-package": "code.gitea.io/gitea/modules/commitstatus"
},
"CommitUser": {
"type": "object",