Skip to content

Commit 0a0a4b0

Browse files
committed
fix some escaping issues in the json tags
1 parent eb7f519 commit 0a0a4b0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/buildkite/annotations.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ type CreateAnnotationArgs struct {
3232
PipelineSlug string `json:"pipeline_slug"`
3333
BuildNumber string `json:"build_number"`
3434
Body string `json:"body" jsonschema:"The annotation body as HTML or Markdown"`
35-
Style string `json:"style,omitempty" jsonschema:"Optional annotation style: success\, info\, warning\, or error"`
35+
Style string `json:"style,omitempty" jsonschema:"Optional annotation style: success, info, warning, or error"`
3636
Priority int `json:"priority,omitempty" jsonschema:"Optional annotation priority from 1 to 10"`
3737
Context string `json:"context,omitempty" jsonschema:"Optional annotation context used to identify or append to an annotation"`
3838
Append bool `json:"append,omitempty" jsonschema:"Append the body to an existing annotation with the same context"`
@@ -60,7 +60,7 @@ type CreateJobAnnotationArgs struct {
6060
BuildNumber string `json:"build_number"`
6161
JobID string `json:"job_id"`
6262
Body string `json:"body" jsonschema:"The annotation body as HTML or Markdown"`
63-
Style string `json:"style,omitempty" jsonschema:"Optional annotation style: success\, info\, warning\, or error"`
63+
Style string `json:"style,omitempty" jsonschema:"Optional annotation style: success, info, warning, or error"`
6464
Priority int `json:"priority,omitempty" jsonschema:"Optional annotation priority from 1 to 10"`
6565
Context string `json:"context,omitempty" jsonschema:"Optional annotation context used to identify or append to an annotation"`
6666
Append bool `json:"append,omitempty" jsonschema:"Append the body to an existing annotation with the same context"`

0 commit comments

Comments
 (0)