Skip to content

fix: SystemFormGroup.ID を int に変更#45

Merged
buty4649 merged 1 commit intomainfrom
fix/system-form-group-id-type
Apr 21, 2026
Merged

fix: SystemFormGroup.ID を int に変更#45
buty4649 merged 1 commit intomainfrom
fix/system-form-group-id-type

Conversation

@buty4649
Copy link
Copy Markdown
Contributor

Summary

  • xp system form list 実行時に decode response: json: cannot unmarshal number into Go struct field SystemFormGroup.form_group.id of type string エラーで失敗していたため修正
  • OpenAPI 仕様では form_group.id は string と定義されていたが、実 API は number を返しており、ユーザ向けの FormGroup.IDint なので揃えた

Test plan

  • go build ./... / go test ./... が通ること
  • xp system form list がエラーにならず一覧を表示できること

🤖 Generated with Claude Code

xp system form list 実行時に form_group.id のデコードで
cannot unmarshal number into Go struct field ... of type string
エラーが発生していたため、実 API のレスポンスに合わせて
型を string から int に修正する。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@buty4649 buty4649 self-assigned this Apr 21, 2026
@buty4649 buty4649 merged commit 91c9f0b into main Apr 21, 2026
2 checks passed
@buty4649 buty4649 deleted the fix/system-form-group-id-type branch April 21, 2026 04:23
@pepabo-pr-maker pepabo-pr-maker Bot mentioned this pull request Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant