A Link Generator for Increasing the Utility of OpenAPI-to-GraphQL Translations

05/18/2020
by   Dominik Adam Kus, et al.
0

Standardized interfaces are the connecting link of today's distributed systems, facilitating access to data services in the cloud. REST APIs have been prevalent over the last years, despite several issues like over- and underfetching of resources. GraphQL enjoys rapid adoption, resolving these problems by using statically typed queries. However, the redevelopment of services to the new paradigm is costly. Therefore, several approaches for the successive migration from REST to GraphQL have been proposed, many leveraging OpenAPI service descriptions. In this article, we present the findings of our empirical evaluation on the APIs.guru directory and identify several schema translation challenges. These include less expressive schema types in GraphQL, as well as missing meta information about related resources in OpenAPI. To this end, we developed the open source Link Generator, that analyzes OpenAPI documents and automatically adds links to increase translation utility. This fundamentally benefits around 34 findings and tool support contribute to the ongoing discussion about the migration of REST APIs to GraphQL, and provide developers with valuable insights into common pitfalls, to reduce friction during API transformation.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/26/2018

REST-ler: Automatic Intelligent REST API Fuzzing

Cloud services have recently exploded with the advent of powerful cloud-...
research
09/21/2018

Generating GraphQL-Wrappers for REST(-like) APIs

GraphQL is a query language and thereupon-based paradigm for implementin...
research
02/08/2021

Migration in the Stencil Pluralist Cloud Architecture

A debate in the research community has buzzed in the background for year...
research
11/26/2022

EasyMLServe: Easy Deployment of REST Machine Learning Services

Various research domains use machine learning approaches because they ca...
research
03/24/2023

JepREST: Functional tests for distributed REST applications

Application services often support mobile and web applications with REST...
research
09/07/2023

Interactive, Iterative, Tooled, Rule-Based Migration of Microsoft Access to Web Technologies

In the context of a collaboration with Berger-Levrault, an IT company pr...
research
07/20/2020

Collecting Service-Based Maintainability Metrics from RESTful API Descriptions: Static Analysis and Threshold Derivation

While many maintainability metrics have been explicitly designed for ser...

Please sign up or login with your details

Forgot password? Click here to reset