summaryrefslogtreecommitdiffstats
path: root/templates/swagger/v1_json.tmpl
diff options
context:
space:
mode:
authorPeter GardfjÀll <peter.gardfjall.work@gmail.com>2022-01-18 14:18:30 +0100
committerGitHub <noreply@github.com>2022-01-18 13:18:30 +0000
commit89a321435259afa911900c0047f2766d255d315b (patch)
tree6de3e83e6fc171c8b3c273c6b4d45eb760d79695 /templates/swagger/v1_json.tmpl
parent68b59d89669897b8dd1d5da6a470e02601819375 (diff)
downloadgitea-89a321435259afa911900c0047f2766d255d315b.tar.gz
gitea-89a321435259afa911900c0047f2766d255d315b.zip
Add MirrorUpdated field to Repository API type (#18267)
Add the last update time to the repository api type. Close #18266
Diffstat (limited to 'templates/swagger/v1_json.tmpl')
-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 7588261256..bba728363a 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -17195,6 +17195,11 @@
"type": "string",
"x-go-name": "MirrorInterval"
},
+ "mirror_updated": {
+ "type": "string",
+ "format": "date-time",
+ "x-go-name": "MirrorUpdated"
+ },
"name": {
"type": "string",
"x-go-name": "Name"