From affe1d63359c30a98eb32899f6c30aee613a007e Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 2 Jun 2025 14:45:11 +0200 Subject: [PATCH] api/swagger: quote maxUint64 example value More recent versions of go-swagger failed on this, because the value is interpolated as JSON numberic value, which assumes int64 (signed). Quote the value to prevent it being handled before validated against uint64. Signed-off-by: Sebastiaan van Stijn --- api/swagger.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/swagger.yaml b/api/swagger.yaml index 619b4470eb..d42a50739f 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -5863,7 +5863,7 @@ definitions: type: "integer" format: "uint64" x-nullable: true - example: 18446744073709551615 + example: "18446744073709551615" ContainerThrottlingData: description: |