mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
chore: don't require an organization to read starter templates (#14190)
This commit is contained in:
committed by
GitHub
parent
fab196043e
commit
ff785588fe
29
coderd/apidoc/docs.go
generated
29
coderd/apidoc/docs.go
generated
@ -3000,6 +3000,7 @@ const docTemplate = `{
|
||||
],
|
||||
"summary": "Get template examples by organization",
|
||||
"operationId": "get-template-examples-by-organization",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
@ -3421,6 +3422,34 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/templates/examples": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"CoderSessionToken": []
|
||||
}
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Templates"
|
||||
],
|
||||
"summary": "Get template examples",
|
||||
"operationId": "get-template-examples",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/codersdk.TemplateExample"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/templates/{template}": {
|
||||
"get": {
|
||||
"security": [
|
||||
|
Reference in New Issue
Block a user