diff options
author | 赵智超 <1012112796@qq.com> | 2020-09-25 13:18:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-25 13:18:37 +0800 |
commit | 3c360801b3547cba80766403c0ee2835cb81272d (patch) | |
tree | ede959cb670140686ac8fcd7000f06fd50bac382 /templates/swagger | |
parent | 7a7f56044ae0b94d9f5e733d863821dbe222a395 (diff) | |
download | gitea-3c360801b3547cba80766403c0ee2835cb81272d.tar.gz gitea-3c360801b3547cba80766403c0ee2835cb81272d.zip |
Add IsTemplate option in create repo ui and api (#12942)
Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'templates/swagger')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index e383448933..51a618ae4d 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -12063,6 +12063,11 @@ "type": "string", "x-go-name": "Readme" }, + "template": { + "description": "Whether the repository is template", + "type": "boolean", + "x-go-name": "Template" + }, "trust_model": { "description": "TrustModel of the repository", "type": "string", |