Fix api templates

Signed-off-by: Chuan-Yen Chiang <cychiang0823@gmail.com>
This commit is contained in:
Chuan-Yen Chiang 2025-04-30 22:14:45 +08:00
parent 020ecb69a6
commit d8899745c7
1 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,8 @@ type {{ .Env.KIND }}Parameters struct {
// {{ .Env.KIND }}Observation are the observable fields of a {{ .Env.KIND }}.
type {{ .Env.KIND }}Observation struct {
ObservableField string `json:"observableField,omitempty"`
ConfigurableField string `json:"configurableField"`
ObservableField string `json:"observableField,omitempty"`
}
// A {{ .Env.KIND }}Spec defines the desired state of a {{ .Env.KIND }}.