* feat: path parameters (#484)
* add path parameters on bruno-app
* add path parameters on bruno-cli
* fix bruno-schema testing
* fix generate request code not replace path parameter value
---------
Co-authored-by: game5413 <febryanph10@gmail.com>
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
* feat: Refactor request parameter handling
- Update prepare-request.js to filter and rename 'paths' to 'params' with type 'path'
- Remove 'paths' from export.js and interpolate-vars.js
- Update bru.js to use 'params' instead of 'path'
- Update requestSchema in index.js to use 'keyValueWithTypeSchema' for 'params'
Co-authored-by: game5413 <febryanph10@gmail.com>
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
* feat: Refactor request parameter handling
* refactor: changes form the review
* refactor: Refactor transformItemsInCollection handling
* refactor: Refactor improved export/import functionalities
* refactor: Remove console.log statement in bruToJson.js
---------
Co-authored-by: game5413 <37659721+game5413@users.noreply.github.com>
Co-authored-by: game5413 <febryanph10@gmail.com>
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
* Interpolate awsv4 values to support them including templated values.
Closes#1508
* change to let to allow for rewrite; rename to envVariables for consistency
* When running via CLI, preserve changes to collection variables and
environment variables.
Closes#1255
* Closes#1255 - set well known variable name on environment
* Revert "When running via CLI, preserve changes to collection variables and"
This reverts commit 7c94c9ec19.
* Revert "change to let to allow for rewrite; rename to envVariables for consistency"
This reverts commit 9320b8faf0.
---------
Co-authored-by: Scott LaPlante <scott.laplante@flueid.com>
* Add multipart form files upload support
* clean up
* Fixed electron files browser for Multipart Form files
* Using relative paths for files inside the collection's folder
---------
Co-authored-by: Mateo Gallardo <mateogallardo@gmail.com>
* Add an optional param to cli to only run requests that have tests
* Added to recrusive run
* added asserts to test only flag
---------
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
* add bail option to cli
* change --bail so that is also bails on request errors (e.g., ECONNREFUSED)
* update cli help regarding the ---bail option
---------
Co-authored-by: Martin Hoecker <martin.hoecker@sap.com>
* fix(#1143): Fix PR #971 - Add literal-segment notation in string only to variables that are not process env vars
* fix(#1143): Fix PR #971 - Add to CLI as well
* fix(#1143): Fix PR #971 - Use improved Regex after CR + add test case for escaped vars