mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: prompt when parameter options are incompatible (#9247)
This commit is contained in:
Generated
-3
@@ -8440,11 +8440,9 @@ const docTemplate = `{
|
||||
"codersdk.JobErrorCode": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"MISSING_TEMPLATE_PARAMETER",
|
||||
"REQUIRED_TEMPLATE_VARIABLES"
|
||||
],
|
||||
"x-enum-varnames": [
|
||||
"MissingTemplateParameter",
|
||||
"RequiredTemplateVariables"
|
||||
]
|
||||
},
|
||||
@@ -8978,7 +8976,6 @@ const docTemplate = `{
|
||||
},
|
||||
"error_code": {
|
||||
"enum": [
|
||||
"MISSING_TEMPLATE_PARAMETER",
|
||||
"REQUIRED_TEMPLATE_VARIABLES"
|
||||
],
|
||||
"allOf": [
|
||||
|
||||
Generated
+3
-6
@@ -7572,11 +7572,8 @@
|
||||
},
|
||||
"codersdk.JobErrorCode": {
|
||||
"type": "string",
|
||||
"enum": ["MISSING_TEMPLATE_PARAMETER", "REQUIRED_TEMPLATE_VARIABLES"],
|
||||
"x-enum-varnames": [
|
||||
"MissingTemplateParameter",
|
||||
"RequiredTemplateVariables"
|
||||
]
|
||||
"enum": ["REQUIRED_TEMPLATE_VARIABLES"],
|
||||
"x-enum-varnames": ["RequiredTemplateVariables"]
|
||||
},
|
||||
"codersdk.License": {
|
||||
"type": "object",
|
||||
@@ -8070,7 +8067,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"error_code": {
|
||||
"enum": ["MISSING_TEMPLATE_PARAMETER", "REQUIRED_TEMPLATE_VARIABLES"],
|
||||
"enum": ["REQUIRED_TEMPLATE_VARIABLES"],
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/codersdk.JobErrorCode"
|
||||
|
||||
Reference in New Issue
Block a user