首页    期刊浏览 2024年11月27日 星期三
登录注册

文章基本信息

  • 标题:Empirical Analysis on OpenAPI Topic Exploration and Discovery to Support the Developer Community
  • 本地全文:下载
  • 作者:Leonardo da Rocha Araujo ; Guillermo Rodríguez ; Santiago Vidal
  • 期刊名称:COMPUTING AND INFORMATICS
  • 印刷版ISSN:1335-9150
  • 出版年度:2021
  • 卷号:40
  • 期号:6
  • 页码:1345-1369
  • DOI:10.31577/cai_2021_6_1345
  • 语种:English
  • 出版社:COMPUTING AND INFORMATICS
  • 摘要: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 developers needs.
  • 关键词:RESTful web services;APIs;documentation;topic modeling;OpenAPI;topic coherence
国家哲学社会科学文献中心版权所有