diff --git a/cmd/wp-matrix/templates/docs-data.yaml.tmpl b/cmd/wp-matrix/templates/docs-data.yaml.tmpl index 7342910..e453a95 100644 --- a/cmd/wp-matrix/templates/docs-data.yaml.tmpl +++ b/cmd/wp-matrix/templates/docs-data.yaml.tmpl @@ -11,7 +11,7 @@ properties: type: {{ . }} {{- end }} {{- with $v.Default }} - defaultvalue: {{ . }} + defaultValue: {{ . }} {{- end }} required: {{ default false $v.Required }} {{ end -}} diff --git a/docs/data/data.yaml b/docs/data/data.yaml index bb39a3f..15bd5e5 100644 --- a/docs/data/data.yaml +++ b/docs/data/data.yaml @@ -10,7 +10,7 @@ properties: description: | Matrix home server url. type: string - defaultvalue: "https://matrix.org" + defaultValue: "https://matrix.org" required: false - name: password @@ -33,7 +33,7 @@ properties: to the template and all fields can be referenced. To extend the functionality, [sprig functions](https://masterminds.github.io/sprig/) can also be used. type: string - defaultvalue: | + defaultValue: | Status: **{{ .Pipeline.Status }}** Build: [{{ .Repository.Slug }}]({{ .Pipeline.URL }}){{ if .Curr.Branch }} ({{ .Curr.Branch }}){{ end }} by {{ .Curr.Author.Name }} Message: {{ .Curr.Title }}{{ if .Curr.URL }} ([source]({{ .Curr.URL }})){{ end }} @@ -47,7 +47,7 @@ properties: it may be necessary to activate this option. In such cases, please ensure that the CI configuration files in the git repository are protected against malicious changes. type: bool - defaultvalue: false + defaultValue: false required: false - name: user_id