Skip to content

Commit 7f121d7

Browse files
committed
Add missing requestBody parameters
1 parent 0186762 commit 7f121d7

20 files changed

+2655
-991
lines changed

paths/network/certificate-clear.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ post:
66
description: Removes the custom SSL certificate and reverts to default
77
x-deviceSupport: both
88
operationId: CertificateClear
9+
requestBody:
10+
required: true
11+
content:
12+
application/json:
13+
schema:
14+
type: array
15+
minItems: 1
16+
maxItems: 1
17+
items:
18+
allOf:
19+
- $ref: '../../components/schemas/index.yaml#/BaseCommandRequest'
920
responses:
1021
'200':
1122
$ref: '../../components/responses/common.yaml#/Success'

paths/network/get-certificate-info.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ post:
66
description: Returns current SSL certificate configuration
77
x-deviceSupport: both
88
operationId: GetCertificateInfo
9+
requestBody:
10+
required: true
11+
content:
12+
application/json:
13+
schema:
14+
type: array
15+
minItems: 1
16+
maxItems: 1
17+
items:
18+
allOf:
19+
- $ref: '../../components/schemas/index.yaml#/BaseCommandRequest'
920
responses:
1021
'200':
1122
description: Successful operation

paths/network/get-net-port.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ post:
66
description: Returns current network service port configurations and their enable status
77
x-deviceSupport: both
88
operationId: GetNetPort
9+
requestBody:
10+
required: true
11+
content:
12+
application/json:
13+
schema:
14+
type: array
15+
minItems: 1
16+
maxItems: 1
17+
items:
18+
allOf:
19+
- $ref: '../../components/schemas/index.yaml#/BaseCommandRequest'
920
responses:
1021
'200':
1122
description: Successful operation

paths/network/get-wifi-signal.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ post:
77
description: Returns current WiFi signal strength
88
x-deviceSupport: ipc
99
operationId: GetWifiSignal
10+
requestBody:
11+
required: true
12+
content:
13+
application/json:
14+
schema:
15+
type: array
16+
minItems: 1
17+
maxItems: 1
18+
items:
19+
allOf:
20+
- $ref: '../../components/schemas/index.yaml#/BaseCommandRequest'
1021
responses:
1122
'200':
1223
description: Successful operation

paths/network/scan-wifi.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ post:
77
description: Scans and returns list of available WiFi networks
88
x-deviceSupport: ipc
99
operationId: ScanWifi
10+
requestBody:
11+
required: true
12+
content:
13+
application/json:
14+
schema:
15+
type: array
16+
minItems: 1
17+
maxItems: 1
18+
items:
19+
allOf:
20+
- $ref: '../../components/schemas/index.yaml#/BaseCommandRequest'
1021
responses:
1122
'200':
1223
description: Successful operation

paths/security/get-online.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ post:
66
description: Returns list of currently connected users
77
x-deviceSupport: both
88
operationId: GetOnline
9+
requestBody:
10+
required: true
11+
content:
12+
application/json:
13+
schema:
14+
type: array
15+
minItems: 1
16+
maxItems: 1
17+
items:
18+
allOf:
19+
- $ref: '../../components/schemas/index.yaml#/BaseCommandRequest'
920
responses:
1021
'200':
1122
description: Successful operation

paths/security/get-sys-cfg.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,24 @@ post:
66
description: Returns login lock time and attempt settings
77
x-deviceSupport: both
88
operationId: GetSysCfg
9+
requestBody:
10+
required: true
11+
content:
12+
application/json:
13+
schema:
14+
type: array
15+
minItems: 1
16+
maxItems: 1
17+
items:
18+
allOf:
19+
- $ref: '../../components/schemas/index.yaml#/BaseCommandRequest'
20+
- type: object
21+
properties:
22+
param:
23+
type: object
24+
properties:
25+
channel:
26+
type: integer
927
responses:
1028
'200':
1129
description: Successful operation

paths/security/logout.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ post:
66
description: Invalidates the current session token
77
x-deviceSupport: both
88
operationId: Logout
9+
requestBody:
10+
required: true
11+
content:
12+
application/json:
13+
schema:
14+
type: array
15+
minItems: 1
16+
maxItems: 1
17+
items:
18+
allOf:
19+
- $ref: '../../components/schemas/index.yaml#/BaseCommandRequest'
920
responses:
1021
'200':
1122
$ref: '../../components/responses/common.yaml#/Success'

paths/system/check-firmware.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ post:
66
description: Checks if new firmware is available for upgrade
77
x-deviceSupport: both
88
operationId: CheckFirmware
9+
requestBody:
10+
required: true
11+
content:
12+
application/json:
13+
schema:
14+
type: array
15+
minItems: 1
16+
maxItems: 1
17+
items:
18+
allOf:
19+
- $ref: '../../components/schemas/index.yaml#/BaseCommandRequest'
920
responses:
1021
'200':
1122
description: Successful operation

paths/system/get-auto-upgrade.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ post:
66
description: Returns the automatic upgrade configuration
77
x-deviceSupport: both
88
operationId: GetAutoUpgrade
9+
requestBody:
10+
required: true
11+
content:
12+
application/json:
13+
schema:
14+
type: array
15+
minItems: 1
16+
maxItems: 1
17+
items:
18+
allOf:
19+
- $ref: '../../components/schemas/index.yaml#/BaseCommandRequest'
920
responses:
1021
'200':
1122
description: Successful operation

0 commit comments

Comments
 (0)