feat: enable setting max port share level during template creation (#14366)

This commit is contained in:
Ethan
2024-08-20 22:48:39 +10:00
committed by GitHub
parent 2bef1752f1
commit cca4519420
9 changed files with 77 additions and 2 deletions

8
coderd/apidoc/docs.go generated
View File

@ -9220,6 +9220,14 @@ const docTemplate = `{
"description": "Icon is a relative path or external URL that specifies\nan icon to be displayed in the dashboard.",
"type": "string"
},
"max_port_share_level": {
"description": "MaxPortShareLevel allows optionally specifying the maximum port share level\nfor workspaces created from the template.",
"allOf": [
{
"$ref": "#/definitions/codersdk.WorkspaceAgentPortShareLevel"
}
]
},
"name": {
"description": "Name is the name of the template.",
"type": "string"