Wrapping REST APIs in GraphQL with OpenAPI-to-GraphQL

Опубликовано: 01 Июль 2026
на канале: Alan Cha
11,417
30

OpenAPI-to-GraphQL is a tool that wraps existing REST APIs in GraphQL. It uses an OpenAPI Specification (aka OAS and previously known as Swagger) to create a GraphQL schema and a set of resolvers. Not only is it easy to install and use, but it also offers lots of additional features and flexibility!

Some notable features include:
Sanitizing the OAS so it is GraphQL-safe
Authentication viewers
Nested objects by leveraging link objects
Creating GraphQL interfaces from multiple OASs
And many more!

To replicate the video, follow the tutorial here: https://github.com/strongloop/loopbac...

For more information about nested objects, see: https://github.com/IBM/openapi-to-gra...

Github page: https://github.com/IBM/openapi-to-gra...
NPM CLI: https://www.npmjs.com/package/openapi...
NPM library: https://www.npmjs.com/package/openapi...