FIX: Uploading File With Unkown Catagory Id
Build, Push and Deploy CMS / build-push-deploy (push) Successful in 2m22s
Build, Push and Deploy CMS / build-push-deploy (push) Successful in 2m22s
This commit is contained in:
+7
-1
@@ -78,8 +78,14 @@ const docTemplate = `{
|
||||
"$ref": "#/definitions/api.ProblemDetails"
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "categoryIds referenced a category that does not exist",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/api.ProblemDetails"
|
||||
}
|
||||
},
|
||||
"422": {
|
||||
"description": "title was empty, key was missing or not a key issued by this API, or categoryIds was empty or contained an id that does not exist",
|
||||
"description": "title was empty, key was missing or not a key issued by this API, or categoryIds was empty",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/api.ProblemDetails"
|
||||
}
|
||||
|
||||
@@ -71,8 +71,14 @@
|
||||
"$ref": "#/definitions/api.ProblemDetails"
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "categoryIds referenced a category that does not exist",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/api.ProblemDetails"
|
||||
}
|
||||
},
|
||||
"422": {
|
||||
"description": "title was empty, key was missing or not a key issued by this API, or categoryIds was empty or contained an id that does not exist",
|
||||
"description": "title was empty, key was missing or not a key issued by this API, or categoryIds was empty",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/api.ProblemDetails"
|
||||
}
|
||||
|
||||
@@ -186,9 +186,13 @@ paths:
|
||||
description: Request body was not valid JSON
|
||||
schema:
|
||||
$ref: '#/definitions/api.ProblemDetails'
|
||||
"404":
|
||||
description: categoryIds referenced a category that does not exist
|
||||
schema:
|
||||
$ref: '#/definitions/api.ProblemDetails'
|
||||
"422":
|
||||
description: title was empty, key was missing or not a key issued by this
|
||||
API, or categoryIds was empty or contained an id that does not exist
|
||||
API, or categoryIds was empty
|
||||
schema:
|
||||
$ref: '#/definitions/api.ProblemDetails'
|
||||
"500":
|
||||
|
||||
Reference in New Issue
Block a user