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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy