diff options
author | Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> | 2020-06-05 13:41:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-05 14:41:06 +0300 |
commit | 5acba4609a8eb060d91faf42c771da1a62c0170b (patch) | |
tree | 71febdaaebad925165b24cb61633ade5355caedf /templates/swagger | |
parent | f761a37a0f024ea54c4eee9cbae22377616e84e0 (diff) | |
download | gitea-5acba4609a8eb060d91faf42c771da1a62c0170b.tar.gz gitea-5acba4609a8eb060d91faf42c771da1a62c0170b.zip |
Add internal-repo octicon for public repos of private org (#11529)
* Show multiple octicons on repo list
* fix mixed spaces/tabs
* Internal repo octicon
* show internal icon in dashboard repolist
* swagger
* fix icon for normal repo on repo page
* don't expose owner visibility directly; provide internal in repo api
* fix icons for forks and mirrors
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'templates/swagger')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index d90fafd75f..456d41b9d4 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -14056,6 +14056,10 @@ "type": "boolean", "x-go-name": "IgnoreWhitespaceConflicts" }, + "internal": { + "type": "boolean", + "x-go-name": "Internal" + }, "internal_tracker": { "$ref": "#/definitions/InternalTracker" }, |