swagger-api / swagger-api/swagger-codegen

[Graphql] graphql generator

Open
#8,428 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Description

suggestion

Do you have any plan for a graphql generator or something similar? It would be nice if we can generate both rest and graphql endpoints from one schema.
actually, there is a project that does something similar but I mean something that generates both graphql types and resolves queries & mutations using services(such as those generated by swagger server codegen)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing REST and server code generation flow, then compare its schema and service outputs with the linked swagger-to-graphql project. The issue provides no files or tests; done would require an agreed design and a generator that produces GraphQL types and query and mutation resolvers alongside the existing REST endpoints.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.