Skip to content

Commit 9a16182

Browse files
Fix docsgen OutputOnly check for string type
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e9a3c12 commit 9a16182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundle/docsgen/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ func assignAnnotation(s *jsonschema.Schema, a annotation.Descriptor) {
141141
s.DoNotSuggest = true
142142
s.Preview = a.Preview
143143
}
144-
if a.OutputOnly != nil && *a.OutputOnly {
144+
if a.OutputOnly == "true" {
145145
s.DoNotSuggest = true
146146
}
147147
}

0 commit comments

Comments
 (0)