Skip to content

Commit b7ac2d4

Browse files
committed
Merge branch 'master' into jeremypoulter/issue357
2 parents cfa5eca + ad1e833 commit b7ac2d4

File tree

5 files changed

+46
-4
lines changed

5 files changed

+46
-4
lines changed

.spectral.mjs

Lines changed: 0 additions & 2 deletions
This file was deleted.

.spectral.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
extends: ["spectral:oas", "spectral:asyncapi"]

openevse-gui-v2

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/limit.http

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Name: REST Client
2+
# Id: humao.rest-client
3+
# Description: REST Client for Visual Studio Code
4+
# Version: 0.21.3
5+
# Publisher: Huachao Mao
6+
# VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=humao.rest-client
7+
8+
# You should use environment vars (https://marketplace.visualstudio.com/items?itemName=humao.rest-client#environment-variables) for these
9+
# but you can also set here if needed (just don't check in!)
10+
11+
#@baseUrl = http://openevse.local
12+
13+
#@ssid = your_ssid
14+
#@pass = your_password
15+
#@apikey = your_key
16+
17+
###
18+
19+
# Get the EVSE limits
20+
GET {{baseUrl}}/limits HTTP/1.1
21+
22+
###
23+
24+
POST {{baseUrl}}/limits HTTP/1.1
25+
26+
{
27+
"type": "time",
28+
"value": 30
29+
}
30+
31+
###
32+
33+
POST {{baseUrl}}/limits HTTP/1.1
34+
35+
{
36+
"type": "energy",
37+
"value": 30
38+
}
39+
40+
###
41+
42+
# Remove the EVSE limits
43+
DELETE {{baseUrl}}/limits HTTP/1.1
44+

0 commit comments

Comments
 (0)