aboutsummaryrefslogtreecommitdiffstats
path: root/templates/swagger
diff options
context:
space:
mode:
authorYarden Shoham <hrsi88@gmail.com>2022-11-15 11:33:52 +0200
committerGitHub <noreply@github.com>2022-11-15 11:33:52 +0200
commit6c8ff32511f4295fa381a0144a7200e4eff273d6 (patch)
tree0d39fcde7d58c9beaff639d98692beb06e8cda1b /templates/swagger
parentc772934ff623b3a76efbe306f597695330a71287 (diff)
downloadgitea-6c8ff32511f4295fa381a0144a7200e4eff273d6.tar.gz
gitea-6c8ff32511f4295fa381a0144a7200e4eff273d6.zip
Add `updated_at` field to PullReview API object (#21812)
* Closes #19997 Adds an `updated_at` time field to the `PullReview` API object to specify when the pull request review's state changed. Signed-off-by: Yarden Shoham <hrsi88@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'templates/swagger')
-rw-r--r--templates/swagger/v1_json.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 229e219064..fe3185ea77 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -17891,6 +17891,11 @@
"team": {
"$ref": "#/definitions/Team"
},
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "x-go-name": "Updated"
+ },
"user": {
"$ref": "#/definitions/User"
}