Browse Source

Add some 422 examples

pull/53/head
baarkerlounger 4 years ago
parent
commit
19e058bf42
  1. 45
      docs/api/DLUHC-CORE-Data.v1.json

45
docs/api/DLUHC-CORE-Data.v1.json

@ -24,7 +24,8 @@
"application/json": {
"schema": {
"$ref": "#/components/schemas/Case-Log"
}
},
"examples": {}
}
}
},
@ -81,6 +82,26 @@
"examples": {}
}
}
},
"422": {
"description": "Unprocessable Entity ",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
},
"examples": {
"Invalid Age": {
"value": {
"errors": [
"Tenant age must be between 0 and 120"
]
}
}
}
}
}
}
},
"description": "Update the information of an existing case log",
@ -147,11 +168,25 @@
}
}
},
"400": {
"description": "Missing Required Information"
"422": {
"description": "Unprocessable Entity ",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
},
"409": {
"description": "Email Already Taken"
"examples": {
"Invalid Age": {
"value": {
"errors": [
"Tenant age must be between 0 and 120"
]
}
}
}
}
}
}
},
"requestBody": {

Loading…
Cancel
Save