0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-12-10 00:18:33 +01:00

fix swagger documentations

This commit is contained in:
Lunny Xiao 2025-08-19 11:58:57 -07:00
parent 0baf8c5f32
commit 2bf94b72f8

View File

@ -22085,14 +22085,23 @@
"CodeSearchResult": {
"type": "object",
"properties": {
"git_url": {
"type": "string",
"x-go-name": "GitURL"
"Color": {
"type": "string"
},
"Lines": {
"type": "array",
"items": {
"$ref": "#/definitions/CodeSearchResultLine"
}
},
"html_url": {
"type": "string",
"x-go-name": "HTMLURL"
},
"language": {
"type": "string",
"x-go-name": "Language"
},
"name": {
"type": "string",
"x-go-name": "Name"
@ -22132,6 +22141,21 @@
},
"x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CodeSearchResultLine": {
"type": "object",
"properties": {
"line_number": {
"type": "integer",
"format": "int64",
"x-go-name": "LineNumber"
},
"raw_content": {
"type": "string",
"x-go-name": "RawContent"
}
},
"x-go-package": "code.gitea.io/gitea/modules/structs"
},
"CodeSearchResults": {
"type": "object",
"properties": {