Repository: postmanlabs/postman-code-generators
Pull request #55 (2019-07-18 09:37:12)

Changed tab to Tab and space to Space in every codegen options


Patch:
diff --git a/codegens/csharp-restsharp/README.md b/codegens/csharp-restsharp/README.md
index 8128b23..1e68f54 100644
--- a/codegens/csharp-restsharp/README.md
+++ b/codegens/csharp-restsharp/README.md
@@ -26,7 +26,7 @@ Convert function will take three parameters
 ```js
 var request = new sdk.Request('www.google.com'),  //using postman sdk to create request  
     options = {
-        indentType: 'space',
+        indentType: 'Space',
         indentCount: 2,
         includeBoilerplate: false
     };
diff --git a/codegens/csharp-restsharp/lib/restsharp.js b/codegens/csharp-restsharp/lib/restsharp.js
index 5db7ba5..9fb9f51 100644
--- a/codegens/csharp-restsharp/lib/restsharp.js
+++ b/codegens/csharp-restsharp/lib/restsharp.js
@@ -73,8 +73,8 @@ self = module.exports = {
         name: 'Indent type',
         id: 'indentType',
         type: 'enum',
-        availableOptions: ['tab', 'space'],
-        default: 'space',
+        availableOptions: ['Tab', 'Space'],
+        default: 'Space',
         description: 'Character used for indentation'
       },
       {
@@ -108,9 +108,9 @@ self = module.exports = {
      *
      * @param {Object} request - Postman-SDK request object
      * @param {Object} options - Options to tweak code snippet generated in C#
-     * @param {String} options.indentType - type for indentation eg: space, tab (default: space)
+     * @param {String} options.indentType - type for indentation eg: Space, Tab (default: Space)
      * @param {String} options.indentCount - number of spaces or tabs for indentation. (default: 4 for indentType:
-                                                                         space, default: 1 for indentType: tab)
+                                                                         Space, default: 1 for indentType: Tab)
      * @param {Boolean} [options.includeBoilerplate] - indicates whether to include class defination in C#
      * @param {Boolean} options.followRedirect - whether to enable followredirect
      * @param {Boolean} options.trimRequestBody - whether to trim fields in request body or not (default: false)
@@ -137,7 +137,7 @@ self = module.exports = {
 
     options = sanitizeOptions(options, self.getOptions());
 
-    indentString = options.indentType === 'tab' ? '\t' : ' ';
+    indentString = options.indentType === 'Tab' ? '\t' : ' ';
     indentString = indentString.repeat(options.indentCount);
 
     if (options.includeBoilerplate) {
diff --git a/codegens/curl/README.md b/codegens/curl/README.md
index ed8dbaf..57f32a2 100644
--- a/codegens/curl/README.md
+++ b/codegens/curl/README.md
@@ -14,7 +14,7 @@ Convert function takes three parameters
 * `request` - Postman-SDK Request Object
 
 * `options` - options is an object which hsa following properties
-    * `indentType` - String denoting type of indentation for code snippet. eg: 'space', 'tab'
+    * `indentType` - String denoting type of indentation for code snippet. eg: 'Space', 'Tab'
     * `indentCount` - Number of indentation characters to add per code level
     * `trimRequestBody` - Trim request body fields
     * `followRedirect` - Boolean denoting whether to redirect a request
@@ -29,7 +29,7 @@ Convert function takes three parameters
 var request = new sdk.Request('www.google.com'),  //using postman sdk to create request  
     options = {
         indentCount: 3,
-        indentType: 'space',
+        indentType: 'Space',
         requestTimeout: 200,
         trimRequestBody: true,
         multiLine: true,
diff --git a/codegens/curl/lib/index.js b/codegens/curl/lib/index.js
index d870b1e..88836d2 100644
--- a/codegens/curl/lib/index.js
+++ b/codegens/curl/lib/index.js
@@ -28,7 +28,7 @@ self = module.exports = {
       snippet += ` ${form('-m', format)} ${timeout}`;
     }
     if (multiLine) {
-      indent = options.indentType === 'tab' ? '\t' : ' ';
+      indent = options.indentType === 'Tab' ? '\t' : ' ';
       indent = ' ' + options.lineContinuationCharacter + '\n' + indent.repeat(options.indentCount); // eslint-disable-line max-len
     }
     else {
diff --git a/codegens/golang/README.md b/codegens/golang/README.md
index e9fa193..e83bcfe 100644
--- a/codegens/golang/README.md
+++ b/codegens/golang/README.md
@@ -14,7 +14,7 @@ Convert function takes three parameters
 * `request` - Postman-SDK Request Object
 
 * `options` - options is an object which hsa following properties
-    * `indentType` - String denoting type of indentation for code snippet. eg: 'space', 'tab'
+    * `indentType` - String denoting type of indentation for code snippet. eg: 'Space', 'Tab'
     * `indentCount` - Number of indentation characters to add per code level
     * `trimRequestBody` - Trim request body fields
     * `followRedirect` - Boolean denoting whether to redirect a request
@@ -27,7 +27,7 @@ Convert function takes three parameters
 var request = new sdk.Request('www.google.com'),  //using postman sdk to create request  
     options = {
         indentCount: 3,
-        indentType: 'space',
+        indentType: 'Space',
         requestTimeout: 200,
         trimRequestBody: true,
         followRedirect: true
diff --git a/codegens/golang/lib/index.js b/codegens/golang/lib/index.js
index 38645d3..299a30c 100644
--- a/codegens/golang/lib/index.js
+++ b/codegens/golang/lib/index.js
@@ -137,7 +137,7 @@ self = module.exports = {
       responseSnippet = '',
       headerSnippet = '';
 
-    indent = options.indentType === 'tab' ? '\t' : ' ';
+    indent = options.indentType === 'Tab' ? '\t' : ' ';
     indent = indent.repeat(options.indentCount);
     timeout = options.requestTimeout;
     followRedirect = options.followRedirect;
@@ -218,8 +218,8 @@ self = module.exports = {
       name: 'Indent type',
       id: 'indentType',
       type: 'enum',
-      availableOptions: ['tab', 'space'],
-      default: 'space',
+      availableOptions: ['Tab', 'Space'],
+      default: 'Space',
       description: 'Character used for indentation'
     },
     {
diff --git a/codegens/java-okhttp/README.md b/codegens/java-okhttp/README.md
index 84bf37a..48609bb 100644
--- a/codegens/java-okhttp/README.md
+++ b/codegens/java-okhttp/README.md
@@ -24,7 +24,7 @@ Convert function will take three parameters
 * `request`- Postman-SDK Request object
 
 * `options`- options is an object which can have following properties
-    * `indentType`- string representing type of indentation for code snippet. eg: 'space', 'tab'
+    * `indentType`- string representing type of indentation for code snippet. eg: 'Space', 'Tab'
     * `indentCount`- positiveInteger representing count of indentation required.
     * `includeBoilerplate`- boolean representing whether to include class definition in code snippet 
     * `requestTimeout` : Integer denoting time after which the request will bail out in milli-seconds
@@ -37,7 +37,7 @@ Convert function will take three parameters
 ```js
 var request = new sdk.Request('www.google.com'),  //using postman sdk to create request  
     options = {
-        indentType: 'space',
+        indentType: 'Space',
         indentCount: 2,
         includeBoilerplate: false
     };
diff --git a/codegens/java-okhttp/lib/okhttp.js b/codegens/java-okhttp/lib/okhttp.js
index 243d326..2b88830 100644
--- a/codegens/java-okhttp/lib/okhttp.js
+++ b/codegens/java-okhttp/lib/okhttp.js
@@ -77,8 +77,8 @@ function getOptions () {
       name: 'Indent type',
       id: 'indentType',
       type: 'enum',
-      availableOptions: ['tab', 'space'],
-      default: 'space',
+      availableOptions: ['Tab', 'Space'],
+      default: 'Space',
       description: 'Character used for indentation'
     },
     {
@@ -112,7 +112,7 @@ function getOptions () {
  *
  * @param {Object} request - postman-SDK request object
  * @param {Object} options - Options to tweak code snippet generated in Java-OkHttp
- * @param {String} options.indentType - type for indentation eg: space, tab
+ * @param {String} options.indentType - type for indentation eg: Space, Tab
  * @param {String} options.indentCount - number of spaces or tabs for indentation.
  * @param {Boolean} [options.includeBoilerplate] - indicates whether to include class defination in java
  * @param {Boolean} options.followRedirect - whether to enable followredirect
@@ -140,7 +140,7 @@ function convert (request, options, callback) {
     //  snippet to create request in java okhttp
     snippet = '';
 
-  indentString = options.indentType === 'tab' ? '\t' : ' ';
+  indentString = options.indentType === 'Tab' ? '\t' : ' ';
   indentString = indentString.repeat(options.indentCount);
 
   if (options.includeBoilerplate) {
diff --git a/codegens/java-unirest/README.md b/codegens/java-unirest/README.md
index 808207c..8c7a2f0 100644
--- a/codegens/java-unirest/README.md
+++ b/codegens/java-unirest/README.md
@@ -24,7 +24,7 @@ Convert function will take three parameters
 * `request`- Postman-SDK Request object
 
 * `options`- options is an object which can have following properties
-    * `indentType`- string representing type of indentation for code snippet. eg: 'space', 'tab'
+    * `indentType`- string representing type of indentation for code snippet. eg: 'Space', 'Tab'
     * `indentCount`- positiveInteger representing count of indentation required.
     * `includeBoilerplate`- boolean representing whether to include class definition in code snippet 
     * `requestTimeout` : Integer denoting time after which the request will bail out in milli-seconds
@@ -37,7 +37,7 @@ Convert function will take three parameters
 ```js
 var request = new sdk.Request('www.google.com'),  //using postman sdk to create request  
     options = {
-        indentType: 'space',
+        indentType: 'Space',
         indentCount: 2,
         includeBoilerplate: false
     };
diff --git a/codegens/java-unirest/lib/unirest.js b/codegens/java-unirest/lib/unirest.js
index 898ba4e..a1275df 100644
--- a/codegens/java-unirest/lib/unirest.js
+++ b/codegens/java-unirest/lib/unirest.js
@@ -73,8 +73,8 @@ function getOptions () {
       name: 'Indent type',
       id: 'indentType',
       type: 'enum',
-      availableOptions: ['tab', 'space'],
-      default: 'space',
+      availableOptions: ['Tab', 'Space'],
+      default: 'Space',
       description: 'Character used for indentation'
     },
     {
@@ -106,7 +106,7 @@ function getOptions () {
  *
  * @param {Object} request - postman-SDK request object
  * @param {Object} options
- * @param {String} options.indentType - type for indentation eg: space, tab
+ * @param {String} options.indentType - type for indentation eg: Space, Tab
  * @param {String} options.indentCount - number of spaces or tabs for indentation.
  * @param {Boolean} [options.includeBoilerplate] - indicates whether to include class defination in java
  * @param {Boolean} options.followRedirect - whether to enable followredirect
@@ -130,7 +130,7 @@ function convert (request, options, callback) {
     //  code snippet to create request using java unirest
     snippet = '';
 
-  indentString = options.indentType === 'tab' ? '\t' : ' ';
+  indentString = options.indentType === 'Tab' ? '\t' : ' ';
   indentString = indentString.repeat(options.indentCount);
 
   if (options.includeBoilerplate) {
diff --git a/codegens/js-fetch/README.md b/codegens/js-fetch/README.md
index a35c283..279c0f3 100644
--- a/codegens/js-fetch/README.md
+++ b/codegens/js-fetch/README.md
@@ -14,7 +14,7 @@ Convert function takes three parameters
 * `request` - Postman-SDK Request Object
 
 * `options` - options is an object which hsa following properties
-    * `indentType` - String denoting type of indentation for code snippet. eg: 'space', 'tab'
+    * `indentType` - String denoting type of indentation for code snippet. eg: 'Space', 'Tab'
     * `indentCount` - Number of indentation characters to add per code level
     * `trimRequestBody` - Trim request body fields
     * `followRedirect` - Boolean denoting whether to redirect a request
@@ -27,7 +27,7 @@ Convert function takes three parameters
 var request = new sdk.Request('www.google.com'),  //using postman sdk to create request  
     options = {
         indentCount: 3,
-        indentType: 'space',
+        indentType: 'Space',
         requestTimeout: 200,
         trimRequestBody: true,
         followRedirect: true
diff --git a/codegens/js-fetch/lib/index.js b/codegens/js-fetch/lib/index.js
index fd90978..78c2d25 100644
--- a/codegens/js-fetch/lib/index.js
+++ b/codegens/js-fetch/lib/index.js
@@ -136,8 +136,8 @@ function getOptions () {
       name: 'Indent type',
       id: 'indentType',
       type: 'enum',
-      availableOptions: ['tab', 'space'],
-      default: 'space',
+      availableOptions: ['Tab', 'Space'],
+      default: 'Space',
       description: 'Character used for indentation'
     },
     {
@@ -169,7 +169,7 @@ function getOptions () {
  *
  * @param {Object} request - postman-SDK request object
  * @param {Object} options
- * @param {String} options.indentType - type for indentation eg: space, tab
+ * @param {String} options.indentType - type for indentation eg: Space, Tab
  * @param {String} options.indentCount - number of spaces or tabs for indentation.
  * @param {Boolean} options.followRedirect - whether to enable followredirect
  * @param {Boolean} options.trimRequestBody - whether to trim fields in request body or not
@@ -182,7 +182,7 @@ function convert (request, options, callback) {
   }
   options = sanitizeOptions(options, getOptions());
 
-  var indent = options.indentType === 'tab' ? '\t' : ' ',
+  var indent = options.indentType === 'Tab' ? '\t' : ' ',
     trim = options.trimRequestBody,
     headers, body,
     codeSnippet = '',
diff --git a/codegens/js-jquery/lib/js-jquery.js b/codegens/js-jquery/lib/js-jquery.js
index 222b1ec..43775f0 100644
--- a/codegens/js-jquery/lib/js-jquery.js
+++ b/codegens/js-jquery/lib/js-jquery.js
@@ -67,8 +67,8 @@ self = module.exports = {
       name: 'Indent type',
       id: 'indentType',
       type: 'enum',
-      availableOptions: ['tab', 'space'],
-      default: 'space',
+      availableOptions: ['Tab', 'Space'],
+      default: 'Space',
       description: 'Character used for indentation'
     },
     {
@@ -92,9 +92,9 @@ self = module.exports = {
     *
     * @param  {Object} request - postman SDK-request object
     * @param  {Object} options
-    * @param  {String} options.indentType - type of indentation eg: space / tab (default: space)
-    * @param  {Number} options.indentCount - frequency of indent (default: 4 for indentType: space,
-                                                                    default: 1 for indentType: tab)
+    * @param  {String} options.indentType - type of indentation eg: Space / Tab (default: Space)
+    * @param  {Number} options.indentCount - frequency of indent (default: 4 for indentType: Space,
+                                                                    default: 1 for indentType: Tab)
     * @param {Number} options.requestTimeout : time in milli-seconds after which request will bail out
                                                 (default: 0 -> never bail out)
     * @param {Boolean} options.trimRequestBody : whether to trim request body fields (default: false)
@@ -113,7 +113,7 @@ self = module.exports = {
       throw new Error('js-jQuery~convert: Callback is not a function');
     }
     options = sanitizeOptions(options, self.getOptions());
-    indentType = (options.indentType === 'tab') ? '\t' : ' ';
+    indentType = (options.indentType === 'Tab') ? '\t' : ' ';
 
     indent = indentType.repeat(options.indentCount);
 
diff --git a/codegens/js-xhr/README.md b/codegens/js-xhr/README.md
index c3aab5c..e4fca52 100644
--- a/codegens/js-xhr/README.md
+++ b/codegens/js-xhr/README.md
@@ -23,7 +23,7 @@ Convert function takes three parameters
 * `request` - Postman-SDK Request Object
 
 * `options` - options is an object which hsa following properties
-    * `indentType` - String denoting type of indentation for code snippet. eg: 'space', 'tab'
+    * `indentType` - String denoting type of indentation for code snippet. eg: 'Space', 'Tab'
     * `indentCount` - Number of indentation characters to add per code level
     * `trimRequestBody` - Trim request body fields
     * `followRedirect` - Boolean denoting whether to redirect a request
@@ -36,7 +36,7 @@ Convert function takes three parameters
 var request = new sdk.Request('www.google.com'),  //using postman sdk to create request  
     options = {
         indentCount: 3,
-        indentType: 'space',
+        indentType: 'Space',
         requestTimeout: 200,
         trimRequestBody: true,
         followRedirect: true
diff --git a/codegens/js-xhr/lib/index.js b/codegens/js-xhr/lib/index.js
index 17bcf84..7f69051 100644
--- a/codegens/js-xhr/lib/index.js
+++ b/codegens/js-xhr/lib/index.js
@@ -127,8 +127,8 @@ function getOptions () {
       name: 'Indent type',
       id: 'indentType',
       type: 'enum',
-      availableOptions: ['tab', 'space'],
-      default: 'space',
+      availableOptions: ['Tab', 'Space'],
+      default: 'Space',
       description: 'Character used for indentation'
     },
     {
@@ -152,7 +152,7 @@ function getOptions () {
  * @description Converts Postman sdk request object to nodejs(unirest) code snippet
  * @param {Object} request - postman-SDK request object
  * @param {Object} options
- * @param {String} options.indentType - type for indentation eg: space, tab
+ * @param {String} options.indentType - type for indentation eg: Space, Tab
  * @param {String} options.indentCount - number of spaces or tabs for indentation.
  * @param {Boolean} options.trimRequestBody - whether to trim fields in request body or not
  * @param {Number} options.requestTimeout : time in milli-seconds after which request will bail out
@@ -167,7 +167,7 @@ function convert (request, options, callback) {
   var indent, trim, headerSnippet,
     codeSnippet = '',
     bodySnippet = '';
-  indent = options.indentType === 'tab' ? '\t' : ' ';
+  indent = options.indentType === 'Tab' ? '\t' : ' ';
   indent = indent.repeat(options.indentCount);
   trim = options.trimRequestBody;
 
diff --git a/codegens/libcurl/README.md b/codegens/libcurl/README.md
index c05192c..0b78ef1 100644
--- a/codegens/libcurl/README.md
+++ b/codegens/libcurl/README.md
@@ -14,7 +14,7 @@ Convert function takes three parameters
 * `request` - Postman-SDK Request Object
 
 * `options` - options is an object which hsa following properties
-    * `indentType` - String denoting type of indentation for code snippet. eg: 'space', 'tab'
+    * `indentType` - String denoting type of indentation for code snippet. eg: 'Space', 'Tab'
     * `indentCount` - Integer denoting count of indentation required
     * `trimRequestBody` - Boolean denoting whether to trim request body fields
     * `protocol` - String denoting the protocol type used in the request
@@ -28,7 +28,7 @@ Convert function takes three parameters
 var request = new sdk.Request('www.google.com'),  //using postman sdk to create request  
     options = {
         indentCount: 3,
-        indentType: 'space',
+        indentType: 'Space',
         trimRequestBody: true,
         protocol: 'https',
         multiLine: true,
diff --git a/codegens/libcurl/lib/index.js b/codegens/libcurl/lib/index.js
index 93eb57e..b2e6f26 100644
--- a/codegens/libcurl/lib/index.js
+++ b/codegens/libcurl/lib/index.js
@@ -18,7 +18,7 @@ self = module.exports = {
       protocol,
       BOUNDARY = '----WebKitFormBoundary7MA4YWxkTrZu0gW',
       timeout,
-      indent = options.indentType === 'tab' ? '\t' : ' ',
+      indent = options.indentType === 'Tab' ? '\t' : ' ',
       indentString = indent.repeat(options.indentCount),
       headerSnippet = '',
       footerSnippet = '';
@@ -166,8 +166,8 @@ self = module.exports = {
         name: 'Indent type',
         id: 'indentType',
         type: 'enum',
-        availableOptions: ['tab', 'space'],
-        default: 'space',
+        availableOptions: ['Tab', 'Space'],
+        default: 'Space',
         description: 'Character used for indentation'
       },
       {
diff --git a/codegens/nodejs-native/README.md b/codegens/nodejs-native/README.md
index 2837b69..e8edf36 100644
--- a/codegens/nodejs-native/README.md
+++ b/codegens/nodejs-native/README.md
@@ -15,7 +15,7 @@ Convert function will take three parameters
 * `request`- Postman-SDK Request object
 
 * `options`- options is an object which can have following properties
-    * `indentType`- string representing type of indentation for code snippet. eg: 'space', 'tab'
+    * `indentType`- string representing type of indentation for code snippet. eg: 'Space', 'Tab'
     * `indentCount`- positiveInteger representing count of indentation required.
     * `requestTimeout` : Integer denoting time after which the request will bail out in milli-seconds
     * `trimRequestBody` : Trim request body fields
@@ -27,7 +27,7 @@ Convert function will take three parameters
 ```js
 var request = new sdk.Request('www.google.com'),  //using postman sdk to create request  
     options = {
-        indentType: 'space',
+        indentType: 'Space',
         indentCount: 2
     };
 convert(request, options, function(error, snippet) {
diff --git a/codegens/nodejs-native/lib/request.js b/codegens/nodejs-native/lib/request.js
index c9215d7..b4b91cd 100644
--- a/codegens/nodejs-native/lib/request.js
+++ b/codegens/nodejs-native/lib/request.js
@@ -107,7 +107,7 @@ function makeSnippet (request, indentString, options) {
  *
  * @param {Object} request - postman-SDK request object
  * @param {Object} options
- * @param {String} options.indentType - type for indentation eg: space, tab
+ * @param {String} options.indentType - type for indentation eg: Space, Tab
  * @param {String} options.indentCount - number of spaces or tabs for indentation.
  * @param {Boolean} options.followRedirect - whether to enable followredirect
  * @param {Boolean} options.trimRequestBody - whether to trim fields in request body or not
@@ -132,8 +132,8 @@ self = module.exports = {
       name: 'Indent type',
       id: 'indentType',
       type: 'enum',
-      availableOptions: ['tab', 'space'],
-      default: 'space',
+      availableOptions: ['Tab', 'Space'],
+      default: 'Space',
       description: 'Character used for indentation'
     },
     {
@@ -168,7 +168,7 @@ self = module.exports = {
     //  String representing value of indentation required
     var indentString;
 
-    indentString = options.indentType === 'tab' ? '\t' : ' ';
+    indentString = options.indentType === 'Tab' ? '\t' : ' ';
     indentString = indentString.repeat(options.indentCount);
 
     return callback(null, makeSnippet(request, indentString, options));
diff --git a/codegens/nodejs-request/README.md b/codegens/nodejs-request/README.md
index aaeeb77..9a23dc6 100644
--- a/codegens/nodejs-request/README.md
+++ b/codegens/nodejs-request/README.md
@@ -24,7 +24,7 @@ Convert function will take three parameters
 * `request`- Postman-SDK Request object
 
 * `options`- options is an object which can have following properties
-    * `indentType`- string representing type of indentation for code snippet. eg: 'space', 'tab'
+    * `indentType`- string representing type of indentation for code snippet. eg: 'Space', 'Tab'
     * `indentCount`- positiveInteger representing count of indentation required.
     * `requestTimeout` : Integer denoting time after which the request will bail out in milli-seconds
     * `trimRequestBody` : Trim request body fields
@@ -36,7 +36,7 @@ Convert function will take three parameters
 ```js
 var request = new sdk.Request('www.google.com'),  //using postman sdk to create request  
     options = {
-        indentType: 'space',
+        indentType: 'Space',
         indentCount: 2
     };
 convert(request, options, function(error, snippet) {
diff --git a/codegens/nodejs-request/lib/request.js b/codegens/nodejs-request/lib/request.js
index 0fdfde8..4de196e 100644
--- a/codegens/nodejs-request/lib/request.js
+++ b/codegens/nodejs-request/lib/request.js
@@ -73,8 +73,8 @@ function getOptions () {
       name: 'Indent type',
       id: 'indentType',
       type: 'enum',
-      availableOptions: ['tab', 'space'],
-      default: 'space',
+      availableOptions: ['Tab', 'Space'],
+      default: 'Space',
       description: 'Character used for indentation'
     },
     {
@@ -106,7 +106,7 @@ function getOptions () {
  *
  * @param {Object} request - postman-SDK request object
  * @param {Object} options
- * @param {String} options.indentType - type for indentation eg: space, tab
+ * @param {String} options.indentType - type for indentation eg: Space, Tab
  * @param {String} options.indentCount - number of spaces or tabs for indentation.
  * @param {Boolean} options.followRedirect - whether to enable followredirect
  * @param {Boolean} options.trimRequestBody - whether to trim fields in request body or not
@@ -122,7 +122,7 @@ function convert (request, options, callback) {
   //  String representing value of indentation required
   var indentString;
 
-  indentString = options.indentType === 'tab' ? '\t' : ' ';
+  indentString = options.indentType === 'Tab' ? '\t' : ' ';
   indentString = indentString.repeat(options.indentCount);
 
   return callback(null, makeSnippet(request, indentString, options));
diff --git a/codegens/nodejs-unirest/README.md b/codegens/nodejs-unirest/README.md
index 0e0803f..7231271 100644
--- a/codegens/nodejs-unirest/README.md
+++ b/codegens/nodejs-unirest/README.md
@@ -24,7 +24,7 @@ Convert function will take three parameters
 * `request`- Postman-SDK Request object
 
 * `options`- options is an object which can have following properties
-    * `indentType`- string representing type of indentation for code snippet. eg: 'space', 'tab' (default: 'tab')
+    * `indentType`- string representing type of indentation for code snippet. eg: 'Space', 'Tab' (default: 'Tab')
     * `indentCount`- positiveInteger representing count of indentation required.
     * `requestTimeout` : Integer denoting time after which the request will bail out in milli-seconds
     * `trimRequestBody` : Trim request body fields
@@ -36,7 +36,7 @@ Convert function will take three parameters
 ```js
 var request = new sdk.Request('www.google.com'),  //using postman sdk to create request  
     options = {
-        indentType: 'space',
+        indentType: 'Space',
         indentCount: 2
     };
 convert(request, options, function(error, snippet) {
diff --git a/codegens/nodejs-unirest/lib/unirest.js b/codegens/nodejs-unirest/lib/unirest.js
index 61c0a2a..cefbefe 100644
--- a/codegens/nodejs-unirest/lib/unirest.js
+++ b/codegens/nodejs-unirest/lib/unirest.js
@@ -54,8 +54,8 @@ function getOptions () {
       name: 'Indent type',
       id: 'indentType',
       type: 'enum',
-      availableOptions: ['tab', 'space'],
-      default: 'space',
+      availableOptions: ['Tab', 'Space'],
+      default: 'Space',
       description: 'Character used for indentation'
     },
     {
@@ -87,7 +87,7 @@ function getOptions () {
  *
  * @param {Object} request - postman-SDK request object
  * @param {Object} options
- * @param {String} options.indentType - type for indentation eg: space, tab
+ * @param {String} options.indentType - type for indentation eg: Space, Tab
  * @param {String} options.indentCount - number of spaces or tabs for indentation.
  * @param {Boolean} options.followRedirect - whether to enable followredirect
  * @param {Boolean} options.trimRequestBody - whether to trim fields in request body or not
@@ -103,7 +103,7 @@ function convert (request, options, callback) {
   //  String representing value of indentation required
   var indentString;
 
-  indentString = options.indentType === 'tab' ? '\t' : ' ';
+  indentString = options.indentType === 'Tab' ? '\t' : ' ';
   indentString = indentString.repeat(options.indentCount);
 
   return callback(null, makeSnippet(request, indentString, options));
diff --git a/codegens/ocaml-cohttp/README.md b/codegens/ocaml-cohttp/README.md
index bdf9a7a..6958a82 100644
--- a/codegens/ocaml-cohttp/README.md
+++ b/codegens/ocaml-cohttp/README.md
@@ -25,7 +25,7 @@ Convert function takes three parameters
 * `request` - Postman-SDK Request Object
 
 * `options` - options is an object which hsa following properties
-    * `indentType` - String denoting type of indentation for code snippet. eg: 'space', 'tab'
+    * `indentType` - String denoting type of indentation for code snippet. eg: 'Space', 'Tab'
     * `indentCount` - Number of indentation characters to add per code level
     * `trimRequestBody` - Trim request body fields
     * `followRedirect` - Boolean denoting whether to redirect a request 
@@ -38,7 +38,7 @@ Convert function takes three parameters
 var request = new sdk.Request('www.google.com'),  //using postman sdk to create request  
     options = {
         indentCount: 3,
-        indentType: 'space',
+        indentType: 'Space',
         requestTimeout: 200,  // currently not supported (By default request will never bail out in Ocaml)
         trimRequestBody: true,
         followRedirect: true  // currently not supported (By default Ocaml will follow redirect.)
diff --git a/codegens/ocaml-cohttp/lib/ocaml.js b/codegens/ocaml-cohttp/lib/ocaml.js
index cd23b03..f0617ee 100644
--- a/codegens/ocaml-cohttp/lib/ocaml.js
+++ b/codegens/ocaml-cohttp/lib/ocaml.js
@@ -215,8 +215,8 @@ self = module.exports = {
         name: 'Indent type',
         id: 'indentType',
         type: 'enum',
-        availableOptions: ['tab', 'space'],
-        default: 'space',
+        availableOptions: ['Tab', 'Space'],
+        default: 'Space',
         description: 'Character used for indentation'
       },
       {
@@ -250,9 +250,9 @@ self = module.exports = {
     *
     * @param  {Object} request - postman SDK-request object
     * @param  {Object} options
-    * @param  {String} options.indentType - type of indentation eg: space / tab (default: space)
-    * @param  {Number} options.indentCount - frequency of indent (default: 4 for indentType: space,
-                                                                    default: 1 for indentType: tab)
+    * @param  {String} options.indentType - type of indentation eg: Space / Tab (default: Space)
+    * @param  {Number} options.indentCount - frequency of indent (default: 4 for indentType: Space,
+                                                                    default: 1 for indentType: Tab)
     * @param {Number} options.requestTimeout - time in milli-seconds after which request will bail out
                                                 (default: 0 -> never bail out)
     * @param {Boolean} options.trimRequestBody - whether to trim request body fields (default: false)
@@ -277,7 +277,7 @@ self = module.exports = {
       requestBody = (request.body ? request.body.toJSON() : {}),
       requestBodyMode = (request.body ? request.body.mode : 'raw');
 
-    indent = options.indentType === 'tab' ? '\t' : ' ';
+    indent = options.indentType === 'Tab' ? '\t' : ' ';
     indent = indent.repeat(options.indentCount);
     // timeout = options.requestTimeout;
     // followRedirect = options.followRedirect;
diff --git a/codegens/php-curl/README.md b/codegens/php-curl/README.md
index 3163ab1..5bfe6a3 100644
--- a/codegens/php-curl/README.md
+++ b/codegens/php-curl/README.md
@@ -30,9 +30,9 @@ It requires 3 mandatory parameters `request`, `callback` and `options`
 
 * `options` is an object with the following properties
 
-    * `indentType` : can be `tab` or `space` (default: 'space')
+    * `indentType` : can be `Tab` or `Space` (default: 'Space')
 
-    * `indentCount` : Integer denoting the number of tabs/spaces required for indentation, range 0-8 (default : for indentType tab : 2, for indentType space : 4)
+    * `indentCount` : Integer denoting the number of tabs/spaces required for indentation, range 0-8 (default : for indentType Tab : 2, for indentType Space : 4)
     
     * `requestTimeout` : Integer denoting time after which the request will bail out in milli-seconds (default: 0 -> never bail out)
 
@@ -49,7 +49,7 @@ It requires 3 mandatory parameters `request`, `callback` and `options`
 sdk = require('postman-collection');
 
 var request = sdk.Request('http://www.google.com'),
-    options = {indentType: 'tab', indentCount: 4, followRediredirect: false, trimRequestBody: true};
+    options = {indentType: 'Tab', indentCount: 4, followRediredirect: false, trimRequestBody: true};
 
 convert(request, options, function (err, snippet) {
     if (err) {
diff --git a/codegens/php-curl/lib/php-curl.js b/codegens/php-curl/lib/php-curl.js
index 7e084b8..442eb8a 100644
--- a/codegens/php-curl/lib/php-curl.js
+++ b/codegens/php-curl/lib/php-curl.js
@@ -43,8 +43,8 @@ self = module.exports = {
       name: 'Indent type',
       id: 'indentType',
       type: 'enum',
-      availableOptions: ['tab', 'space'],
-      default: 'space',
+      availableOptions: ['Tab', 'Space'],
+      default: 'Space',
       description: 'Character used for indentation'
     },
     {
@@ -75,9 +75,9 @@ self = module.exports = {
     *
     * @param  {Object} request - postman SDK-request object
     * @param  {Object} options
-    * @param  {String} options.indentType - type of indentation eg: space / tab (default: space)
-    * @param  {Number} options.indentCount - frequency of indent (default: 4 for indentType: space,
-                                                                    default: 1 for indentType: tab)
+    * @param  {String} options.indentType - type of indentation eg: Space / Tab (default: Space)
+    * @param  {Number} options.indentCount - frequency of indent (default: 4 for indentType: Space,
+                                                                    default: 1 for indentType: Tab)
     * @param {Number} options.requestTimeout : time in milli-seconds after which request will bail out
                                                 (default: 0 -> never bail out)
     * @param {Boolean} options.trimRequestBody : whether to trim request body fields (default: false)
@@ -99,7 +99,7 @@ self = module.exports = {
     }
     options = sanitizeOptions(options, self.getOptions());
 
-    identity = options.indentType === 'tab' ? '\t' : ' ';
+    identity = options.indentType === 'Tab' ? '\t' : ' ';
     indentation = identity.repeat(options.indentCount);
     // concatenation and making up the final string
     finalUrl = request.url.toString();
diff --git a/codegens/php-pecl-http/README.md b/codegens/php-pecl-http/README.md
index 7b7e652..6d676bb 100644
--- a/codegens/php-pecl-http/README.md
+++ b/codegens/php-pecl-http/README.md
@@ -14,7 +14,7 @@ Convert function takes three parameters
 * `request` - Postman-SDK Request Object
 
 * `options` - options is an object which hsa following properties
-    * `indentType` - String denoting type of indentation for code snippet. eg: 'space', 'tab'
+    * `indentType` - String denoting type of indentation for code snippet. eg: 'Space', 'Tab'
     * `indentCount` - Number of indentation characters to add per code level
     * `trimRequestBody` - Trim request body fields
     * `followRedirect` - Boolean denoting whether to redirect a request
@@ -27,7 +27,7 @@ Convert function takes three parameters
 var request = new sdk.Request('www.google.com'),  //using postman sdk to create request  
     options = {
         indentCount: 3,
-        indentType: 'space',
+        indentType: 'Space',
         requestTimeout: 200,
         trimRequestBody: true,
         followRedirect: true
diff --git a/codegens/php-pecl-http/lib/phpPecl.js b/codegens/php-pecl-http/lib/phpPecl.js
index 9f08f2a..93644d6 100644
--- a/codegens/php-pecl-http/lib/phpPecl.js
+++ b/codegens/php-pecl-http/lib/phpPecl.js
@@ -43,8 +43,8 @@ self = module.exports = {
         name: 'Indent type',
         id: 'indentType',
         type: 'enum',
-        default: 'space',
-        availableOptions: ['tab', 'space'],
+        default: 'Space',
+        availableOptions: ['Tab', 'Space'],
         description: 'Character used for indentation'
       },
       {
@@ -74,9 +74,9 @@ self = module.exports = {
   /**
      * @param  {Object} request - postman SDK-request object
      * @param  {Object} options
-     * @param  {String} options.indentType - type of indentation eg: spaces/tab (default: space)
-     * @param  {String} options.indentCount - frequency of indent (default: 4 for indentType: space,
-     *                                                               default: 2 for indentType: tab)
+     * @param  {String} options.indentType - type of indentation eg: spaces/Tab (default: Space)
+     * @param  {String} options.indentCount - frequency of indent (default: 4 for indentType: Space,
+     *                                                               default: 2 for indentType: Tab)
      * @param {Number} options.requestTimeout : time in milli-seconds after which request will bail out
                                                 (default: 0 -> never bail out)
      * @param {Boolean} options.trimRequestBody : whether to trim request body fields (default: false)
@@ -96,7 +96,7 @@ self = module.exports = {
     }
     options = sanitizeOptions(options, self.getOptions());
 
-    identity = options.indentType === 'tab' ? '\t' : ' ';
+    identity = options.indentType === 'Tab' ? '\t' : ' ';
     indentation = identity.repeat(options.indentCount);
 
     snippet = '<?php\n';
diff --git a/codegens/python-http.client/README.md b/codegens/python-http.client/README.md
index b3995f6..a7510ec 100644
--- a/codegens/python-http.client/README.md
+++ b/codegens/python-http.client/README.md
@@ -14,7 +14,7 @@ Convert function takes three parameters
 * `request` - Postman-SDK Request Object
 
 * `options` - options is an object which hsa following properties
-    * `indentType` - String denoting type of indentation for code snippet. eg: 'space', 'tab'
+    * `indentType` - String denoting type of indentation for code snippet. eg: 'Space', 'Tab'
     * `indentCount` - Number of indentation characters to add per code level
     * `trimRequestBody` - Trim request body fields
     * `followRedirect` - Boolean denoting whether to redirect a request
@@ -27,7 +27,7 @@ Convert function takes three parameters
 var request = new sdk.Request('www.google.com'),  //using postman sdk to create request  
     options = {
         indentCount: 3,
-        indentType: 'space',
+        indentType: 'Space',
         requestTimeout: 200,
         trimRequestBody: true,
         followRedirect: true
diff --git a/codegens/python-http.client/lib/python-httpclient.js b/codegens/python-http.client/lib/python-httpclient.js
index 2f81e7d..2f09575 100644
--- a/codegens/python-http.client/lib/python-httpclient.js
+++ b/codegens/python-http.client/lib/python-httpclient.js
@@ -72,8 +72,8 @@ self = module.exports = {
         name: 'Indent type',
         id: 'indentType',
         type: 'enum',
-        default: 'space',
-        availableOptions: ['tab', 'space'],
+        default: 'Space',
+        availableOptions: ['Tab', 'Space'],
         description: 'Character used for indentation'
       },
       {
@@ -100,9 +100,9 @@ self = module.exports = {
     *
     * @param  {Object} request - postman SDK-request object
     * @param  {Object} options - Options to tweak code snippet generated in Python
-    * @param  {String} options.indentType - type of indentation eg: space / tab (default: space)
-    * @param  {Number} options.indentCount - frequency of indent (default: 4 for indentType: space,
-                                                                    default: 1 for indentType: tab)
+    * @param  {String} options.indentType - type of indentation eg: Space / Tab (default: Space)
+    * @param  {Number} options.indentCount - frequency of indent (default: 4 for indentType: Space,
+                                                                    default: 1 for indentType: Tab)
     * @param {Number} options.requestTimeout : time in milli-seconds after which request will bail out
                                                 (default: 0 -> never bail out)
     * @param {Boolean} options.requestBodyTrim : whether to trim request body fields (default: false)
@@ -123,7 +123,7 @@ self = module.exports = {
     }
     options = sanitizeOptions(options, self.getOptions());
 
-    identity = options.indentType === 'tab' ? '\t' : ' ';
+    identity = options.indentType === 'Tab' ? '\t' : ' ';
     indentation = identity.repeat(options.indentCount);
 
     snippet += 'import http.client\n';
diff --git a/codegens/python-requests/README.md b/codegens/python-requests/README.md
index cc12950..3319fb8 100644
--- a/codegens/python-requests/README.md
+++ b/codegens/python-requests/README.md
@@ -18,9 +18,9 @@ It requires 3 mandatory parameters `request`, `callback` and `options`
 
 * `options` is an object with the following properties
 
-    * `indentType` : can be `tab` or `space` (default: 'space')
+    * `indentType` : can be `Tab` or `Space` (default: 'Space')
 
-    * `indentCount` : Integer denoting the number of tabs/spaces required for indentation, range 0-8 (default : for indentType tab : 2, for indentType space : 4)
+    * `indentCount` : Integer denoting the number of tabs/spaces required for indentation, range 0-8 (default : for indentType Tab : 2, for indentType Space : 4)
     
     * `requestTimeout` : Integer denoting time after which the request will bail out in milli-seconds (default: 0 -> never bail out)
 
@@ -37,7 +37,7 @@ It requires 3 mandatory parameters `request`, `callback` and `options`
 sdk = require('postman-collection');
 
 var request = sdk.Request('https://www.google.com'),
-    options = {indentType: 'tab', indentCount: 4, followRediredirect: false, trimRequestBody: true, requestTimeout: 0};
+    options = {indentType: 'Tab', indentCount: 4, followRediredirect: false, trimRequestBody: true, requestTimeout: 0};
 
 convert(request, options, function (err, snippet) {
     if (err) {
diff --git a/codegens/python-requests/lib/python-requests.js b/codegens/python-requests/lib/python-requests.js
index 38678f1..b3d0c22 100644
--- a/codegens/python-requests/lib/python-requests.js
+++ b/codegens/python-requests/lib/python-requests.js
@@ -6,8 +6,8 @@ var _ = require('./lodash'),
 
 /**
  * Used to parse the request headers
- * 
- * @param  {Object} request - postman SDK-request object 
+ *
+ * @param  {Object} request - postman SDK-request object
  * @param  {String} indentation - used for indenting snippet's structure
  * @returns {String} - request headers in the desired format
  */
@@ -28,7 +28,7 @@ function getheaders (request, indentation) {
 self = module.exports = {
   /**
      * Used to return options which are specific to a particular plugin
-     * 
+     *
      * @returns {Array}
      */
   getOptions: function () {
@@ -43,8 +43,8 @@ self = module.exports = {
       name: 'Indent type',
       id: 'indentType',
       type: 'enum',
-      availableOptions: ['tab', 'space'],
-      default: 'space',
+      availableOptions: ['Tab', 'Space'],
+      default: 'Space',
       description: 'Character used for indentation'
     },
     {
@@ -71,13 +71,13 @@ self = module.exports = {
   },
 
   /**
-    * Used to convert the postman sdk-request object to python request snippet 
-    * 
+    * Used to convert the postman sdk-request object to python request snippet
+    *
     * @param  {Object} request - postman SDK-request object
     * @param  {Object} options
-    * @param  {String} options.indentType - type of indentation eg: space / tab (default: space)
-    * @param  {Number} options.indentCount - frequency of indent (default: 4 for indentType: space, 
-                                                                    default: 1 for indentType: tab)
+    * @param  {String} options.indentType - type of indentation eg: Space / Tab (default: Space)
+    * @param  {Number} options.indentCount - frequency of indent (default: 4 for indentType: Space,
+                                                                    default: 1 for indentType: Tab)
     * @param {Number} options.requestTimeout : time in milli-seconds after which request will bail out
                                                 (default: 0 -> never bail out)
     * @param {Boolean} options.trimRequestBody : whether to trim request body fields (default: false)
@@ -98,7 +98,7 @@ self = module.exports = {
     }
     options = sanitizeOptions(options, self.getOptions());
 
-    identity = options.indentType === 'tab' ? '\t' : ' ';
+    identity = options.indentType === 'Tab' ? '\t' : ' ';
     indentation = identity.repeat(options.indentCount);
     snippet += 'import requests\n\n';
     snippet += `url = "${sanitize(request.url.toString(), 'url')}"\n\n`;
diff --git a/codegens/ruby/README.md b/codegens/ruby/README.md
index 62db489..519a07f 100644
--- a/codegens/ruby/README.md
+++ b/codegens/ruby/README.md
@@ -20,9 +20,9 @@ It requires 3 mandatory parameters `request`, `callback` and `options`
 
 * `options` is an object with the following properties
 
-    * `indentType` : can be `tab` or `space` (default: 'space')
+    * `indentType` : can be `Tab` or `Space` (default: 'Space')
 
-    * `indentCount` : Integer denoting the number of tabs/spaces required for indentation, range 0-8 (default : for indentType tab : 2, for indentType space : 4)
+    * `indentCount` : Integer denoting the number of tabs/spaces required for indentation, range 0-8 (default : for indentType Tab : 2, for indentType Space : 4)
 
     * `trimRequestBody` : Trim request body fields (default: false)
 
@@ -35,7 +35,7 @@ It requires 3 mandatory parameters `request`, `callback` and `options`
 sdk = require('postman-collection');
 
 var request = sdk.Request('http://www.google.com'),
-    options = {indentType: 'tab', indentCount: 4, trimRequestBody: true};
+    options = {indentType: 'Tab', indentCount: 4, trimRequestBody: true};
 
 convert(request, options, function (err, snippet) {
     if (err) {
diff --git a/codegens/ruby/lib/ruby.js b/codegens/ruby/lib/ruby.js
index 1d527f8..6b235c0 100644
--- a/codegens/ruby/lib/ruby.js
+++ b/codegens/ruby/lib/ruby.js
@@ -38,8 +38,8 @@ self = module.exports = {
       name: 'Indent type',
       id: 'indentType',
       type: 'enum',
-      availableOptions: ['tab', 'space'],
-      default: 'space',
+      availableOptions: ['Tab', 'Space'],
+      default: 'Space',
       description: 'Character used for indentation'
     },
     {
@@ -70,9 +70,9 @@ self = module.exports = {
     *
     * @param  {Object} request - postman SDK-request object
     * @param  {Object} options
-    * @param  {String} options.indentType - type of indentation eg: space / tab (default: space)
-    * @param  {Number} options.indentCount - frequency of indent (default: 4 for indentType: space,
-                                                                    default: 1 for indentType: tab)
+    * @param  {String} options.indentType - type of indentation eg: Space / Tab (default: Space)
+    * @param  {Number} options.indentCount - frequency of indent (default: 4 for indentType: Space,
+                                                                    default: 1 for indentType: Tab)
     * @param {Number} options.requestTimeout : time in milli-seconds after which request will bail out
                                                 (default: 0 -> never bail out)
     * @param {Boolean} options.trimRequestBody : whether to trim request body fields (default: false)
@@ -96,7 +96,7 @@ self = module.exports = {
     }
     options = sanitizeOptions(options, self.getOptions());
 
-    identity = options.indentType === 'tab' ? '\t' : ' ';
+    identity = options.indentType === 'Tab' ? '\t' : ' ';
     indentation = identity.repeat(options.indentCount);
     // concatenation and making up the final string
     snippet = 'require "uri"\n';
diff --git a/codegens/shell-wget/README.md b/codegens/shell-wget/README.md
index df1cf8b..880745e 100644
--- a/codegens/shell-wget/README.md
+++ b/codegens/shell-wget/README.md
@@ -19,9 +19,9 @@ It requires 3 mandatory parameters `request`, `callback` and `options`
 
 * `options` is an object with the following properties
 
-    * `indentType` : can be `tab` or `space` (default: 'space')
+    * `indentType` : can be `Tab` or `Space` (default: 'Space')
 
-    * `indentCount` : Integer denoting the number of tabs/spaces required for indentation, range 0-8 (default : for indentType tab : 2, for indentType space : 4)
+    * `indentCount` : Integer denoting the number of tabs/spaces required for indentation, range 0-8 (default : for indentType Tab : 2, for indentType Space : 4)
     
     * `requestTimeout` : Integer denoting time after which the request will bail out in milli-seconds (default: 0 -> never bail out)
 
@@ -38,7 +38,7 @@ It requires 3 mandatory parameters `request`, `callback` and `options`
 sdk = require('postman-collection');
 
 var request = sdk.Request('http://www.google.com'),
-    options = {indentType: 'tab', indentCount: 4, followRediredirect: false, trimRequestBody: true};
+    options = {indentType: 'Tab', indentCount: 4, followRediredirect: false, trimRequestBody: true};
 
 convert(request, options, function (err, snippet) {
     if (err) {
diff --git a/codegens/shell-wget/lib/shell-wget.js b/codegens/shell-wget/lib/shell-wget.js
index 48d7d7a..674328b 100644
--- a/codegens/shell-wget/lib/shell-wget.js
+++ b/codegens/shell-wget/lib/shell-wget.js
@@ -48,8 +48,8 @@ self = module.exports = {
         name: 'Indent type',
         id: 'indentType',
         type: 'enum',
-        availableOptions: ['tab', 'space'],
-        default: 'space',
+        availableOptions: ['Tab', 'Space'],
+        default: 'Space',
         description: 'Character used for indentation'
       },
       {
@@ -83,9 +83,9 @@ self = module.exports = {
     *
     * @param  {Object} request - postman SDK-request object
     * @param  {Object} options
-    * @param  {String} options.indentType - type of indentation eg: space / tab (default: space)
-    * @param  {Number} options.indentCount - frequency of indent (default: 4 for indentType: space,
-                                                                    default: 1 for indentType: tab)
+    * @param  {String} options.indentType - type of indentation eg: Space / Tab (default: Space)
+    * @param  {Number} options.indentCount - frequency of indent (default: 4 for indentType: Space,
+                                                                    default: 1 for indentType: Tab)
     * @param {Number} options.requestTimeout : time in milli-seconds after which request will bail out
                                                 (default: 0 -> never bail out)
     * @param {Boolean} options.trimRequestBody : whether to trim request body fields (default: false)
@@ -107,7 +107,7 @@ self = module.exports = {
 
     options = sanitizeOptions(options, self.getOptions());
 
-    identity = options.indentType === 'tab' ? '\t' : ' ';
+    identity = options.indentType === 'Tab' ? '\t' : ' ';
     indentation = identity.repeat(options.indentCount);
     // concatenation and making up the final string
 
diff --git a/codegens/swift/README.md b/codegens/swift/README.md
index 9c69fa8..23dbc0f 100644
--- a/codegens/swift/README.md
+++ b/codegens/swift/README.md
@@ -14,7 +14,7 @@ Convert function takes three parameters
 * `request` - Postman-SDK Request Object
 
 * `options` - options is an object which hsa following properties
-    * `indentType` - String denoting type of indentation for code snippet. eg: 'space', 'tab'
+    * `indentType` - String denoting type of indentation for code snippet. eg: 'Space', 'Tab'
     * `indentCount` - Number of indentation characters to add per code level
     * `trimRequestBody` - Trim request body fields
     * `requestTimeout` - Integer denoting time after which the request will bail out in milli-seconds
@@ -26,7 +26,7 @@ Convert function takes three parameters
 var request = new sdk.Request('www.google.com'),  //using postman sdk to create request  
     options = {
         indentCount: 3,
-        indentType: 'space',
+        indentType: 'Space',
         requestTimeout: 200,
         trimRequestBody: true
     };
diff --git a/codegens/swift/lib/swift.js b/codegens/swift/lib/swift.js
index 480f4c1..5afd09d 100644
--- a/codegens/swift/lib/swift.js
+++ b/codegens/swift/lib/swift.js
@@ -163,8 +163,8 @@ self = module.exports = {
         name: 'Indent type',
         id: 'indentType',
         type: 'enum',
-        availableOptions: ['tab', 'space'],
-        default: 'space',
+        availableOptions: ['Tab', 'Space'],
+        default: 'Space',
         description: 'Character used for indentation'
       },
       {
@@ -198,9 +198,9 @@ self = module.exports = {
      *
      * @param  {Object} request - Postman SDK-request object
      * @param  {Object} options - Options to tweak code snippet generated in Swift
-     * @param  {String} options.indentType - type of indentation eg: space / tab (default: space)
-     * @param  {Number} options.indentCount - frequency of indent (default: 4 for indentType: space,
-                                                                     default: 1 for indentType: tab)
+     * @param  {String} options.indentType - type of indentation eg: Space / Tab (default: Space)
+     * @param  {Number} options.indentCount - frequency of indent (default: 4 for indentType: Space,
+                                                                     default: 1 for indentType: Tab)
      * @param {Number} options.requestTimeout - time in milli-seconds after which request will bail out
                                                  (default: 0 -> never bail out)
      * @param {Boolean} options.trimRequestBody - whether to trim request body fields (default: false)
@@ -223,7 +223,7 @@ self = module.exports = {
       headerSnippet = '',
       requestBody = (request.body ? request.body.toJSON() : {});
 
-    indent = options.indentType === 'tab' ? '\t' : ' ';
+    indent = options.indentType === 'Tab' ? '\t' : ' ';
     indent = indent.repeat(options.indentCount);
     timeout = options.requestTimeout;
     // followRedirect = options.followRedirect;
diff --git a/lib/index.js b/lib/index.js
index e31a1df..77f5dd8 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -75,7 +75,7 @@ module.exports = {
    * @param {Array} variant - variant key provided by getLanguageList function
    * @param {String} request -  valid postman request
    * @param {Object} [options] - contains convert level options
-   * @param {Number} [options.indentType] - indentation based on tab or spaces 
+   * @param {Number} [options.indentType] - indentation based on Tab or spaces
    * @param {Number} [options.indentCount] - count/frequency of indentType
    * @param {Number} [options.requestTimeout] : time in milli-seconds after which request will bail out
    * @param {Boolean} [options.trimRequestBody] : whether to trim request body fields


Test patch:
diff --git a/codegens/csharp-restsharp/test/unit/convert.test.js b/codegens/csharp-restsharp/test/unit/convert.test.js
index 606cf17..b6a1d6f 100644
--- a/codegens/csharp-restsharp/test/unit/convert.test.js
+++ b/codegens/csharp-restsharp/test/unit/convert.test.js
@@ -158,7 +158,7 @@ describe('csharp restsharp function', function () {
           },
           options = {
             indentCount: 1,
-            indentType: 'tab',
+            indentType: 'Tab',
             followRedirect: true,
             trimRequestBody: true,
             requestTimeout: 5000
@@ -180,7 +180,7 @@ describe('csharp restsharp function', function () {
       var request = new sdk.Request(mainCollection.item[4].request),
         options = {
           indentCount: 1,
-          indentType: 'tab',
+          indentType: 'Tab',
           followRedirect: true,
           trimRequestBody: true
         };
@@ -200,7 +200,7 @@ describe('csharp restsharp function', function () {
       snippetArray,
       options = {
         includeBoilerplate: true,
-        indentType: 'space',
+        indentType: 'Space',
         indentCount: 2
       };
 
@@ -214,7 +214,7 @@ describe('csharp restsharp function', function () {
       });
     });
 
-    it('should generate snippet with space as an indent type with exact indent count', function () {
+    it('should generate snippet with Space as an indent type with exact indent count', function () {
       convert(request, options, function (error, snippet) {
         if (error) {
           expect.fail(null, null, error);
@@ -337,7 +337,7 @@ describe('csharp restsharp function', function () {
 
     it('should return the same object when valid (but not necessarily defaults) options are provided', function () {
       testOptions = {};
-      testOptions.indentType = 'tab';
+      testOptions.indentType = 'Tab';
       testOptions.indentCount = 3;
       testOptions.requestTimeout = 3000;
       testOptions.trimRequestBody = true;
diff --git a/codegens/curl/test/unit/convert.test.js b/codegens/curl/test/unit/convert.test.js
index 717422c..fa48464 100644
--- a/codegens/curl/test/unit/convert.test.js
+++ b/codegens/curl/test/unit/convert.test.js
@@ -127,7 +127,7 @@ describe('curl convert function', function () {
           },
           options = {
             indentCount: 3,
-            indentType: 'space',
+            indentType: 'Space',
             requestTimeout: 200,
             multiLine: true,
             followRedirect: true,
diff --git a/codegens/golang/test/unit/convert.test.js b/codegens/golang/test/unit/convert.test.js
index 0ab7a9f..aac1652 100644
--- a/codegens/golang/test/unit/convert.test.js
+++ b/codegens/golang/test/unit/convert.test.js
@@ -124,7 +124,7 @@ describe('Golang convert function', function () {
           },
           options = {
             indentCount: 1,
-            indentType: 'tab',
+            indentType: 'Tab',
             requestTimeout: 5000,
             followRedirect: true,
             trimRequestBody: false
@@ -188,7 +188,7 @@ describe('Golang convert function', function () {
         }
       });
       options = {
-        indentType: 'tab',
+        indentType: 'Tab',
         indentCount: 1
       };
 
diff --git a/codegens/java-okhttp/test/unit/convert.test.js b/codegens/java-okhttp/test/unit/convert.test.js
index 41b85f8..095296b 100644
--- a/codegens/java-okhttp/test/unit/convert.test.js
+++ b/codegens/java-okhttp/test/unit/convert.test.js
@@ -11,7 +11,7 @@ var expect = require('chai').expect,
 
 /**
  * compiles and runs codesnippet then compare it with newman output
- * 
+ *
  * @param {String} codeSnippet - code snippet that needed to run using java
  * @param {Object} collection - collection which will be run using newman
  * @param {Function} done - callback for async calls
@@ -23,7 +23,7 @@ function runSnippet (codeSnippet, collection, done) {
       return done();
     }
 
-    //  classpath of external libararies for java to compile 
+    //  classpath of external libararies for java to compile
     var classpath = 'dependencies/*',
 
       //  bash command string for compiling java
@@ -151,7 +151,7 @@ describe('okhttp convert function', function () {
               }
             ]
           };
-        convert(request, {indentCount: 3, indentType: 'space'}, function (error, snippet) {
+        convert(request, {indentCount: 3, indentType: 'Space'}, function (error, snippet) {
           if (error) {
             expect.fail(null, null, error);
             return;
@@ -167,7 +167,7 @@ describe('okhttp convert function', function () {
       snippetArray,
       options = {
         includeBoilerplate: true,
-        indentType: 'tab',
+        indentType: 'Tab',
         indentCount: 2
       };
 
@@ -219,7 +219,7 @@ describe('okhttp convert function', function () {
       });
     });
 
-    it('should generate snippet with tab as an indent type with exact indent count', function () {
+    it('should generate snippet with Tab as an indent type with exact indent count', function () {
       convert(request, options, function (error, snippet) {
         if (error) {
           expect.fail(null, null, error);
diff --git a/codegens/java-unirest/test/unit/convert.test.js b/codegens/java-unirest/test/unit/convert.test.js
index c2644fd..30a50d4 100644
--- a/codegens/java-unirest/test/unit/convert.test.js
+++ b/codegens/java-unirest/test/unit/convert.test.js
@@ -150,7 +150,7 @@ describe('java unirest convert function for test collection', function () {
             }
           ]
         };
-      convert(request, {indentCount: 3, indentType: 'space'}, function (error, snippet) {
+      convert(request, {indentCount: 3, indentType: 'Space'}, function (error, snippet) {
         if (error) {
           expect.fail(null, null, error);
           return;
@@ -169,10 +169,10 @@ describe('java unirest convert function for test collection', function () {
       footerSnippet,
       line_no;
 
-    it('should return a tab indented snippet ', function () {
+    it('should return a Tab indented snippet ', function () {
       request = new sdk.Request(mainCollection.item[0].request);
       options = {
-        indentType: 'tab',
+        indentType: 'Tab',
         indentCount: 1
       };
       convert(request, options, function (error, snippet) {
@@ -246,7 +246,7 @@ describe('java unirest convert function for test collection', function () {
       request = new sdk.Request(mainCollection.item[0].request);
       options = {
         includeBoilerplate: true,
-        indentType: 'tab',
+        indentType: 'Tab',
         indentCount: 1
       };
       headerSnippet = 'import com.mashape.unirest.http.*;\n' +
diff --git a/codegens/js-fetch/test/unit/convert.test.js b/codegens/js-fetch/test/unit/convert.test.js
index 71eb9ed..bcd1a56 100644
--- a/codegens/js-fetch/test/unit/convert.test.js
+++ b/codegens/js-fetch/test/unit/convert.test.js
@@ -128,7 +128,7 @@ describe('js-fetch convert function for test collection', function () {
         },
         options = {
           indentCount: 2,
-          indentType: 'tab',
+          indentType: 'Tab',
           requestTimeout: 4000,
           multiLine: true,
           followRedirect: true,
@@ -150,10 +150,10 @@ describe('js-fetch convert function for test collection', function () {
       snippetArray,
       line_no;
 
-    it('should return a space indented snippet ', function () {
+    it('should return a Space indented snippet ', function () {
       request = new sdk.Request(mainCollection.item[0].request);
       options = {
-        indentType: 'space',
+        indentType: 'Space',
         indentCount: 2
       };
       convert(request, options, function (error, snippet) {
diff --git a/codegens/js-jquery/test/unit/converter.test.js b/codegens/js-jquery/test/unit/converter.test.js
index facf7b6..da974a0 100644
--- a/codegens/js-jquery/test/unit/converter.test.js
+++ b/codegens/js-jquery/test/unit/converter.test.js
@@ -26,7 +26,7 @@ describe('jQuery converter', function () {
   mainCollection.item.forEach(function (item) {
     it(item.name, function (done) {
       var request = new sdk.Request(item.request);
-      convert(request, {indentType: 'space',
+      convert(request, {indentType: 'Space',
         indentCount: 4,
         requestTimeout: 100,
         trimRequestBody: false,
@@ -55,7 +55,7 @@ describe('jQuery converter', function () {
         }
       }),
       options = {
-        indentType: 'space',
+        indentType: 'Space',
         indentCount: 4,
         requestTimeout: 100,
         trimRequestBody: false,
diff --git a/codegens/js-xhr/test/unit/convert.test.js b/codegens/js-xhr/test/unit/convert.test.js
index 8a9de0c..456f01a 100644
--- a/codegens/js-xhr/test/unit/convert.test.js
+++ b/codegens/js-xhr/test/unit/convert.test.js
@@ -129,7 +129,7 @@ describe('js-xhr convert function', function () {
           },
           options = {
             indentCount: 3,
-            indentType: 'space',
+            indentType: 'Space',
             trimRequestBody: true,
             requestTimeout: 3000
           };
@@ -218,7 +218,7 @@ describe('js-xhr convert function', function () {
       request = new sdk.Request(req),
       options = {
         indentCount: 2,
-        indentType: 'space',
+        indentType: 'Space',
         trimRequestBody: false,
         requestTimeout: 3000
       };
@@ -250,8 +250,8 @@ describe('js-xhr convert function', function () {
     it('should have 2 as default indent count ', function () {
       expect(options[0].default).to.equal(2);
     });
-    it('should have space as default indent type ', function () {
-      expect(options[1].default).to.equal('space');
+    it('should have Space as default indent type ', function () {
+      expect(options[1].default).to.equal('Space');
     });
     it('should have 0 as default request timeout ', function () {
       expect(options[2].default).to.equal(0);
diff --git a/codegens/libcurl/test/unit/convert.test.js b/codegens/libcurl/test/unit/convert.test.js
index 3c1fe8c..b08a980 100644
--- a/codegens/libcurl/test/unit/convert.test.js
+++ b/codegens/libcurl/test/unit/convert.test.js
@@ -148,7 +148,7 @@ describe('libcurl convert function', function () {
           },
           options = {
             indentCount: 1,
-            indentType: 'tab',
+            indentType: 'Tab',
             requestTimeout: 200,
             useMimeType: false,
             includeBoilerplate: true
@@ -183,7 +183,7 @@ describe('libcurl convert function', function () {
       var request = null,
         options = {
           indentCount: 1,
-          indentType: 'tab',
+          indentType: 'Tab',
           requestTimeout: 200,
           trimRequestBody: true
         },
diff --git a/codegens/nodejs-native/test/unit/snippet.test.js b/codegens/nodejs-native/test/unit/snippet.test.js
index 97d902d..7f75875 100644
--- a/codegens/nodejs-native/test/unit/snippet.test.js
+++ b/codegens/nodejs-native/test/unit/snippet.test.js
@@ -10,7 +10,7 @@ var expect = require('chai').expect,
 
 /**
  * compiles and runs codesnippet then compare it with newman output
- * 
+ *
  * @param {String} codeSnippet - code snippet that needed to run using java
  * @param {Object} collection - collection which will be run using newman
  * @param {Function} done - callback for async call from mocha
@@ -129,7 +129,7 @@ describe('nodejs-native convert function', function () {
             }
           ]
         };
-      convert(request, {indentCount: 2, indentType: 'space'}, function (error, snippet) {
+      convert(request, {indentCount: 2, indentType: 'Space'}, function (error, snippet) {
         if (error) {
           expect.fail(null, null, error);
           return;
diff --git a/codegens/nodejs-request/test/unit/snippet.test.js b/codegens/nodejs-request/test/unit/snippet.test.js
index 384f8fd..6ea5198 100644
--- a/codegens/nodejs-request/test/unit/snippet.test.js
+++ b/codegens/nodejs-request/test/unit/snippet.test.js
@@ -131,7 +131,7 @@ describe('nodejs-request convert function', function () {
             }
           ]
         };
-      convert(request, {indentCount: 3, indentType: 'space'}, function (error, snippet) {
+      convert(request, {indentCount: 3, indentType: 'Space'}, function (error, snippet) {
         if (error) {
           expect.fail(null, null, error);
           return;
@@ -151,10 +151,10 @@ describe('nodejs-request convert function', function () {
       snippetArray,
       line_no;
 
-    it('should return a tab indented snippet ', function () {
+    it('should return a Tab indented snippet ', function () {
       request = new sdk.Request(mainCollection.item[0].request);
       options = {
-        indentType: 'tab',
+        indentType: 'Tab',
         indentCount: 1
       };
       convert(request, options, function (error, snippet) {
@@ -253,7 +253,7 @@ describe('nodejs-request convert function', function () {
           ]
         }
       });
-      options = { indentType: 'space', indentCount: 2 };
+      options = { indentType: 'Space', indentCount: 2 };
       convert(request, options, function (error, snippet) {
         if (error) {
           expect.fail(null, null, error);
diff --git a/codegens/nodejs-unirest/test/unit/snippet.test.js b/codegens/nodejs-unirest/test/unit/snippet.test.js
index 8f5a9c5..2cecd1a 100644
--- a/codegens/nodejs-unirest/test/unit/snippet.test.js
+++ b/codegens/nodejs-unirest/test/unit/snippet.test.js
@@ -131,7 +131,7 @@ describe('nodejs unirest convert function', function () {
             }
           ]
         };
-      convert(request, {indentCount: 3, indentType: 'space', trimRequestBody: 'true'}, function (error, snippet) {
+      convert(request, {indentCount: 3, indentType: 'Space', trimRequestBody: 'true'}, function (error, snippet) {
         if (error) {
           expect.fail(null, null, error);
           return;
@@ -147,10 +147,10 @@ describe('nodejs unirest convert function', function () {
   describe('Convert function', function () {
     var request, reqObject, options, snippetArray, line_no;
 
-    it('should return a tab indented snippet ', function () {
+    it('should return a Tab indented snippet ', function () {
       request = new sdk.Request(mainCollection.item[0].request);
       options = {
-        indentType: 'tab',
+        indentType: 'Tab',
         indentCount: 1
       };
       convert(request, options, function (error, snippet) {
diff --git a/codegens/ocaml-cohttp/test/unit/convert.test.js b/codegens/ocaml-cohttp/test/unit/convert.test.js
index 98799ef..dd41631 100644
--- a/codegens/ocaml-cohttp/test/unit/convert.test.js
+++ b/codegens/ocaml-cohttp/test/unit/convert.test.js
@@ -142,7 +142,7 @@ describe('Ocaml convert function', function () {
           },
           options = {
             indentCount: 1,
-            indentType: 'tab',
+            indentType: 'Tab',
             requestTimeout: 2000,
             followRedirect: true,
             trimRequestBody: false
@@ -180,8 +180,8 @@ describe('Ocaml convert function', function () {
       });
     });
 
-    it('should generate snippet with space as an indent type with exact indent count', function () {
-      convert(request, { indentType: 'space', indentCount: 2 }, function (error, snippet) {
+    it('should generate snippet with Space as an indent type with exact indent count', function () {
+      convert(request, { indentType: 'Space', indentCount: 2 }, function (error, snippet) {
         if (error) {
           expect.fail(null, null, error);
           return;
@@ -198,7 +198,7 @@ describe('Ocaml convert function', function () {
 
     // By default takes 2 spaces as indentCount and indentType
     it('should generate snippet with default indent count for absent option indentCount', function () {
-      convert(request, { indentType: 'space' }, function (error, snippet) {
+      convert(request, { indentType: 'Space' }, function (error, snippet) {
         if (error) {
           expect.fail(null, null, error);
           return;
diff --git a/codegens/php-curl/test/unit/converter.test.js b/codegens/php-curl/test/unit/converter.test.js
index 594c294..4d44616 100644
--- a/codegens/php-curl/test/unit/converter.test.js
+++ b/codegens/php-curl/test/unit/converter.test.js
@@ -32,7 +32,7 @@ const propertiesTodelete = ['cookies', 'headersSize', 'startedDateTime', 'client
 
 /**
  * Executes codesnippet and compares output with newman response
- * 
+ *
  * @param {String} codeSnippet - code snippet from convert function
  * @param {Object} collection - sample collection
  * @param {Function} done - callback for async calls
@@ -131,7 +131,7 @@ describe('Curl converter', function () {
             }
           ]
         };
-      convert(request, {indentType: 'space',
+      convert(request, {indentType: 'Space',
         indentCount: 4,
         requestTimeout: 100,
         trimRequestBody: false,
diff --git a/codegens/php-pecl-http/test/unit/converter.test.js b/codegens/php-pecl-http/test/unit/converter.test.js
index a20fd78..b89f6cb 100644
--- a/codegens/php-pecl-http/test/unit/converter.test.js
+++ b/codegens/php-pecl-http/test/unit/converter.test.js
@@ -16,7 +16,7 @@ describe('Request Snippet', function () {
         request = collection.items.members[0].request,
         outputSnippet;
 
-      convert(request, {indentType: 'space',
+      convert(request, {indentType: 'Space',
         indentCount: 4,
         requestTimeout: 0,
         trimRequestBody: false,
@@ -47,7 +47,7 @@ describe('Request Snippet', function () {
         request = collection.items.members[1].request,
         outputSnippet;
 
-      convert(request, {indentType: 'space',
+      convert(request, {indentType: 'Space',
         indentCount: 4,
         requestTimeout: 10,
         trimRequestBody: false,
@@ -80,7 +80,7 @@ describe('Request Snippet', function () {
         request = collection.items.members[2].request,
         outputSnippet;
 
-      convert(request, {indentType: 'space',
+      convert(request, {indentType: 'Space',
         indentCount: 4,
         requestTimeout: 0,
         trimRequestBody: false,
@@ -111,7 +111,7 @@ describe('Request Snippet', function () {
         request = collection.items.members[3].request,
         outputSnippet;
 
-      convert(request, {indentType: 'space',
+      convert(request, {indentType: 'Space',
         indentCount: 4,
         requestTimeout: 0,
         trimRequestBody: false,
@@ -140,7 +140,7 @@ describe('Request Snippet', function () {
         request = collection.items.members[4].request,
         outputSnippet;
 
-      convert(request, {indentType: 'space',
+      convert(request, {indentType: 'Space',
         indentCount: 4,
         requestTimeout: 0,
         trimRequestBody: true,
@@ -175,7 +175,7 @@ describe('Request Snippet', function () {
         request = collection.items.members[5].request,
         outputSnippet;
 
-      convert(request, {indentType: 'space',
+      convert(request, {indentType: 'Space',
         indentCount: 4,
         requestTimeout: 0,
         trimRequestBody: false,
@@ -205,7 +205,7 @@ describe('Request Snippet', function () {
         request = collection.items.members[6].request,
         outputSnippet;
 
-      convert(request, {indentType: 'space',
+      convert(request, {indentType: 'Space',
         indentCount: 4,
         requestTimeout: 0,
         trimRequestBody: false,
@@ -240,7 +240,7 @@ describe('Request Snippet', function () {
         request = collection.items.members[7].request,
         outputSnippet;
 
-      convert(request, {indentType: 'space',
+      convert(request, {indentType: 'Space',
         indentCount: 4,
         requestTimeout: 0,
         trimRequestBody: false,
@@ -274,7 +274,7 @@ describe('Request Snippet', function () {
         request = collection.items.members[8].request,
         outputSnippet;
 
-      convert(request, {indentType: 'space',
+      convert(request, {indentType: 'Space',
         indentCount: 4,
         requestTimeout: 0,
         trimRequestBody: false,
@@ -306,7 +306,7 @@ describe('Request Snippet', function () {
         request = collection.items.members[9].request,
         outputSnippet;
 
-      convert(request, {indentType: 'space',
+      convert(request, {indentType: 'Space',
         indentCount: 4,
         requestTimeout: 0,
         trimRequestBody: false,
@@ -338,7 +338,7 @@ describe('Request Snippet', function () {
         request = collection.items.members[10].request,
         outputSnippet;
 
-      convert(request, {indentType: 'space',
+      convert(request, {indentType: 'Space',
         indentCount: 4,
         requestTimeout: 0,
         trimRequestBody: false,
@@ -370,7 +370,7 @@ describe('Request Snippet', function () {
         request = collection.items.members[11].request,
         outputSnippet;
 
-      convert(request, {indentType: 'space',
+      convert(request, {indentType: 'Space',
         indentCount: 4,
         requestTimeout: 0,
         trimRequestBody: false,
@@ -401,7 +401,7 @@ describe('Request Snippet', function () {
           fs.readFileSync('test/unit/fixtures/sample_collection.json').toString())),
         request = collection.items.members[25].request,
         outputSnippet;
-      convert(request, {indentType: 'space',
+      convert(request, {indentType: 'Space',
         indentCount: 4,
         requestTimeout: 0,
         trimRequestBody: false,
@@ -436,7 +436,7 @@ describe('Request Snippet', function () {
           fs.readFileSync('test/unit/fixtures/sample_collection.json').toString())),
         request = collection.items.members[26].request,
         outputSnippet;
-      convert(request, {indentType: 'space',
+      convert(request, {indentType: 'Space',
         indentCount: 4,
         requestTimeout: 0,
         trimRequestBody: false,
@@ -521,7 +521,7 @@ describe('Request Snippet', function () {
           ]
         }
       };
-      expect(parseBody(request, {indentType: 'space', indentCount: 4}, true)).to.be.equal('');
+      expect(parseBody(request, {indentType: 'Space', indentCount: 4}, true)).to.be.equal('');
       done();
     });
 
@@ -542,7 +542,7 @@ describe('Request Snippet', function () {
           ]
         }
       };
-      expect(parseBody(request, {indentType: 'space', indentCount: 4}, true)).to.be.equal('');
+      expect(parseBody(request, {indentType: 'Space', indentCount: 4}, true)).to.be.equal('');
       done();
     });
 
@@ -565,7 +565,7 @@ describe('Request Snippet', function () {
           ]
         }
       };
-      expect(parseBody(request, {indentType: 'space', indentCount: 4}, true)).to.be.equal('');
+      expect(parseBody(request, {indentType: 'Space', indentCount: 4}, true)).to.be.equal('');
       done();
     });
 
@@ -585,7 +585,7 @@ describe('Request Snippet', function () {
           ]
         }
       };
-      expect(parseBody(request, {indentType: 'space', indentCount: 4}, true)).to.be.equal('');
+      expect(parseBody(request, {indentType: 'Space', indentCount: 4}, true)).to.be.equal('');
       done();
     });
   });
@@ -598,8 +598,8 @@ describe('Request Snippet', function () {
     it('should have 2 as default indent count ', function () {
       expect(options[0].default).to.equal(2);
     });
-    it('should have space as default indent type ', function () {
-      expect(options[1].default).to.equal('space');
+    it('should have Space as default indent type ', function () {
+      expect(options[1].default).to.equal('Space');
     });
     it('should have 0 as default request timeout ', function () {
       expect(options[2].default).to.equal(0);
diff --git a/codegens/powershell-restmethod/test/unit/convert.test.js b/codegens/powershell-restmethod/test/unit/convert.test.js
index 87bf43a..cc5dda2 100644
--- a/codegens/powershell-restmethod/test/unit/convert.test.js
+++ b/codegens/powershell-restmethod/test/unit/convert.test.js
@@ -283,7 +283,7 @@ describe('Powershell-restmethod converter', function () {
           ]
         }
       });
-      options = { indentType: 'space', indentCount: 2 };
+      options = { indentType: 'Space', indentCount: 2 };
       convert(request, options, function (error, snippet) {
         if (error) {
           expect.fail(null, null, error);
diff --git a/codegens/python-http.client/test/unit/converter.test.js b/codegens/python-http.client/test/unit/converter.test.js
index afad0df..df415c8 100644
--- a/codegens/python-http.client/test/unit/converter.test.js
+++ b/codegens/python-http.client/test/unit/converter.test.js
@@ -133,7 +133,7 @@ describe('Python-http.client converter', function () {
             }
           ]
         };
-      convert(request, {indentType: 'space',
+      convert(request, {indentType: 'Space',
         indentCount: 4,
         requestTimeout: 0,
         requestBodyTrim: false,
@@ -175,8 +175,8 @@ describe('Python-http.client converter', function () {
       });
     });
 
-    it('should generate snippet with tab as an indent type', function () {
-      convert(request, { indentType: 'tab', indentCount: 1 }, function (error, snippet) {
+    it('should generate snippet with Tab as an indent type', function () {
+      convert(request, { indentType: 'Tab', indentCount: 1 }, function (error, snippet) {
         if (error) {
           expect.fail(null, null, error);
           return;
diff --git a/codegens/python-requests/test/unit/converter.test.js b/codegens/python-requests/test/unit/converter.test.js
index 658fa1b..3192fcf 100644
--- a/codegens/python-requests/test/unit/converter.test.js
+++ b/codegens/python-requests/test/unit/converter.test.js
@@ -31,7 +31,7 @@ const propertiesTodelete = ['cookies', 'headersSize', 'startedDateTime', 'json',
 
 /**
  * Executes codesnippet and compares output with newman response
- * 
+ *
  * @param {String} codeSnippet - code snippet from convert function
  * @param {Object} collection - sample collection
  * @param {Function} done - callback for async calls
@@ -133,7 +133,7 @@ describe('Python- Requests converter', function () {
             }
           ]
         };
-      convert(request, {indentType: 'space',
+      convert(request, {indentType: 'Space',
         indentCount: 4,
         requestTimeout: 0,
         trimRequestBody: false,
diff --git a/codegens/ruby/test/unit/converter.test.js b/codegens/ruby/test/unit/converter.test.js
index d304bd0..5bc36c7 100644
--- a/codegens/ruby/test/unit/converter.test.js
+++ b/codegens/ruby/test/unit/converter.test.js
@@ -133,7 +133,7 @@ describe('Ruby converter', function () {
             }
           ]
         };
-      convert(request, {indentType: 'space',
+      convert(request, {indentType: 'Space',
         indentCount: 4,
         requestTimeout: 1000,
         trimRequestBody: false,
diff --git a/codegens/shell-httpie/test/unit/converter.test.js b/codegens/shell-httpie/test/unit/converter.test.js
index 9288d99..5469d3e 100644
--- a/codegens/shell-httpie/test/unit/converter.test.js
+++ b/codegens/shell-httpie/test/unit/converter.test.js
@@ -127,7 +127,7 @@ describe('Shell-Httpie convert function', function () {
             },
             options = {
               indentCount: 3,
-              indentType: 'space',
+              indentType: 'Space',
               multiLine: true,
               followRedirect: true,
               longFormat: true
diff --git a/codegens/shell-wget/test/unit/converter.test.js b/codegens/shell-wget/test/unit/converter.test.js
index 9066754..673d73d 100644
--- a/codegens/shell-wget/test/unit/converter.test.js
+++ b/codegens/shell-wget/test/unit/converter.test.js
@@ -125,7 +125,7 @@ describe('Shell-Wget converter', function () {
             }
           ]
         };
-      convert(request, {indentType: 'space',
+      convert(request, {indentType: 'Space',
         indentCount: 4,
         requestTimeout: 0,
         trimRequestBody: false,
@@ -144,7 +144,7 @@ describe('Shell-Wget converter', function () {
     var request = new sdk.Request(mainCollection.item[0].request),
       snippetArray,
       options = {
-        indentType: 'tab',
+        indentType: 'Tab',
         indentCount: 2
       };
 
@@ -187,7 +187,7 @@ describe('Shell-Wget converter', function () {
       });
     });
 
-    it('should generate snippet with tab as an indent type with exact indent count', function () {
+    it('should generate snippet with Tab as an indent type with exact indent count', function () {
       convert(request, options, function (error, snippet) {
         if (error) {
           expect.fail(null, null, error);
diff --git a/codegens/swift/test/unit/convert.test.js b/codegens/swift/test/unit/convert.test.js
index df55e68..6d8dc7f 100644
--- a/codegens/swift/test/unit/convert.test.js
+++ b/codegens/swift/test/unit/convert.test.js
@@ -126,7 +126,7 @@ describe('Swift Converter', function () {
           },
           options = {
             indentCount: 1,
-            indentType: 'tab',
+            indentType: 'Tab',
             requestTimeout: 2000,
             followRedirect: true,
             trimRequestBody: false
@@ -163,8 +163,8 @@ describe('Swift Converter', function () {
       });
     });
 
-    it('should generate snippet with space as an indent type with default indent count', function () {
-      convert(request, { indentType: 'space' }, function (error, snippet) {
+    it('should generate snippet with Space as an indent type with default indent count', function () {
+      convert(request, { indentType: 'Space' }, function (error, snippet) {
         if (error) {
           expect.fail(null, null, error);
           return;
diff --git a/test/codegen/structure.test.js b/test/codegen/structure.test.js
index 9c511e6..fea8a24 100644
--- a/test/codegen/structure.test.js
+++ b/test/codegen/structure.test.js
@@ -34,7 +34,7 @@ const expectedOptions = {
     indentType: {
       name: 'Indent type',
       type: 'enum',
-      default: 'tab',
+      default: 'Tab',
       description: 'Character used for indentation'
     },
     requestTimeout: {