Skip to Content

REST OpenApi Specification

Published: October 19, 2021

REST is the most commonly used style to build APIs. We're not trying to discuss the pros and cons of REST APIs here. REST APIs are everywhere. Your own applications might probably rely on some REST APIs.

If you'd like to use GraphQL, you're most likely in a situation where you need to glue some REST APIs to your shiny new GraphQL API. You could write a wrapper or adapter of any sort and eat the REST API up by the GraphQL API. However, that would mean you have to write, test, maintain and deploy extra code.

With WunderGraph, you're able to turn any REST API specified by an OpenAPI Specification into a GraphQL API. This way, you can treat it like any other GraphQL API and even stitch it together with other APIs. You're able to add Links between fields to transform RESTful APIs into real GraphQL APIs without writing custom code.

We don't think that GraphQL is a replacement for REST. REST makes it very easy to implement APIs. On the other hand, consuming REST APIs is not always that easy.

REST and GraphQL#

Combining REST APIs with WunderGraph gives you the best of both worlds. Get the amazing developer experience of using GraphQL in the client, together with the simplicity of writing REST APIs.


Subscribe to our newsletter!

Stay informed when great things happen! Get the latest news about APIs, GraphQL and more straight into your mailbox.

© 2021 WunderGraph