mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #4850] [bug]: Import from Open API not load all requests #1823
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1823
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Originally created by @zabojpetr on GitHub (Mar 6, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4850
Originally assigned to: @anwarulislam on GitHub.
Is there an existing issue for this?
Current behavior
When I upload open api from grafana, there are missing some requests - for example dashboard/db for creating dashboard.
grafana_api-merged.json
Steps to reproduce
Environment
Production
Version
Cloud
@jamesgeorge007 commented on GitHub (Apr 11, 2025):
Hi, the OpenAPI importer had a few improvements recently. Could you see if there are persisting inconsistencies in the latest release?
@zabojpetr commented on GitHub (Apr 11, 2025):
Hi,
it look like methods are imported now, but they have odd names. For names are used operationId. Wouldn't it be better to use summary? But I don't know the openapi well so maybe it is not good idea, I don't know.
Example:
@jamesgeorge007 commented on GitHub (Apr 11, 2025):
Thanks for the feedback. The existing implementation prefers the
operationIdfield due to its uniqueness and predictability while creating requests with suitable fallbacks.github.com/hoppscotch/hoppscotch@80b63545f1/packages/hoppscotch-common/src/helpers/import-export/import/openapi.ts (L807)Again, this has scope for improvement from a UX standpoint that can be evaluated and revisited, and I'd appreciate opening a new issue to track the same. Closing this issue since the original concern is addressed.