Το έργο με τίτλο OpenAPI QL: searching in OpenAPI service catalogs από τον/τους δημιουργό/ούς Stergiou Ioanna-Maria, Mainas Nikolaos, Petrakis Evripidis διατίθεται με την άδεια Creative Commons Αναφορά Δημιουργού 4.0 Διεθνές
Βιβλιογραφική Αναφορά
I.-M. Stergiou, N. Mainas and E. G. M. Petrakis, “OpenAPI QL: searching in OpenAPI service catalogs,” in Advanced Information Networking and Applications, vol 450, Lecture Notes in Networks and Systems, L. Barolli, F. Hussain, T. Enokido, Eds., Cham, Switzerland: Springer, 2022, pp. 373–385, doi: 10.1007/978-3-030-99587-4_32.
https://doi.org/10.1007/978-3-030-99587-4_32
An OpenAPI description details the actions exposed by a REST API. Existing query languages (e.g. JSONpath or N1QL for JSON) are not designed for OpenAPI and suffer from several drawbacks the most important of them being that, queries are complicated expressions and users must be familiar with the underlying OpenAPI representation. We introduce OpenPI QL, a query language for OpenAPI service descriptions. OpenAPI QL relies on a model that identifies the features that can be used to query a service description. OpenAPI QL employees SQL syntax and maintains the necessary simplicity of expression (i.e. using properties of REST services in simple SQL statements) regardless of service complexity and ignoring the nested structure of OpenAPI. Although independent from OpenAPI, queries can address the most important features of a service description in a database. The run-time performance of SOWL QL has been assessed experimentally in a database with OpenAPI descriptions of real services. A critical analysis of its performance is also presented along with several query examples.