aboutsummaryrefslogtreecommitdiffstats
path: root/templates/swagger
diff options
context:
space:
mode:
authorNorwin <noerw@users.noreply.github.com>2021-09-18 03:01:50 +0200
committerGitHub <noreply@github.com>2021-09-17 21:01:50 -0400
commit0b368aa73d54eca0d30de3c4a580eadadabbe3e3 (patch)
treeebbe0c7b08600adaacba1bcda3a55a75ae67423a /templates/swagger
parent25533657f6a3edd2d12c8b8112d009559a136201 (diff)
downloadgitea-0b368aa73d54eca0d30de3c4a580eadadabbe3e3.tar.gz
gitea-0b368aa73d54eca0d30de3c4a580eadadabbe3e3.zip
OpenAPI: correct documentation of issue listing parameters (#17060)
* correct documentation of issue listing parameters * make generate-swagger Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/swagger')
-rw-r--r--templates/swagger/v1_json.tmpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 9b5f059504..69081777dc 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -4334,32 +4334,32 @@
{
"type": "string",
"format": "date-time",
- "description": "Only show notifications updated after the given time. This is a timestamp in RFC 3339 format",
+ "description": "Only show items updated after the given time. This is a timestamp in RFC 3339 format",
"name": "since",
"in": "query"
},
{
"type": "string",
"format": "date-time",
- "description": "Only show notifications updated before the given time. This is a timestamp in RFC 3339 format",
+ "description": "Only show items updated before the given time. This is a timestamp in RFC 3339 format",
"name": "before",
"in": "query"
},
{
"type": "string",
- "description": "filter (issues / pulls) created to",
+ "description": "Only show items which were created by the the given user",
"name": "created_by",
"in": "query"
},
{
"type": "string",
- "description": "filter (issues / pulls) assigned to",
+ "description": "Only show items for which the given user is assigned",
"name": "assigned_by",
"in": "query"
},
{
"type": "string",
- "description": "filter (issues / pulls) mentioning to",
+ "description": "Only show items in which the given user was mentioned",
"name": "mentioned_by",
"in": "query"
},