aboutsummaryrefslogtreecommitdiff
path: root/swagger.json
diff options
context:
space:
mode:
Diffstat (limited to 'swagger.json')
-rw-r--r--swagger.json15
1 files changed, 13 insertions, 2 deletions
diff --git a/swagger.json b/swagger.json
index 2c8830d87..ea3350a01 100644
--- a/swagger.json
+++ b/swagger.json
@@ -9,11 +9,16 @@
"schemes": [
"http"
],
+ "security": [
+ {
+ "basicAuth": []
+ }
+ ],
"consumes": [
- "application/json"
+ "application/json"
],
"produces": [
- "application/json"
+ "application/json"
],
"paths": {
"/commands": {
@@ -1613,5 +1618,11 @@
"type": "string",
"format": "date-time"
}
+ },
+ "securityDefinitions": {
+ "basicAuth": {
+ "type": "basic",
+ "description": "Basic HTTP authorization with _email_ and _password_"
+ }
}
}