Skip to content

Commit 00f7e92

Browse files
authored
cleanup(sidekick): bad comment (#2392)
1 parent 5979bfd commit 00f7e92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/sidekick/internal/parser/discovery/message_fields.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func makeScalarField(model *api.API, message *api.Message, name string, schema *
7373
}
7474
return &api.Field{
7575
Name: name,
76-
JSONName: name, // OpenAPI field names are always camelCase
76+
JSONName: name, // Discovery doc field names are always camelCase
7777
ID: fmt.Sprintf("%s.%s", message.ID, name),
7878
Documentation: schema.Description,
7979
Typez: typez,

0 commit comments

Comments
 (0)