aboutsummaryrefslogtreecommitdiff
path: root/swagger.json
diff options
context:
space:
mode:
authorSun Howwrongbum <sun@adrenosapient.com>2016-12-13 14:25:20 +0530
committerSun Howwrongbum <sun@adrenosapient.com>2016-12-13 14:25:20 +0530
commit9d707dac529b922f491da45b73121e5e2ca96773 (patch)
treef452678cefcfc0337b073a187d15f604fb8644ca /swagger.json
parent207331d85159abad4e2557338fe144e857088b93 (diff)
downloadtrackermap-server-9d707dac529b922f491da45b73121e5e2ca96773.tar.gz
trackermap-server-9d707dac529b922f491da45b73121e5e2ca96773.tar.bz2
trackermap-server-9d707dac529b922f491da45b73121e5e2ca96773.zip
[swagger] Add security definitions
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_"
+ }
}
}