mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
feat: mark coder_parameter as "required" (#6433)
* Add required column * Pass through providerd * Pass the required property down * Optional * Fix * Fix * Fix * fix * CLI create: support for optional fields * Use HTML API to mark fields required * Fix * Improve validation * more fixes * make fmt * Fix * WIP * Fix: test * CLI update tets * OptionalParameterAdded * Fix: migration
This commit is contained in:
@ -2205,6 +2205,7 @@ curl -X GET http://coder-server:8080/api/v2/templateversions/{templateversion}/r
|
||||
"value": "string"
|
||||
}
|
||||
],
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"validation_error": "string",
|
||||
"validation_max": 0,
|
||||
@ -2239,6 +2240,7 @@ Status Code **200**
|
||||
| `»» icon` | string | false | | |
|
||||
| `»» name` | string | false | | |
|
||||
| `»» value` | string | false | | |
|
||||
| `» required` | boolean | false | | |
|
||||
| `» type` | string | false | | |
|
||||
| `» validation_error` | string | false | | |
|
||||
| `» validation_max` | integer | false | | |
|
||||
|
Reference in New Issue
Block a user