add upgrade for basepath and host to server urls

This commit is contained in:
Greg Myers
2020-03-22 00:04:11 +00:00
parent da230a4f3e
commit eb58fe687a
3 changed files with 59 additions and 13 deletions

View File

@@ -21,10 +21,14 @@
],
"responses": {
"204": {
"description": "Valid credentials"
"description": "Valid credentials",
"headers": {
}
},
"401": {
"description": "Invalid credentials"
"description": "Invalid credentials",
"headers": {
}
}
}
}
@@ -45,10 +49,14 @@
],
"responses": {
"204": {
"description": "Valid credentials"
"description": "Valid credentials",
"headers": {
}
},
"401": {
"description": "Invalid credentials"
"description": "Invalid credentials",
"headers": {
}
}
}
}
@@ -72,10 +80,14 @@
],
"responses": {
"204": {
"description": "Valid credentials"
"description": "Valid credentials",
"headers": {
}
},
"401": {
"description": "Invalid credentials"
"description": "Invalid credentials",
"headers": {
}
}
}
}
@@ -105,12 +117,16 @@
],
"responses": {
"201": {
"description": "blog created"
"description": "blog created",
"headers": {
}
},
"422": {
"description": "invalid request",
"schema": {
"$ref": "#/definitions/errors_object"
},
"headers": {
}
}
}
@@ -136,7 +152,9 @@
],
"responses": {
"406": {
"description": "unsupported accept header"
"description": "unsupported accept header",
"headers": {
}
}
}
}
@@ -189,7 +207,9 @@
}
},
"404": {
"description": "blog not found"
"description": "blog not found",
"headers": {
}
}
}
}
@@ -227,7 +247,9 @@
],
"responses": {
"200": {
"description": "blog updated"
"description": "blog updated",
"headers": {
}
}
}
}