mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-11 22:40:26 +01:00
[PR #291] [MERGED] Convert Insomnia variables syntax in headers, parameters and form data #211
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mountain-loop/yaak/pull/291
Author: @JeroenVdb
Created: 11/4/2025
Status: ✅ Merged
Merged: 11/11/2025
Merged by: @gschier
Base:
main← Head:support-insomnia-variables-as-values📝 Commits (8)
66f20c6Import query parameters from Insomnia v4 and v5 exportsbb9a73aHeader values can also contain variables, support the insomnia syntax for during imports5a3d644Merge pull request #2 from JeroenVdb/support-insomnia-header-variable-syntaxa5c8391Merge pull request #1 from JeroenVdb/support-insomnia-query-param-importsafe1905Merge branch 'mountain-loop:main' into mainb85b79dHeader (and other) values can also contain variables, support the insomnia syntax for them during import1a2e5c3Header (and other) values can also contain variables, support the insomnia syntax for them during import2b3c5a4Use recursive template conversion strategy from Postman📊 Changes
5 files changed (+53 additions, -37 deletions)
View changed files
📝
plugins/importer-insomnia/src/common.ts(+15 -6)📝
plugins/importer-insomnia/src/v4.ts(+14 -15)📝
plugins/importer-insomnia/src/v5.ts(+15 -16)📝
plugins/importer-insomnia/tests/fixtures/version-5.input.yaml(+4 -0)📝
plugins/importer-insomnia/tests/fixtures/version-5.output.json(+5 -0)📄 Description
Apparently I use variables in quit some places. Added support so they are properly imported.
Again, like before, feel free to close/ignore if unwanted.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.