Protecting Created Date, updating docs, changin errors to JSON

This commit is contained in:
2018-11-16 11:48:45 +01:00
parent cb7a46617d
commit dc1778a5b9
12 changed files with 86 additions and 46 deletions

View File

@ -657,7 +657,7 @@
"tags": [
"user"
],
"description": "create CompanyUser",
"description": "Create a new CompanyUser and his user company mapping",
"operationId": "CompanyUserController.Post",
"parameters": [
{
@ -680,6 +680,23 @@
}
}
},
"/user/deletecompany": {
"delete": {
"tags": [
"user"
],
"description": "Delete the entire Company",
"operationId": "CompanyUserController.Delete Company",
"responses": {
"200": {
"description": "{string} delete success!"
},
"403": {
"description": "failed"
}
}
}
},
"/user/{id}": {
"get": {
"tags": [