Skip to content
r.

swagger-to-graphql

yarax/swagger-to-graphql · Public GitHub repository

Swagger to GraphQL API adapter

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

swagger-to-graphql live demo screenshot
Captured from the live demo · 2026-10-31

About this project

Author-written excerpt from the project README.

Swagger-to-GraphQL converts your existing Swagger schema to an executable GraphQL schema where resolvers perform HTTP calls to certain real endpoints. It allows you to move your API to GraphQL with nearly zero effort and maintain both REST and GraphQL APIs. Our CLI tool also allows you get the GraphQL schema in Schema Definition Language.

Try it online! You can paste in the url to your own Swagger schema. There are also public OpenAPI schemas available in the APIs.guru OpenAPI directory.

Requirements and intended audience

Swagger-to-GraphQL converts your existing Swagger schema to an executable GraphQL schema where resolvers perform HTTP calls to certain real endpoints. It allows you to move your API to GraphQL with nearly zero effort and maintain both REST and GraphQL APIs. Our CLI tool also allows you get the GraphQL schema in Schema Definition Language.

Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-10-18. Source: https://github.com/yarax/swagger-to-graphql/blob/master/README.md

Recorded maintenance information

Last recorded source update: 2023-03-01. Saved release: 1.4.0 · 2018-06-30. These dates do not guarantee ongoing maintenance.

Technologies
Node.js
Licence
MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-12. This does not test every feature.

Browse related categories