Skip to content

Commit 0cd6fde

Browse files
fix: add format:"uuid" to uuid.UUID fields
1 parent 16eee74 commit 0cd6fde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codersdk/aitasks.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ func (c *ExperimentalClient) AITaskPrompts(ctx context.Context, buildIDs []uuid.
4747

4848
type CreateAITasksRequest struct {
4949
Name string `json:"name"`
50-
TemplateVersionID uuid.UUID `json:"template_version_id"`
51-
TemplateVersionPresetID uuid.UUID `json:"template_version_preset_id,omitempty"`
50+
TemplateVersionID uuid.UUID `json:"template_version_id" format:"uuid"`
51+
TemplateVersionPresetID uuid.UUID `json:"template_version_preset_id,omitempty" format:"uuid"`
5252
Prompt string `json:"prompt"`
5353
}
5454

0 commit comments

Comments
 (0)