From e813efdf3781f3b01a4da1d292040f118abbc8a9 Mon Sep 17 00:00:00 2001 From: Nirmal Kumar R Date: Tue, 5 Nov 2024 00:02:58 +0000 Subject: [PATCH] Generate swagger for branchPath and relativePath --- templates/swagger/v1_json.tmpl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index fd147f44a2..4f5bf8d29d 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -24322,6 +24322,10 @@ "description": "MarkupOption markup options", "type": "object", "properties": { + "BranchPath": { + "description": "The current branch path where the form gets posted\n\nin: body", + "type": "string" + }, "Context": { "description": "Context to render\n\nin: body", "type": "string" @@ -24334,6 +24338,10 @@ "description": "Mode to render (comment, gfm, markdown, file)\n\nin: body", "type": "string" }, + "RelativePath": { + "description": "Relative path to the repository\n\nin: body", + "type": "string" + }, "Text": { "description": "Text markup to render\n\nin: body", "type": "string"