[PR #412] [MERGED] Fix [object Object] request descriptions after OpenAPI import #334

Closed
opened 2026-03-22 21:18:18 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/412
Author: @gschier
Created: 2/27/2026
Status: Merged
Merged: 2/27/2026
Merged by: @gschier

Base: mainHead: openapi-bug


📝 Commits (1)

  • 2872f32 fix: parse object descriptions in OpenAPI/Postman imports

📊 Changes

3 files changed (+80 additions, -10 deletions)

View changed files

📝 plugins/importer-openapi/tests/index.test.ts (+23 -0)
📝 plugins/importer-postman/src/index.ts (+22 -10)
📝 plugins/importer-postman/tests/index.test.ts (+35 -0)

📄 Description

Summary

  • normalize Postman/OpenAPI description objects via a dedicated importDescription() helper using explicit if branches
  • apply the helper to both workspace and request descriptions in the Postman importer path used by OpenAPI imports
  • add regression tests in Postman and OpenAPI importer suites to ensure operation descriptions are imported as plain text

Validation

  • npm run test --workspace @yaak/importer-postman
  • npm run test --workspace @yaak/importer-openapi

Feedback


🔄 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/412 **Author:** [@gschier](https://github.com/gschier) **Created:** 2/27/2026 **Status:** ✅ Merged **Merged:** 2/27/2026 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `main` ← **Head:** `openapi-bug` --- ### 📝 Commits (1) - [`2872f32`](https://github.com/mountain-loop/yaak/commit/2872f32c66479fcecfcc39aadca96658e61503a9) fix: parse object descriptions in OpenAPI/Postman imports ### 📊 Changes **3 files changed** (+80 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `plugins/importer-openapi/tests/index.test.ts` (+23 -0) 📝 `plugins/importer-postman/src/index.ts` (+22 -10) 📝 `plugins/importer-postman/tests/index.test.ts` (+35 -0) </details> ### 📄 Description ## Summary - normalize Postman/OpenAPI description objects via a dedicated importDescription() helper using explicit if branches - apply the helper to both workspace and request descriptions in the Postman importer path used by OpenAPI imports - add regression tests in Postman and OpenAPI importer suites to ensure operation descriptions are imported as plain text ## Validation - npm run test --workspace @yaak/importer-postman - npm run test --workspace @yaak/importer-openapi ## Feedback - https://yaak.app/feedback/posts/unexpected-request-info-description-after-openapi-import --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-22 21:18:18 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/yaak#334