diff --git a/routers/api/v1/swagger/options.go b/routers/api/v1/swagger/options.go index e6168afdad2..cf2dc951153 100644 --- a/routers/api/v1/swagger/options.go +++ b/routers/api/v1/swagger/options.go @@ -225,5 +225,5 @@ type swaggerParameterBodies struct { // in:body UpdateProjectPayload api.UpdateProjectPayload - LockIssueOption api.LockIssueOption + LockIssueOption api.LockIssueOption } diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index b2f14165fc9..e4a86d3895a 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -26987,7 +26987,7 @@ "board_type": { "type": "integer", "format": "uint8", - "x-go-name": "BoardType" + "x-go-name": "TemplateType" }, "closed_at": { "type": "string", @@ -30151,6 +30151,9 @@ "description": "parameterBodies", "schema": { "$ref": "#/definitions/LockIssueOption" + }, + "headers": { + "LockIssueOption": {} } }, "redirect": { @@ -30249,3 +30252,4 @@ "TOTPHeader": [] } ] +} \ No newline at end of file