mirror of
https://github.com/go-gitea/gitea
synced 2025-02-26 06:44:19 +00:00
Update Swagger template
This commit is contained in:
parent
38d1197a39
commit
5625bc505b
71
templates/swagger/v1_json.tmpl
generated
71
templates/swagger/v1_json.tmpl
generated
@ -21527,6 +21527,68 @@
|
||||
},
|
||||
"x-go-package": "code.gitea.io/gitea/modules/structs"
|
||||
},
|
||||
"Task": {
|
||||
"description": "Task represents a task",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer",
|
||||
"x-go-name": "Id"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"x-go-name": "Name"
|
||||
},
|
||||
"head_branch": {
|
||||
"type": "string",
|
||||
"x-go-name": "HeadBranch"
|
||||
},
|
||||
"head_sha": {
|
||||
"type": "string",
|
||||
"x-go-name": "HeadSha"
|
||||
},
|
||||
"run_number": {
|
||||
"type": "integer",
|
||||
"x-go-name": "RunNumber"
|
||||
},
|
||||
"event": {
|
||||
"type": "string",
|
||||
"x-go-name": "Event"
|
||||
},
|
||||
"display_title": {
|
||||
"type": "string",
|
||||
"x-go-name": "DisplayTitle"
|
||||
},
|
||||
"status": {
|
||||
"type": "string",
|
||||
"x-go-name": "Status"
|
||||
},
|
||||
"workflow_id": {
|
||||
"type": "string",
|
||||
"x-go-name": "WorkflowID"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"x-go-name": "Url"
|
||||
},
|
||||
"created_at":{
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name":"CreatedAt"
|
||||
},
|
||||
"updated_at":{
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name":"UpdatedAt"
|
||||
},
|
||||
"run_started_at":{
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name":"RunStartedAt"
|
||||
}
|
||||
},
|
||||
"x-go-package": "code.gitea.io/gitea/modules/structs"
|
||||
},
|
||||
"Tag": {
|
||||
"description": "Tag represents a repository tag",
|
||||
"type": "object",
|
||||
@ -23075,6 +23137,15 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"TasksList": {
|
||||
"description": "TasksList",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/Task"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Tag": {
|
||||
"description": "Tag",
|
||||
"schema": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user