Skip to content

Commit a8aa2bd

Browse files
committed
swagger
1 parent 5ebb573 commit a8aa2bd

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

coderd/apidoc/docs.go

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

enterprise/coderd/roles.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import (
2121
// @Summary Upsert a custom organization role
2222
// @ID upsert-a-custom-organization-role
2323
// @Security CoderSessionToken
24+
// @Accept json
2425
// @Produce json
2526
// @Param organization path string true "Organization ID" format(uuid)
2627
// @Param request body codersdk.PatchRoleRequest true "Upsert role request"

0 commit comments

Comments
 (0)