diff --git a/doc/api/README.md b/doc/api/README.md index 2b6466a9e57a728bdc7beb439014b44fa353e783..a9bfd2f7ebc07a6bae738716bd5ca6ff3b3f3680 100644 --- a/doc/api/README.md +++ b/doc/api/README.md @@ -268,7 +268,7 @@ Such errors appear in two cases: When an attribute is missing, you will get something like: -```json +``` HTTP/1.1 400 Bad Request Content-Type: application/json { @@ -279,7 +279,7 @@ Content-Type: application/json When a validation error occurs, error messages will be different. They will hold all details of validation errors: -```json +``` HTTP/1.1 400 Bad Request Content-Type: application/json {