mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #4900] [feature]: Import GraphQL Schema to Hoppscotch #1844
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#1844
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 @ter2y-z on GitHub (Mar 18, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4900
Is there an existing issue for this?
Summary
Is it possible to import a GraphQL schema from a local file into Hoppscotch and convert it into a GraphQL collection?
Currently, users need to manually create requests based on their schema. An import feature would streamline this process by automatically generating queries and mutations from a given GraphQL schema file. This would improve efficiency and ease of use for developers working with GraphQL APIs.
Expected Behavior:
Upload a
.graphqlschema file.Hoppscotch parses the schema and extracts queries, mutations, and types.
Automatically creates a GraphQL collection with predefined requests.
Allows users to edit and customize imported requests.
Why should this be worked on?
Retrieving the GraphQL schema dynamically is difficult due to company network settings and firewall restrictions. Allowing users to import a local schema file would provide a more convenient and efficient way to set up and test GraphQL APIs in Hoppscotch without needing external access.