feat: Add template version warnings (#7483)

This commit is contained in:
Marcin Tojek
2023-05-12 11:21:49 +02:00
committed by GitHub
parent 8f768f8276
commit cd38cb8290
18 changed files with 373 additions and 27 deletions

18
coderd/apidoc/docs.go generated
View File

@ -9040,6 +9040,15 @@ const docTemplate = `{
"updated_at": {
"type": "string",
"format": "date-time"
},
"warnings": {
"type": "array",
"items": {
"enum": [
"DEPRECATED_PARAMETERS"
],
"$ref": "#/definitions/codersdk.TemplateVersionWarning"
}
}
}
},
@ -9178,6 +9187,15 @@ const docTemplate = `{
}
}
},
"codersdk.TemplateVersionWarning": {
"type": "string",
"enum": [
"DEPRECATED_PARAMETERS"
],
"x-enum-varnames": [
"TemplateVersionWarningDeprecatedParameters"
]
},
"codersdk.TokenConfig": {
"type": "object",
"properties": {