[PR #420] Add OpenAPI URL import and manual resync #2956

Open
opened 2026-06-08 21:59:54 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/420
Author: @marcjaner
Created: 3/10/2026
Status: 🔄 Open

Base: mainHead: feature/openapi-url-resync


📝 Commits (1)

  • c1a2afe Add OpenAPI URL import and resync

📊 Changes

12 files changed (+684 additions, -81 deletions)

View changed files

📝 crates-tauri/yaak-app/src/import.rs (+423 -17)
📝 crates-tauri/yaak-app/src/lib.rs (+11 -1)
📝 crates/yaak-models/bindings/gen_models.ts (+30 -8)
crates/yaak-models/migrations/20260310150000_openapi-import-url.sql (+5 -0)
📝 crates/yaak-models/src/models.rs (+8 -0)
📝 crates/yaak-plugins/bindings/gen_models.ts (+1 -1)
📝 packages/plugin-runtime-types/src/bindings/gen_models.ts (+1 -1)
📝 src-web/components/ImportDataDialog.tsx (+78 -21)
src-web/components/OpenApiSyncSetting.tsx (+65 -0)
📝 src-web/components/WorkspaceSettingsDialog.tsx (+2 -0)
📝 src-web/lib/importData.tsx (+59 -32)
📝 src-web/lib/tauri.ts (+1 -0)

📄 Description

Summary

  • add OpenAPI URL import alongside the existing file import flow
  • persist the source URL on workspace metadata and expose manual resync in workspace settings
  • merge resynced OpenAPI resources into an existing workspace by reusing matched folder and request IDs

Some images below:

image image

This feature would solve this request


🔄 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/420 **Author:** [@marcjaner](https://github.com/marcjaner) **Created:** 3/10/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feature/openapi-url-resync` --- ### 📝 Commits (1) - [`c1a2afe`](https://github.com/mountain-loop/yaak/commit/c1a2afe7d1a3aca9b92f13311efe1efed2bef39d) Add OpenAPI URL import and resync ### 📊 Changes **12 files changed** (+684 additions, -81 deletions) <details> <summary>View changed files</summary> 📝 `crates-tauri/yaak-app/src/import.rs` (+423 -17) 📝 `crates-tauri/yaak-app/src/lib.rs` (+11 -1) 📝 `crates/yaak-models/bindings/gen_models.ts` (+30 -8) ➕ `crates/yaak-models/migrations/20260310150000_openapi-import-url.sql` (+5 -0) 📝 `crates/yaak-models/src/models.rs` (+8 -0) 📝 `crates/yaak-plugins/bindings/gen_models.ts` (+1 -1) 📝 `packages/plugin-runtime-types/src/bindings/gen_models.ts` (+1 -1) 📝 `src-web/components/ImportDataDialog.tsx` (+78 -21) ➕ `src-web/components/OpenApiSyncSetting.tsx` (+65 -0) 📝 `src-web/components/WorkspaceSettingsDialog.tsx` (+2 -0) 📝 `src-web/lib/importData.tsx` (+59 -32) 📝 `src-web/lib/tauri.ts` (+1 -0) </details> ### 📄 Description ## Summary - add OpenAPI URL import alongside the existing file import flow - persist the source URL on workspace metadata and expose manual resync in workspace settings - merge resynced OpenAPI resources into an existing workspace by reusing matched folder and request IDs Some images below: <img width="1101" height="600" alt="image" src="https://github.com/user-attachments/assets/8aec0dbe-b7d4-4cba-884a-ecf1a8014462" /> <img width="1105" height="601" alt="image" src="https://github.com/user-attachments/assets/2dab73a2-0cf2-43d6-947f-fc4fab72868d" /> This feature would solve [this](https://yaak.app/feedback/posts/feature-support-openapi-url-synchronization-for-api-import) request --- <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-06-08 21:59:54 -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#2956