mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #4626] [MERGED] feat: one click graphql document generation from docs #4879
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#4879
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?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/4626
Author: @anwarulislam
Created: 12/18/2024
Status: ✅ Merged
Merged: 1/30/2025
Merged by: @jamesgeorge007
Base:
next← Head:feat/gql-insert-query📝 Commits (10+)
d1cc3befeat: revamped graphql schema docsdd2a01cfeat: explorer composable addede2ad716feat: added insert query button1481addfeat: added insert argument button94e02b4chore: clean up sidebar4ab1122feat: insert graphql query31169fffeat: insert new operation if query is empty8a2ec3dchore: fix types3f4800efeat: graphql docs explorer completedf4383f3chore: update argument component📊 Changes
34 files changed (+2014 additions, -371 deletions)
View changed files
📝
packages/hoppscotch-common/locales/en.json(+7 -1)📝
packages/hoppscotch-common/package.json(+2 -0)📝
packages/hoppscotch-common/src/components.d.ts(+27 -1)➕
packages/hoppscotch-common/src/components/app/Markdown.vue(+35 -0)➕
packages/hoppscotch-common/src/components/graphql/Argument.vue(+88 -0)➕
packages/hoppscotch-common/src/components/graphql/Arguments.vue(+20 -0)➕
packages/hoppscotch-common/src/components/graphql/DefaultValue.vue(+34 -0)➕
packages/hoppscotch-common/src/components/graphql/Directives.vue(+21 -0)➕
packages/hoppscotch-common/src/components/graphql/DocExplorer.vue(+95 -0)➕
packages/hoppscotch-common/src/components/graphql/EnumValues.vue(+79 -0)➕
packages/hoppscotch-common/src/components/graphql/ExplorerSection.vue(+61 -0)📝
packages/hoppscotch-common/src/components/graphql/Field.vue(+63 -75)➕
packages/hoppscotch-common/src/components/graphql/FieldDocumentation.vue(+61 -0)➕
packages/hoppscotch-common/src/components/graphql/FieldLink.vue(+48 -0)➕
packages/hoppscotch-common/src/components/graphql/Fields.vue(+48 -0)➕
packages/hoppscotch-common/src/components/graphql/ImplementsInterfaces.vue(+26 -0)📝
packages/hoppscotch-common/src/components/graphql/Query.vue(+51 -20)📝
packages/hoppscotch-common/src/components/graphql/RequestOptions.vue(+5 -0)➕
packages/hoppscotch-common/src/components/graphql/SchemaDocumentation.vue(+105 -0)➕
packages/hoppscotch-common/src/components/graphql/SchemaSearch.vue(+355 -0)...and 14 more files
📄 Description
Closes HP-305 #4371
This PR revamp the old schema browser system. And added a new documentation explorer. Added feature to generate GraphQL queries from documentation.
Features Added
Known Bug
All Schema Typesin the explorer and try to build query, the query might not be valid as the stack order is not correct.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.