From 2ffc438efb81e2bbfe83c68860345e5902339bac Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis <axilleas@axilleas.me> Date: Mon, 18 Jan 2016 11:45:04 +0100 Subject: [PATCH] Use plaintext instead of json in code blocks [ci skip] --- doc/api/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/README.md b/doc/api/README.md index 2b6466a9e57..a9bfd2f7ebc 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 { -- GitLab