Skip to content

Commit 655c906

Browse files
committed
Fix swagger accept json
1 parent d9bfea5 commit 655c906

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/templateversions.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,6 +1019,7 @@ func (api *API) previousTemplateVersionByOrganizationTemplateAndName(rw http.Res
10191019
// @Produce json
10201020
// @Tags Templates
10211021
// @Param template path string true "Template ID" format(uuid)
1022+
// @Param request body codersdk.ArchiveTemplateVersionsRequest true "Archive request"
10221023
// @Success 200 {object} codersdk.Response
10231024
// @Router /templates/{template}/versions/archive [post]
10241025
func (api *API) postArchiveTemplateVersions(rw http.ResponseWriter, r *http.Request) {

0 commit comments

Comments
 (0)