diff options
author | Andrew Imeson <andrew@andrewimeson.com> | 2022-10-07 08:49:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 20:49:30 +0800 |
commit | d94f15c2fd921722796a4cfdbbf266dd3017525c (patch) | |
tree | 6abb2770ae4468325cd476bb193d39e028e9dfa2 /templates | |
parent | 81d7270cde2960d52f5d987ec8b3fc3c679724a6 (diff) | |
download | gitea-d94f15c2fd921722796a4cfdbbf266dd3017525c.tar.gz gitea-d94f15c2fd921722796a4cfdbbf266dd3017525c.zip |
Make external issue tracker regexp configurable via API (#21338)
Fixes #21336
Signed-off-by: Andrew Imeson <andrew@andrewimeson.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 5ca3794710..728e88b734 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -16015,8 +16015,13 @@ "type": "string", "x-go-name": "ExternalTrackerFormat" }, + "external_tracker_regexp_pattern": { + "description": "External Issue Tracker issue regular expression", + "type": "string", + "x-go-name": "ExternalTrackerRegexpPattern" + }, "external_tracker_style": { - "description": "External Issue Tracker Number Format, either `numeric` or `alphanumeric`", + "description": "External Issue Tracker Number Format, either `numeric`, `alphanumeric`, or `regexp`", "type": "string", "x-go-name": "ExternalTrackerStyle" }, |