*(documentation): updated openapi

This commit is contained in:
Andrey Meshkov 2020-02-07 16:17:59 +03:00
parent 1d213d53c8
commit d9001ff848
1 changed files with 22 additions and 0 deletions

View File

@ -1831,6 +1831,9 @@ definitions:
$ref: "#/definitions/CheckConfigRequestInfo" $ref: "#/definitions/CheckConfigRequestInfo"
web: web:
$ref: "#/definitions/CheckConfigRequestInfo" $ref: "#/definitions/CheckConfigRequestInfo"
set_static_ip:
type: "boolean"
example: false
CheckConfigRequestInfo: CheckConfigRequestInfo:
type: "object" type: "object"
properties: properties:
@ -1851,6 +1854,8 @@ definitions:
$ref: "#/definitions/CheckConfigResponseInfo" $ref: "#/definitions/CheckConfigResponseInfo"
web: web:
$ref: "#/definitions/CheckConfigResponseInfo" $ref: "#/definitions/CheckConfigResponseInfo"
static_ip:
$ref: "#/definitions/CheckConfigStaticIpInfo"
CheckConfigResponseInfo: CheckConfigResponseInfo:
type: "object" type: "object"
properties: properties:
@ -1860,6 +1865,23 @@ definitions:
can_autofix: can_autofix:
type: "boolean" type: "boolean"
example: false example: false
CheckConfigStaticIpInfo:
type: "object"
properties:
static:
type: "string"
example: "no"
description: "Can be: yes, no, error"
ip:
type: "string"
example: "192.168.1.1"
description: "Current dynamic IP address. Set if static=no"
error:
type: "string"
example: ""
description: "Error text. Set if static=error"
InitialConfiguration: InitialConfiguration:
type: "object" type: "object"
description: "AdGuard Home initial configuration (for the first-install wizard)" description: "AdGuard Home initial configuration (for the first-install wizard)"