From 6c302f712a2ae3704e1bc41290c184876137e1b8 Mon Sep 17 00:00:00 2001 From: Keith Maxwell Date: Sun, 29 Mar 2020 07:35:05 +0100 Subject: [PATCH] Add missing } to updateArticle code sample (#6924) Before this change the example curl command returns 400 bad request with an appropriate API key and article ID. After this change the example curl command does not return error 400 bad request. --- docs/api_v0.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api_v0.yml b/docs/api_v0.yml index aee37284a..1d48373bc 100644 --- a/docs/api_v0.yml +++ b/docs/api_v0.yml @@ -1890,7 +1890,7 @@ paths: source: | curl -X PUT -H "Content-Type: application/json" \ -H "api-key: API_KEY" \ - -d '{"article":{"title":"Title"}' \ + -d '{"article":{"title":"Title"}}' \ https://dev.to/api/articles/{id} /articles/me: