postman-code-generators
postman-code-generators copied to clipboard
Adds additional option to nodejs-request to generate code gor SDK generator
Adds SDKGEN_enabled option to code generator
- Toggles addition of import statements in the snippet
- If set true uses statement to return response and error
- Default value - false
Previously the generated snippet with raw body had double quote wrapping. This pr changes it to single quote to have consistency in quotes throughout the generated snippet. Changes:
- removes json.stringify where not necessary
- sanitize raw body