Skip to content

Commit

Permalink
[swagger] Add security definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
sunhoww committed Dec 13, 2016
1 parent 207331d commit 9d707da
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,16 @@
"schemes": [
"http"
],
"security": [
{
"basicAuth": []
}
],
"consumes": [
"application/json"
"application/json"
],
"produces": [
"application/json"
"application/json"
],
"paths": {
"/commands": {
Expand Down Expand Up @@ -1613,5 +1618,11 @@
"type": "string",
"format": "date-time"
}
},
"securityDefinitions": {
"basicAuth": {
"type": "basic",
"description": "Basic HTTP authorization with _email_ and _password_"
}
}
}

0 comments on commit 9d707da

Please sign in to comment.