feat: edit org display names and descriptions (#13474)

This commit is contained in:
Kayla Washburn-Love
2024-06-06 10:59:59 -06:00
committed by GitHub
parent 1131772e79
commit 44a70a5bc2
22 changed files with 359 additions and 90 deletions

23
coderd/apidoc/docs.go generated
View File

@ -8973,6 +8973,13 @@ const docTemplate = `{
"name"
],
"properties": {
"description": {
"type": "string"
},
"display_name": {
"description": "DisplayName will default to the same value as ` + "`" + `Name` + "`" + ` if not provided.",
"type": "string"
},
"name": {
"type": "string"
}
@ -10587,6 +10594,7 @@ const docTemplate = `{
"type": "object",
"required": [
"created_at",
"display_name",
"id",
"is_default",
"name",
@ -10597,6 +10605,12 @@ const docTemplate = `{
"type": "string",
"format": "date-time"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"id": {
"type": "string",
"format": "uuid"
@ -12305,10 +12319,13 @@ const docTemplate = `{
},
"codersdk.UpdateOrganizationRequest": {
"type": "object",
"required": [
"name"
],
"properties": {
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"name": {
"type": "string"
}