Skip to content

Commit 4ba160d

Browse files
committed
Fix swagger docs
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent 821fdf5 commit 4ba160d

File tree

4 files changed

+36
-11
lines changed

4 files changed

+36
-11
lines changed

coderd/apidoc/docs.go

Lines changed: 12 additions & 3 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: 12 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/api/enterprise.md

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

enterprise/coderd/notifications.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ import (
1515
)
1616

1717
// @Summary Update notification template dispatch method
18-
// @ID put-notification-template-method
18+
// @ID update-notification-template-dispatch-method
1919
// @Security CoderSessionToken
2020
// @Produce json
21+
// @Param notification_template path string true "Notification template UUID"
2122
// @Tags Enterprise
22-
// @Success 200
23-
// @Success 304
23+
// @Success 200 "Success"
24+
// @Success 304 "Not modified"
2425
// @Router /notifications/templates/{notification_template}/method [put]
2526
func (api *API) updateNotificationTemplateMethod(rw http.ResponseWriter, r *http.Request) {
2627
var (

0 commit comments

Comments
 (0)