Skip to content

Commit

Permalink
API error and warning fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremypoulter committed Mar 13, 2023
1 parent 6da0ffe commit c61f290
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 c61f290

Please sign in to comment.