From 8b4c1195ac664fa36509128962e42ef321d78a6b Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Tue, 13 Mar 2018 11:48:38 +0530 Subject: DOC: http.request->context for customization Issue-ID: CLI-101 Change-Id: Iba6ea4fa5beee6cfd2b2d91b0c02d310afdc8a28 Signed-off-by: Kanagaraj Manickam k00365106 --- docs/open_cli_schema_version_1_0.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'docs') 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 -- cgit 1.2.3-korg