Skip to content

Commit caf0979

Browse files
feat(client): omitzero on required id parameter (#339)
1 parent 8e7c1ed commit caf0979

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: responses/response.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5165,7 +5165,7 @@ const (
51655165
// The properties ID, Content, Role, Status, Type are required.
51665166
type ResponseOutputMessageParam struct {
51675167
// The unique ID of the output message.
5168-
ID string `json:"id,required"`
5168+
ID string `json:"id,omitzero,required"`
51695169
// The content of the output message.
51705170
Content []ResponseOutputMessageContentUnionParam `json:"content,omitzero,required"`
51715171
// The status of the message input. One of `in_progress`, `completed`, or

0 commit comments

Comments
 (0)