aboutsummaryrefslogtreecommitdiffstats
path: root/docs/open_cli_schema_version_1_0.rst
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-03-13 11:48:38 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-03-13 11:48:38 +0530
commit8b4c1195ac664fa36509128962e42ef321d78a6b (patch)
tree1db2517beede349f250fc180fa5803ee67d666a9 /docs/open_cli_schema_version_1_0.rst
parent832fa27e7002efb57f9c141e1e8d04186a956df9 (diff)
DOC: http.request->context for customization
Issue-ID: CLI-101 Change-Id: Iba6ea4fa5beee6cfd2b2d91b0c02d310afdc8a28 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'docs/open_cli_schema_version_1_0.rst')
-rw-r--r--docs/open_cli_schema_version_1_0.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/open_cli_schema_version_1_0.rst b/docs/open_cli_schema_version_1_0.rst
index 92e6bab2..15bfe201 100644
--- a/docs/open_cli_schema_version_1_0.rst
+++ b/docs/open_cli_schema_version_1_0.rst
@@ -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