summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2022-08-30 21:15:45 -0500
committerGitHub <noreply@github.com>2022-08-30 21:15:45 -0500
commita48d6ba4b4be4207a2c78c36b095fb69938e5ae5 (patch)
tree6b77af95e14bb9216b6b5dca321a5804a63cfced /templates
parent3edc14b687626f5ca1b4ecbe1d0d400b058f8dac (diff)
downloadgitea-a48d6ba4b4be4207a2c78c36b095fb69938e5ae5.tar.gz
gitea-a48d6ba4b4be4207a2c78c36b095fb69938e5ae5.zip
Go 1.19 format (#20758)
* 1.19 gofumpt Signed-off-by: jolheiser <john.olheiser@gmail.com> * Change CSV test Signed-off-by: jolheiser <john.olheiser@gmail.com> * Commit whitespace fixes from @zeripath Co-authored-by: zeripath <art27@cantab.net> * Update emoji Signed-off-by: jolheiser <john.olheiser@gmail.com> * bump swagger & fix generate-swagger Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'templates')
-rw-r--r--templates/swagger/v1_json.tmpl14
1 files changed, 12 insertions, 2 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 5dcb4787e0..cc6399cab4 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -12700,6 +12700,18 @@
"operationId": "userCurrentTrackedTimes",
"parameters": [
{
+ "type": "integer",
+ "description": "page number of results to return (1-based)",
+ "name": "page",
+ "in": "query"
+ },
+ {
+ "type": "integer",
+ "description": "page size of results",
+ "name": "limit",
+ "in": "query"
+ },
+ {
"type": "string",
"format": "date-time",
"description": "Only show times updated after the given time. This is a timestamp in RFC 3339 format",
@@ -15936,7 +15948,6 @@
"$ref": "#/definitions/FileCommitResponse"
},
"content": {
- "type": "object",
"x-go-name": "Content"
},
"verification": {
@@ -18933,7 +18944,6 @@
"x-go-name": "Ignored"
},
"reason": {
- "type": "object",
"x-go-name": "Reason"
},
"repository_url": {