mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
docs/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 <github@gone.nl>
This commit is contained in:
@@ -5988,7 +5988,7 @@ definitions:
|
|||||||
type: "integer"
|
type: "integer"
|
||||||
format: "uint64"
|
format: "uint64"
|
||||||
x-nullable: true
|
x-nullable: true
|
||||||
example: 18446744073709551615
|
example: "18446744073709551615"
|
||||||
|
|
||||||
ContainerThrottlingData:
|
ContainerThrottlingData:
|
||||||
description: |
|
description: |
|
||||||
|
|||||||
@@ -5988,7 +5988,7 @@ definitions:
|
|||||||
type: "integer"
|
type: "integer"
|
||||||
format: "uint64"
|
format: "uint64"
|
||||||
x-nullable: true
|
x-nullable: true
|
||||||
example: 18446744073709551615
|
example: "18446744073709551615"
|
||||||
|
|
||||||
ContainerThrottlingData:
|
ContainerThrottlingData:
|
||||||
description: |
|
description: |
|
||||||
|
|||||||
@@ -5863,7 +5863,7 @@ definitions:
|
|||||||
type: "integer"
|
type: "integer"
|
||||||
format: "uint64"
|
format: "uint64"
|
||||||
x-nullable: true
|
x-nullable: true
|
||||||
example: 18446744073709551615
|
example: "18446744073709551615"
|
||||||
|
|
||||||
ContainerThrottlingData:
|
ContainerThrottlingData:
|
||||||
description: |
|
description: |
|
||||||
|
|||||||
Reference in New Issue
Block a user