api/v2: bound update-client request body

TestEveryRequestBodyIsBounded landed on main after the PR branched.

Updates #3629
This commit is contained in:
Kristoffer Dalby committed 2026-11-05 15:51:04 +01:00
1 parent c660713a7c
commit e0c6839c11
1 file changed
+1
+1
View File
@@ -523,6 +523,7 @@ func registerDevices(api huma.API, b Backend) {
Tags: []string{"Devices"},
Security: security,
DefaultStatus: http.StatusOK,
MaxBodyBytes: maxBodyBytes,
Errors: []int{
http.StatusUnauthorized, http.StatusForbidden, http.StatusNotFound,
http.StatusConflict, http.StatusBadGateway, http.StatusGatewayTimeout,