Skip to content

Commit

Permalink
Merge pull request #570 from OpenEVSE/jeremy-modified-api
Browse files Browse the repository at this point in the history
API error and warning fixes
  • Loading branch information
jeremypoulter authored Mar 16, 2023
2 parents 6da0ffe + c61f290 commit 14dda51
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -632,22 +632,22 @@ paths:
type: object
properties:
hard:
type: int
type: integer
description: 0|1 Enable hard reset ( reset total_counter & total_switches)
import:
type: int
type: integer
description: 0|1 Import OpenEvse module total kwh.
responses:
'200':
description: Reset counter ok
content:
application/json:
schema:
type: object
properties:
msg:
type: string
description: Reset done
schema:
type: object
properties:
msg:
type: string
description: Reset done
'500':
description: Failed to reset counter
content:
Expand Down Expand Up @@ -859,3 +859,4 @@ tags:
- name: Status
- name: Tesla
- name: Limit
- name: Energy Meter

0 comments on commit 14dda51

Please sign in to comment.