Kong / Kong/insomnia

Unable to import large openAPI spec

Open
#1,843 15 comments 3 reactions 0 assignees View on GitHub
B-performance N-investigation
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

- Insomnia Version: latest
- Operating System: Mac OS X

## Details

I'm just giving your product a whirl, and I'm unable to import a large open-api spec. Specifically, I'm trying to import Stripe's Open API spec:

https://github.com/stripe/openapi/blob/master/openapi/spec3.json.

### Another example

From #5591: https://stoplight.io/api/v1/projects/shopware/admin-api/nodes/adminapi.json

The electron app hangs for a bit and a mac notification pops up with a "Insomnia is unresponsive" message.

Hoping a solution can be found.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the import with Stripe's spec3.json and the Shopware admin-api.json in the Electron app, observing the reported unresponsive state. Trace the OpenAPI import entry point and identify the work that blocks the app; done means both large specifications import successfully without the app hanging.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, openapi, typescript
Domain
api, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.