Fixed YAML

This commit is contained in:
fkereki
2018-06-05 20:28:46 -04:00
parent 51273628b8
commit 78743d2feb
2 changed files with 2 additions and 12 deletions
+1 -11
View File
@@ -59,10 +59,7 @@
"description": "A valid token to use for other requests" "description": "A valid token to use for other requests"
}, },
"401": { "401": {
"description": "No token provided" "description": "Wrong user/password"
},
"404": {
"description": "Country not found"
} }
} }
} }
@@ -113,13 +110,6 @@
"type": "string", "type": "string",
"description": "The new region's name." "description": "The new region's name."
}, },
{
"in": "header",
"name": "Authorization",
"required": true,
"type": "string",
"description": "Authorization Token"
},
{ {
"in": "header", "in": "header",
"name": "Authorization", "name": "Authorization",
+1 -1
View File
@@ -42,7 +42,7 @@ paths:
200: 200:
description: A valid token to use for other requests description: A valid token to use for other requests
401: 401:
description: "No token provided" description: "Wrong user/password"
/regions: /regions:
get: get: