api: docs: sync v1.52 yaml

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-10-03 23:53:46 +02:00
parent 73bacc61b3
commit f289cb2d7c

View File

@@ -182,6 +182,10 @@ definitions:
type: "string"
format: "ip-address"
description: "Host IP address that the container's port is mapped to"
x-go-type:
type: Addr
import:
package: net/netip
PrivatePort:
type: "integer"
format: "uint16"
@@ -1081,6 +1085,11 @@ definitions:
description: "A list of DNS servers for the container to use."
items:
type: "string"
format: "ip-address"
x-go-type:
type: Addr
import:
package: net/netip
DnsOptions:
type: "array"
description: "A list of DNS options."
@@ -1645,6 +1654,10 @@ definitions:
description: "Host IP address that the container's port is mapped to."
type: "string"
example: "127.0.0.1"
x-go-type:
type: Addr
import:
package: net/netip
HostPort:
description: "Host port number that the container's port is mapped to."
type: "string"
@@ -2455,6 +2468,10 @@ definitions:
VIP:
type: "string"
x-omitempty: false
x-go-type:
type: Addr
import:
package: net/netip
Ports:
type: "array"
x-omitempty: false
@@ -2464,6 +2481,8 @@ definitions:
type: "integer"
format: "int"
x-omitempty: false
x-go-type:
type: int
Tasks:
type: "array"
x-omitempty: false
@@ -2487,6 +2506,10 @@ definitions:
EndpointIP:
type: "string"
x-omitempty: false
x-go-type:
type: Addr
import:
package: net/netip
Info:
type: "object"
x-omitempty: false
@@ -2617,10 +2640,18 @@ definitions:
type: "string"
x-omitempty: false
example: "172.19.0.2/16"
x-go-type:
type: Prefix
import:
package: net/netip
IPv6Address:
type: "string"
x-omitempty: false
example: ""
x-go-type:
type: Prefix
import:
package: net/netip
PeerInfo:
description: >
@@ -2640,6 +2671,10 @@ definitions:
type: "string"
x-omitempty: false
example: "10.133.77.91"
x-go-type:
type: Addr
import:
package: net/netip
NetworkCreateResponse:
description: "OK response to NetworkCreate operation"
@@ -2910,6 +2945,10 @@ definitions:
IPv4 address.
type: "string"
example: "172.17.0.4"
x-go-type:
type: Addr
import:
package: net/netip
IPPrefixLen:
description: |
Mask length of the IPv4 address.
@@ -2920,11 +2959,19 @@ definitions:
IPv6 gateway address.
type: "string"
example: "2001:db8:2::100"
x-go-type:
type: Addr
import:
package: net/netip
GlobalIPv6Address:
description: |
Global IPv6 address.
type: "string"
example: "2001:db8::5689"
x-go-type:
type: Addr
import:
package: net/netip
GlobalIPv6PrefixLen:
description: |
Mask length of the global IPv6 address.
@@ -2956,13 +3003,25 @@ definitions:
IPv4Address:
type: "string"
example: "172.20.30.33"
x-go-type:
type: Addr
import:
package: net/netip
IPv6Address:
type: "string"
example: "2001:db8:abcd::3033"
x-go-type:
type: Addr
import:
package: net/netip
LinkLocalIPs:
type: "array"
items:
type: "string"
x-go-type:
type: Addr
import:
package: net/netip
example:
- "169.254.34.68"
- "fe80::3468"
@@ -10176,7 +10235,8 @@ paths:
operationId: "SystemEvents"
produces:
- "application/json"
- "application/x-ndjson"
- "application/json-seq"
responses:
200:
description: "no error"