Skip to content

Commit 82fda96

Browse files
authored
fix: address a typo in the Message.ServicePlaceholder docs (#2616)
- address a typo in the `Message.ServicePlaceholder` docs
1 parent afc18b6 commit 82fda96

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

internal/sidekick/internal/api/model.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ type API struct {
150150
Messages []*Message
151151
// Enums
152152
Enums []*Enum
153-
// Language specific annotations
153+
// Language specific annotations.
154154
Codec any
155155

156156
// State contains helpful information that can be used when generating
@@ -208,7 +208,7 @@ type Service struct {
208208
// The model this service belongs to, mustache templates use this field to
209209
// navigate the data structure.
210210
Model *API
211-
// Language specific annotations
211+
// Language specific annotations.
212212
Codec any
213213
}
214214

@@ -372,7 +372,7 @@ type PathInfo struct {
372372
//
373373
// If this is empty then the body is not used.
374374
BodyFieldPath string
375-
// Language specific annotations
375+
// Language specific annotations.
376376
Codec any
377377
}
378378

@@ -391,7 +391,7 @@ type PathBinding struct {
391391
PathTemplate *PathTemplate
392392
// Query parameter fields.
393393
QueryParameters map[string]bool
394-
// Language specific annotations
394+
// Language specific annotations.
395395
Codec any
396396
}
397397

@@ -405,7 +405,7 @@ type OperationInfo struct {
405405
ResponseTypeID string
406406
// The method.
407407
Method *Method
408-
// Language specific annotations
408+
// Language specific annotations.
409409
Codec any
410410
}
411411

@@ -618,7 +618,7 @@ type Message struct {
618618
// These messages are created by sidekick when parsing Discovery docs and
619619
// OpenAPI specifications. All the synthetic messages for a service need to
620620
// be grouped under a unique namespace to avoid clashes with similar
621-
// synthetic messages in other service. Sidekick creates a placeholder
621+
// synthetic messages in other services. Sidekick creates a placeholder
622622
// message that represents "the service".
623623
//
624624
// That is, `service1` and `service2` may both have a synthetic `getRequest`

0 commit comments

Comments
 (0)