From 91ee3be58868eca4cf678932535dd721d591e06e Mon Sep 17 00:00:00 2001 From: zeripath Date: Fri, 12 Mar 2021 04:43:04 +0000 Subject: Prevent incorrect HTML escaping in swagger.json (#14957) * Prevent incorrect HTML escaping in swagger.json Fix #14706 Signed-off-by: Andrew Thornton * oops add it to the helper Signed-off-by: Andrew Thornton * try again Signed-off-by: Andrew Thornton Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: techknowlogick --- routers/api/v1/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers') diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go index 57bcdf49f6..60c4f6d790 100644 --- a/routers/api/v1/api.go +++ b/routers/api/v1/api.go @@ -9,7 +9,7 @@ // // Schemes: http, https // BasePath: /api/v1 -// Version: {{AppVer}} +// Version: {{AppVer | JSEscape | Safe}} // License: MIT http://opensource.org/licenses/MIT // // Consumes: -- cgit v1.2.3