* update openapi.yaml
This commit is contained in:
parent
c5ed6da5bd
commit
043e89a1a4
|
@ -1142,14 +1142,33 @@ definitions:
|
||||||
DhcpSearchResult:
|
DhcpSearchResult:
|
||||||
type: "object"
|
type: "object"
|
||||||
description: "Information about a DHCP server discovered in the current network"
|
description: "Information about a DHCP server discovered in the current network"
|
||||||
required:
|
properties:
|
||||||
- "found"
|
other_server:
|
||||||
|
$ref: "#/definitions/DhcpSearchResultOtherServer"
|
||||||
|
static_ip:
|
||||||
|
$ref: "#/definitions/DhcpSearchResultStaticIP"
|
||||||
|
DhcpSearchResultOtherServer:
|
||||||
|
type: "object"
|
||||||
properties:
|
properties:
|
||||||
found:
|
found:
|
||||||
type: "boolean"
|
|
||||||
gateway_ip:
|
|
||||||
type: "string"
|
type: "string"
|
||||||
example: "192.168.1.1"
|
description: "yes|no|error"
|
||||||
|
example: "no"
|
||||||
|
error:
|
||||||
|
type: "string"
|
||||||
|
description: "Set if found=error"
|
||||||
|
example: ""
|
||||||
|
DhcpSearchResultStaticIP:
|
||||||
|
type: "object"
|
||||||
|
properties:
|
||||||
|
static:
|
||||||
|
type: "string"
|
||||||
|
description: "yes|no|error"
|
||||||
|
example: "yes"
|
||||||
|
ip:
|
||||||
|
type: "string"
|
||||||
|
description: "Set if static=no"
|
||||||
|
example: ""
|
||||||
DnsAnswer:
|
DnsAnswer:
|
||||||
type: "object"
|
type: "object"
|
||||||
description: "DNS answer section"
|
description: "DNS answer section"
|
||||||
|
|
Loading…
Reference in New Issue