feat: add base template variables to API (#26425)

This commit is contained in:
Jeremy Ruppel
2026-06-17 12:22:35 -04:00
committed by GitHub
parent 6c95a618b4
commit 87de6dc23e
11 changed files with 258 additions and 54 deletions
+18
View File
@@ -23621,6 +23621,12 @@ const docTemplate = `{
},
"os": {
"type": "string"
},
"variables": {
"type": "array",
"items": {
"$ref": "#/definitions/codersdk.TemplateBuilderModuleVariable"
}
}
}
},
@@ -23655,6 +23661,12 @@ const docTemplate = `{
"base_template_id": {
"type": "string"
},
"base_variable_values": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"modules": {
"type": "array",
"items": {
@@ -23684,6 +23696,12 @@ const docTemplate = `{
"base_template_id": {
"type": "string"
},
"base_variable_values": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"description": {
"type": "string"
},
+18
View File
@@ -21671,6 +21671,12 @@
},
"os": {
"type": "string"
},
"variables": {
"type": "array",
"items": {
"$ref": "#/definitions/codersdk.TemplateBuilderModuleVariable"
}
}
}
},
@@ -21705,6 +21711,12 @@
"base_template_id": {
"type": "string"
},
"base_variable_values": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"modules": {
"type": "array",
"items": {
@@ -21731,6 +21743,12 @@
"base_template_id": {
"type": "string"
},
"base_variable_values": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"description": {
"type": "string"
},