8000 chore: fix swagger type of AuditLog AdditionalFields by aslilac · Pull Request #17286 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

chore: fix swagger type of AuditLog AdditionalFields #17286

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 7, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
chore: fix swagger type of AuditLog AdditionalFields
  • Loading branch information
aslilac committed Apr 7, 2025
commit 337c6394578057f0d69da1372ed861b85ad93131
2 changes: 1 addition & 1 deletion codersdk/audit.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ type AuditLog struct {
Action AuditAction `json:"action"`
Diff AuditDiff `json:"diff"`
StatusCode int32 `json:"status_code"`
AdditionalFields json.RawMessage `json:"additional_fields"`
AdditionalFields json.RawMessage `json:"additional_fields" swaggertype:"object"`
Description string `json:"description"`
ResourceLink string `json:"resource_link"`
IsDeleted bool `json:"is_deleted"`
Expand Down
Loading
0