Zur Hauptnavigation wechseln Zur Suche wechseln Zum Hauptinhalt wechseln

How Composable is the Web? An Empirical Study on OpenAPI Data model Compatibility

  • Souhaila Serbout
  • , Cesare Pautasso
  • , Uwe Zdun

Veröffentlichungen: Beitrag in Buch › Beitrag in Konferenzband › Peer Reviewed

Abstract

Composing Web APIs is a widely adopted practice by developers to speed up the development process of complex Web applications, mashups, and data processing pipelines. However, since most publicly available APIs are built independently of each other, developers often need to invest their efforts in solving incompatibility issues by writing ad-hoc glue code, adapters and message translation mappings. How likely are Web APIs to be directly composable?The paper presents an empirical study to determine the potential composability of a large collection of 20,587 public Web APIs by verifying their schemas? compatibility. We define three levels of data model elements compatibility ? considering matches between property names and/or data types ? which can be determined statically based on API descriptions conforming to the OpenAPI specification. The study research questions address: to which extent are Web APIs compatible; the average number of compatible endpoints within each API; the likelihood of finding two APIs with at least one pair of compatible endpoints.To perform the analysis we developed a compatibility checker tool which can statically determine API schema compatibility on the three levels and find matching pairs of API responses which can be directly forwarded as requests to the same or other APIs. We run the tool on a dataset of 751,390 request and response message schemas extracted from publicly available OpenAPI descriptions.The results indicate a relatively high number of compatible APIs when matching their data models only on the level of their elements? data type. However, this number gets lower narrowing the scope to only the ones handling data objects having identical properties name. The average likelihood of finding two compatible APIs with both matching property names and data types reaches 21 the number of compatible endpoints within the same API is very low.
OriginalspracheEnglisch
Titel2022 IEEE International Conference on Web Services (ICWS), Barcelona, Spain
Herausgeber*innenClaudio Agostino Ardagna, Nimanthi Atukorala, Boualem Benatallah, Athman Bouguettaya, Fabio Casati, Carl K. Chang, Rong N. Chang, Ernesto Damiani, Chirine Ghedira Guegan, Robert Ward, Fatos Xhafa, Xiaofei Xu, Jia Zhang
ErscheinungsortPiscataway, NJ
VerlagIEEE
Seiten415-424
Seitenumfang10
ISBN (elektronisch)978-1-6654-8143-4
ISBN (Print)978-1-6654-8144-1
DOIs
PublikationsstatusVeröffentlicht - 2022
VeranstaltungIEEE International Conference on Web Services - Barcelona, Spanien
Dauer: 11 Juli 2022 → 15 Juli 2022
https://conferences.computer.org/icws/2022/

Konferenz

KonferenzIEEE International Conference on Web Services
KurztitelIEEE ICWS 2022
Land/GebietSpanien
OrtBarcelona
Zeitraum11/07/22 → 15/07/22
Internetadresse

ÖFOS 2012

  • 102022 Softwareentwicklung

Fingerprint

Untersuchen Sie die Forschungsthemen von „How Composable is the Web? An Empirical Study on OpenAPI Data model Compatibility“. Zusammen bilden sie einen einzigartigen Fingerprint.

Zitationsweisen