diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2022-09-22 21:58:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-22 21:58:31 +0800 |
commit | 20c135cd468a5c7f84994787ffb8ee0db4d87da9 (patch) | |
tree | 0c40a2848c4ae64c0ade79b0825c0bda4deee381 /templates | |
parent | 937ef6fa906cd6ea28e181cfa92bacf409a75f69 (diff) | |
download | gitea-20c135cd468a5c7f84994787ffb8ee0db4d87da9.tar.gz gitea-20c135cd468a5c7f84994787ffb8ee0db4d87da9.zip |
Use Go 1.19 fmt for Gitea 1.17, sync emoji data (#21239)
The images used by Gitea's drone pipeline were upgraded to Go 1.19.x
It causes the lint fails because Go 1.19 uses new code format.
This PR partially backport #20758 (including the emoji-data sync),
partially fix the format manually.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 25088d8b60..934b30ae5d 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -12421,6 +12421,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", @@ -15619,7 +15631,6 @@ "$ref": "#/definitions/FileCommitResponse" }, "content": { - "type": "object", "x-go-name": "Content" }, "verification": { @@ -18661,7 +18672,6 @@ "x-go-name": "Ignored" }, "reason": { - "type": "object", "x-go-name": "Reason" }, "repository_url": { |