Fixed YAML
This commit is contained in:
+1
-11
@@ -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",
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user