You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When generating cURL code snippet, even though the "Generate multiline snippet" option is disabled, the code snipped can became multiline when raw body ex. JSON contains new line character(s). It's especially annoying when copy-pasting in old Windows terminals that don't handle it properly. By adding this option we could have neatly formatted JSON in body editor area and one line cURL code snippet.
Describe the solution you'd like
A separate option in "code generation settings" to strip any new line characters from body (disabled by default). When enabled it would replace any "\n" with "".
Is your feature request related to a problem? Please describe.
When generating cURL code snippet, even though the "Generate multiline snippet" option is disabled, the code snipped can became multiline when raw body ex. JSON contains new line character(s). It's especially annoying when copy-pasting in old Windows terminals that don't handle it properly. By adding this option we could have neatly formatted JSON in body editor area and one line cURL code snippet.
Describe the solution you'd like
A separate option in "code generation settings" to strip any new line characters from body (disabled by default). When enabled it would replace any "\n" with "".
Additional context
PR #541
The text was updated successfully, but these errors were encountered: