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:
parent
0baf8c5f32
commit
2bf94b72f8
30
templates/swagger/v1_json.tmpl
generated
30
templates/swagger/v1_json.tmpl
generated
@ -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": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user