Skip to content

Commit

Permalink
Update swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
Koen Serneels committed Aug 7, 2022
1 parent d4eddac commit 488f302
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions SmartEVSE-3/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ paths:
type: integer
3phases_enabled:
type: boolean
mains_meter:
type: string

home_battery:
type: object
properties:
Expand Down Expand Up @@ -108,6 +111,13 @@ paths:
tags:
- Operations
parameters:
- in: query
name: backlight
description: |-
Turns backlight on (1) or off (0)
required: false
schema:
type: integer
- in: query
name: mode
description: |-
Expand Down Expand Up @@ -153,14 +163,6 @@ paths:
required: false
schema:
type: boolean
# - in: query
# name: force_contactors
# description: |-
# Works only when using <b>NORMAL</b> mode and 3phases are enabled (using the EVSE menu or the enable_3phases parameter)<br />
# Force contactor 2 to be opened/closed <br />
# required: false
# schema:
# type: boolean
requestBody:
content:
application/json:
Expand Down Expand Up @@ -257,4 +259,4 @@ components:
schemas:
Nullable:
type: object
nullable: true
nullable: true

0 comments on commit 488f302

Please sign in to comment.