Take any OpenAPI Specification (OAS) and create a GraphQL interface


Please note: OASGraph has been renamed to OpenAPI-to-GraphQL.
Visit the new documentation page or the new GitHub page.
You can continue to use the current version of oasgraph, which will remain on npm.
For latest features and fixes, use OpenAPI-to-GraphQL.

How it works

Powerful functionality

Icon depcting nested data

Nested data

Schemas and links defined in the OAS are used to compose data definitions. Furthermore, hierarchical path structures can be used to nest data via the addSubOperation option (learn more...).

Icon depicting data sanitation

API Sanitation

GraphQL-incompatible identifiers of your API are sanitized. For example, API parameters or data definitions with unsupported characters (e.g., -, ., ,, :, ;...) are removed.

Icon depicting authentication


OASGraph provides viewers to support passing API keys or basic auth credentials. OAuth 2.0 integration can be handled by the hosting application (learn more...).

Get started

Ready to translate from REST to GraphQL? Let's get you started!
View Guide
Icon showing a rocket and depicting getting started

How Can We Help?

We've curated resources to help you get started faster with OASGraph.