summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2020-01-13 17:02:24 +0100
committerAntoine GIRARD <sapk@users.noreply.github.com>2020-01-13 17:02:24 +0100
commit0b3aaa61964faa85b8008b04487388cc362ab436 (patch)
treecc6a3eda4780b7c8aa2d9e108a8a0ec393fbbb83 /templates
parentb7ffc6a096bdb231d95ecbb5db878e3d8b2b63c9 (diff)
downloadgitea-0b3aaa61964faa85b8008b04487388cc362ab436.tar.gz
gitea-0b3aaa61964faa85b8008b04487388cc362ab436.zip
[API] Add "before" query to ListIssueComments and ListRepoIssue… (#9685)
* add "before" query to ListIssueComments and ListRepoIssueComments * Add TEST Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/swagger/v1_json.tmpl16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index de774de9fb..a2baac1364 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -3196,9 +3196,17 @@
},
{
"type": "string",
+ "format": "date-time",
"description": "if provided, only comments updated since the provided time are returned.",
"name": "since",
"in": "query"
+ },
+ {
+ "type": "string",
+ "format": "date-time",
+ "description": "if provided, only comments updated before the provided time are returned.",
+ "name": "before",
+ "in": "query"
}
],
"responses": {
@@ -3652,9 +3660,17 @@
},
{
"type": "string",
+ "format": "date-time",
"description": "if provided, only comments updated since the specified time are returned.",
"name": "since",
"in": "query"
+ },
+ {
+ "type": "string",
+ "format": "date-time",
+ "description": "if provided, only comments updated before the provided time are returned.",
+ "name": "before",
+ "in": "query"
}
],
"responses": {