Skip to content

Commit 4820c53

Browse files
committed
gen
1 parent 5f2bfd4 commit 4820c53

File tree

4 files changed

+25
-9
lines changed

4 files changed

+25
-9
lines changed

coderd/apidoc/docs.go

Lines changed: 8 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/apidoc/swagger.json

Lines changed: 11 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codersdk/insights.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ type TemplateInsightsIntervalReport struct {
9494
StartTime time.Time `json:"start_time" format:"date-time"`
9595
EndTime time.Time `json:"end_time" format:"date-time"`
9696
TemplateIDs []uuid.UUID `json:"template_ids" format:"uuid"`
97-
Interval InsightsReportInterval `json:"interval"`
97+
Interval InsightsReportInterval `json:"interval" example:"day"`
9898
ActiveUsers int64 `json:"active_users" example:"14"`
9999
}
100100

docs/api/schemas.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2902,16 +2902,17 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
29022902
## codersdk.InsightsReportInterval
29032903

29042904
```json
2905-
"day"
2905+
"none"
29062906
```
29072907

29082908
### Properties
29092909

29102910
#### Enumerated Values
29112911

2912-
| Value |
2913-
| ----- |
2914-
| `day` |
2912+
| Value |
2913+
| ------ |
2914+
| `none` |
2915+
| `day` |
29152916

29162917
## codersdk.IssueReconnectingPTYSignedTokenRequest
29172918

0 commit comments

Comments
 (0)