Skip to content

Commit

Permalink
Merge branch 'master' into jeremypoulter/issue357
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremypoulter committed Feb 11, 2023
2 parents cfa5eca + ad1e833 commit b7ac2d4
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .spectral.mjs

This file was deleted.

1 change: 1 addition & 0 deletions .spectral.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extends: ["spectral:oas", "spectral:asyncapi"]
2 changes: 1 addition & 1 deletion gui
1 change: 0 additions & 1 deletion openevse-gui-v2
Submodule openevse-gui-v2 deleted from 3f2c8a
44 changes: 44 additions & 0 deletions test/limit.http
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Name: REST Client
# Id: humao.rest-client
# Description: REST Client for Visual Studio Code
# Version: 0.21.3
# Publisher: Huachao Mao
# VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=humao.rest-client

# You should use environment vars (https://marketplace.visualstudio.com/items?itemName=humao.rest-client#environment-variables) for these
# but you can also set here if needed (just don't check in!)

#@baseUrl = http://openevse.local

#@ssid = your_ssid
#@pass = your_password
#@apikey = your_key

###

# Get the EVSE limits
GET {{baseUrl}}/limits HTTP/1.1

###

POST {{baseUrl}}/limits HTTP/1.1

{
"type": "time",
"value": 30
}

###

POST {{baseUrl}}/limits HTTP/1.1

{
"type": "energy",
"value": 30
}

###

# Remove the EVSE limits
DELETE {{baseUrl}}/limits HTTP/1.1

0 comments on commit b7ac2d4

Please sign in to comment.