Time is running out! Submit now
by Erik Wittern Published July 2, 2019
We are happy to announce the release of version 1.0.0 of our open source library OpenAPI-to-GraphQL (originally published as “OASGraph” back in September 2018). OpenAPI-to-GraphQL allows you to leverage your existing REST API portfolio to build easy-to-use GraphQL interfaces.
OpenAPI-to-GraphQL, as its name suggests, generates GraphQL wrappers for existing Web APIs described in the OpenAPI specification or Swagger. Thus, it makes it extremely easy and fast to generate GraphQL APIs, but also provides advanced configuration options to fine-tune them if need be.
In contrast to other libraries, OpenAPI-to-GraphQL relies on data definitions to generate easy-to-use GraphQL interfaces, it sanitizes and de-sanitizes parts of APIs incompatible with GraphQL, and makes makes use of OpenAPI 3.0.0 features like links to generate more usable GraphQL interfaces.
On the one hand, OpenAPI-to-GraphQL can be used as a command line interface (CLI), to instantly get started. On the other hand, it can be used as a library, allowing to integrate it with your backend code. See this video for an introductory demonstration.
Since its original release, we have received feedback, issues, and pull requests from users both within IBM and externally. Collectively, they helped our library to be more broadly applicable, provide more features, and be more robust. Some highlights of the new version 1.0.0 include:
We are excited about the future of OpenAPI-to-GraphQL! As always, feel free to try out the library, reach out to us on on Twitter or open an issue.
Erik Wittern is a research staff member at the Thomas J. Watson Research Center who studies both the provision and consumption of web APIs from a developer’s perspective.
IBM is a founding member of the GraphQL Foundation, which supports the open source adoption of GraphQL, a query language…
API ManagementHybrid Cloud+
Back to top