Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0796e9c

Browse files
committed
improve annotations for endpoint
1 parent61ef026 commit0796e9c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎coderd/provisionerkeys.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@ import (
1313
// Returns tags from a provisioner key.
1414
// The purpose of this function is to return the provisioner tags
1515
// associated with the provisioner key using the ID.
16-
// GET /provisionerkeys/{provisionerkeyid}/tags
16+
// @Summary Get provisioner key tags by ID
17+
// @ID get-provisioner-key-tags-by-id
18+
// @Produce json
19+
// @Tags Provisioner-Keys
20+
// @Param provisionerkeyid path string true "Provisioner Key ID" format(uuid)
21+
// @Success 200 {object} codersdk.ProvisionerKeyTags
22+
// @Router /provisionerkeys/{provisionerkeyid}/tags [get]
1723
func (api*API)getProvisionKeyTags(rw http.ResponseWriter,r*http.Request) {
1824
var (
1925
ctx=r.Context()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp