@@ -196,8 +196,8 @@ type MinimalIssue struct {
196196// MinimalIssuesResponse is the trimmed output for a paginated list of issues.
197197type MinimalIssuesResponse struct {
198198 Issues []MinimalIssue `json:"issues"`
199- TotalCount int `json:"total_count "`
200- PageInfo MinimalPageInfo `json:"page_info "`
199+ TotalCount int `json:"totalCount "`
200+ PageInfo MinimalPageInfo `json:"pageInfo "`
201201}
202202
203203// MinimalIssueComment is the trimmed output type for issue comment objects to reduce verbosity.
@@ -698,10 +698,10 @@ func convertToMinimalCommit(commit *github.RepositoryCommit, includeDiffs bool)
698698
699699// MinimalPageInfo contains pagination cursor information.
700700type MinimalPageInfo struct {
701- HasNextPage bool `json:"has_next_page "`
702- HasPreviousPage bool `json:"has_previous_page "`
703- StartCursor string `json:"start_cursor ,omitempty"`
704- EndCursor string `json:"end_cursor ,omitempty"`
701+ HasNextPage bool `json:"hasNextPage "`
702+ HasPreviousPage bool `json:"hasPreviousPage "`
703+ StartCursor string `json:"startCursor ,omitempty"`
704+ EndCursor string `json:"endCursor ,omitempty"`
705705}
706706
707707// MinimalReviewComment is the trimmed output type for PR review comment objects.
@@ -727,8 +727,8 @@ type MinimalReviewThread struct {
727727// MinimalReviewThreadsResponse is the trimmed output for a paginated list of PR review threads.
728728type MinimalReviewThreadsResponse struct {
729729 ReviewThreads []MinimalReviewThread `json:"review_threads"`
730- TotalCount int `json:"total_count "`
731- PageInfo MinimalPageInfo `json:"page_info "`
730+ TotalCount int `json:"totalCount "`
731+ PageInfo MinimalPageInfo `json:"pageInfo "`
732732}
733733
734734func convertToMinimalPRFiles (files []* github.CommitFile ) []MinimalPRFile {
0 commit comments