Empirical Analysis on OpenAPI Topic Exploration and Discovery to Support the Developer Community

  • Leonardo da Rocha Araujo ISISTAN Research Institute (CONICET-UNICEN)
  • Guillermo Rodríguez ISISTAN Research Institute (CONICET-UNICEN)
  • Santiago Vidal ISISTAN Research Institute (CONICET-UNICEN)
  • Claudia Marcos ISISTAN Research Institute (CONICET-UNICEN)
  • Rodrigo Pereira dos Santos UNIRIO

Resumen

OpenAPI has become a dominant standard for documentation in the service-oriented software industry. OpenAPI is used in many analysis and reengineering approaches for RESTful service and microservice-based systems. An OpenAPI document has several components that are usually filled by humans using natural language (e.g. description of a certain functionality). Thus, subjectivity may lead to inconsistencies and ambiguities. Understanding what an API does is a challenging question. As a consequence, this issue could hinder developers from identifying the functionality of APIs, after reading all its components. Along this line, we argue that developers will be provided with supportive tools to find those APIs that better suit their needs. In this paper, we propose a step towards creating these kinds of tools by empirically analyzing a set of 2,000 OpenAPI documents with the goal of extracting the main topics of an API using three topic modeling algorithms. To address this issue, we focus on three tasks: i) determine which component of an OpenAPI document provides the most meaningful information, ii) compare three state-of-the-art topic modeling algorithms, and iii) determine the optimal number of topics to represent an API. Our findings show that the best results could be obtained from the Description component by using the Non-negative Matrix Factorization (NMF) or Latent Semantic Indexing (LSI) algorithms. To help developers find services in the OpenAPI directory, we also propose a prototype tool to explore the OpenAPI documents and analyze extracted topics to assess if the APIs meet developer’s needs.

Publicado
2022-12-15
Cómo citar
da Rocha Araujo, L., Rodríguez, G., Vidal, S., Marcos, C., & Pereira dos Santos, R. (2022). Empirical Analysis on OpenAPI Topic Exploration and Discovery to Support the Developer Community. Memorias De Las JAIIO, 8(3), 68-69. Recuperado a partir de https://ojs.sadio.org.ar/index.php/JAIIO/article/view/301
Sección
ASSE - Argentine Symposium on Software Engineering