From e198a409071e8854d65903a34a3a00e35505f520 Mon Sep 17 00:00:00 2001 From: Nicolas CARPi Date: Sun, 12 Sep 2021 22:36:22 +0200 Subject: [PATCH] add optional example apiSuccess field. Fix #654 --- example/example.js | 1 + 1 file changed, 1 insertion(+) diff --git a/example/example.js b/example/example.js index 587ef95b..d3fff87b 100644 --- a/example/example.js +++ b/example/example.js @@ -114,6 +114,7 @@ function putUser() { return; } * user = client.delete_user(42) * * @apiSuccess {String} result ok if everything went fine. + * @apiSuccess {String} [nullableField] This response field is not always there (can be null). * @apiSuccessExample {json} Success-Example * HTTP/1.1 200 OK * {