[GH-ISSUE #4900] [feature]: Import GraphQL Schema to Hoppscotch #1844

Open
opened 2026-03-16 22:04:03 +03:00 by kerem · 0 comments
Owner

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?

  • I have searched the existing issues

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 .graphql schema 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.

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? - [x] I have searched the existing issues ### 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 `.graphql` schema 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1844
No description provided.