Skip to content

Commit 82d6411

Browse files
committed
fix tests
1 parent ba09a12 commit 82d6411

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

coderd/apidoc/docs.go

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/apidoc/swagger.json

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/templates.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import (
3939
// Returns a single template.
4040
//
4141
// @Summary Get template settings by ID
42-
// @ID get-template-metadata-by-id
42+
// @ID get-template-settings-by-id
4343
// @Security CoderSessionToken
4444
// @Produce json
4545
// @Tags Templates
@@ -630,8 +630,9 @@ func (api *API) templateByOrganizationAndName(rw http.ResponseWriter, r *http.Re
630630
}
631631

632632
// @Summary Update template settings by ID
633-
// @ID update-template-metadata-by-id
633+
// @ID update-template-settings-by-id
634634
// @Security CoderSessionToken
635+
// @Accept json
635636
// @Produce json
636637
// @Tags Templates
637638
// @Param template path string true "Template ID" format(uuid)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy