DOC: http.request->context for customization 77/35377/1
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Tue, 13 Mar 2018 06:18:38 +0000 (11:48 +0530)
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Tue, 13 Mar 2018 06:18:38 +0000 (11:48 +0530)
Issue-ID: CLI-101

Change-Id: Iba6ea4fa5beee6cfd2b2d91b0c02d310afdc8a28
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
docs/open_cli_schema_version_1_0.rst

index 92e6bab..15bfe20 100644 (file)
@@ -775,6 +775,21 @@ the sample queries :
 
             q2: value2
 
+
+context
+^^^^^^^
+*context* entry allows to customize the HTTP request and response processing.
+
+Following are the supported customization parameters:
+
+*remove_empty_node* : By default, OCLIP does not remove the empty json entries
+  in request body. Otherwise set this entry to true as below.
+
+    request:
+
+        context:
+            remove_empty_node: true
+
 success_codes
 ~~~~~~~~~~~~~
 Every REST API has set of success codes and OCLIP will treat the HTTP request