[PR #291] [MERGED] Convert Insomnia variables syntax in headers, parameters and form data #211

Closed
opened 2025-12-29 08:32:06 +01:00 by adam · 0 comments
Owner

📋 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: mainHead: support-insomnia-variables-as-values


📝 Commits (8)

  • 66f20c6 Import query parameters from Insomnia v4 and v5 exports
  • bb9a73a Header values can also contain variables, support the insomnia syntax for during imports
  • 5a3d644 Merge pull request #2 from JeroenVdb/support-insomnia-header-variable-syntax
  • a5c8391 Merge pull request #1 from JeroenVdb/support-insomnia-query-param-imports
  • afe1905 Merge branch 'mountain-loop:main' into main
  • b85b79d Header (and other) values can also contain variables, support the insomnia syntax for them during import
  • 1a2e5c3 Header (and other) values can also contain variables, support the insomnia syntax for them during import
  • 2b3c5a4 Use 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.

## 📋 Pull Request Information **Original PR:** https://github.com/mountain-loop/yaak/pull/291 **Author:** [@JeroenVdb](https://github.com/JeroenVdb) **Created:** 11/4/2025 **Status:** ✅ Merged **Merged:** 11/11/2025 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `main` ← **Head:** `support-insomnia-variables-as-values` --- ### 📝 Commits (8) - [`66f20c6`](https://github.com/mountain-loop/yaak/commit/66f20c685ee80ff31382e39cd5a1a3dcdcb56741) Import query parameters from Insomnia v4 and v5 exports - [`bb9a73a`](https://github.com/mountain-loop/yaak/commit/bb9a73abd94883f2f950e89cc5e87f92accd48cf) Header values can also contain variables, support the insomnia syntax for during imports - [`5a3d644`](https://github.com/mountain-loop/yaak/commit/5a3d64454c1f1806bf66d53595f5213184385b81) Merge pull request #2 from JeroenVdb/support-insomnia-header-variable-syntax - [`a5c8391`](https://github.com/mountain-loop/yaak/commit/a5c839118088ffa158f7821f9b0301a4271002c3) Merge pull request #1 from JeroenVdb/support-insomnia-query-param-imports - [`afe1905`](https://github.com/mountain-loop/yaak/commit/afe19052dfa1c3b6e3fd94a7f42642df9987632e) Merge branch 'mountain-loop:main' into main - [`b85b79d`](https://github.com/mountain-loop/yaak/commit/b85b79d1e3244ec0f056f9e06e3090610e624805) Header (and other) values can also contain variables, support the insomnia syntax for them during import - [`1a2e5c3`](https://github.com/mountain-loop/yaak/commit/1a2e5c3d42b0b6f5ee6afc7f9f1f7f225303a5ed) Header (and other) values can also contain variables, support the insomnia syntax for them during import - [`2b3c5a4`](https://github.com/mountain-loop/yaak/commit/2b3c5a4d21e32387163e2bd529f6be2e2dd95608) Use recursive template conversion strategy from Postman ### 📊 Changes **5 files changed** (+53 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 08:32:06 +01:00
adam closed this issue 2025-12-29 08:32:06 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/yaak-mountain-loop#211