EUVIMEDEUVIMED entdecken
Crossref

LRASGen: LLM-based RESTful API Specification Generation — RCR Report

Sida Deng, Rubing Huang, Man Zhang, Chenhui Cui, Dave Towey, Rongcun Wang

ACM Transactions on Software Engineering and Methodology · 17.11.2026

DOI: 10.1145/3862595 ↗

Kurz gefasst

Fachartikel in der Zeitschrift ACM Transactions on Software Engineering and Methodology, online erschienen am 17.11.2026. Verfasst von Sida Deng und 5 weiteren Autor:innen. Die Arbeit nennt 18 Literaturangaben.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

This Replicated Computational Results (RCR) Report accompanies our TOSEM paper “LRASGen: LLM-based RESTful API Specification Generation”. LRASGen is the first framework to use Large Language Models (LLMs) for generating OpenAPI Specifications (OASs) directly from RESTful API source code, without requiring compilation or a runtime environment. The framework is organized as a six-step pipeline that includes endpoint entry file identification, endpoint entry code extraction and cleaning, endpoint method identification, parameter and response identification, parameter constraint identification, and OAS generation. To mitigate LLM hallucination, LRASGen employs three safeguards: structured-output enforcement , cross-validation across three LLMs , and a code-anchor mechanism . Evaluated on 53 real-world RESTful APIs spanning five programming languages and ten frameworks, LRASGen generated accurate specifications (e.g., 99.4% of endpoint methods) and covered, on average, 43.54% more entities than developer-provided specifications, outperforming the state-of-the-art technique, Respector, on all four identification tasks. To support replication, we released the source code, the enhanced ground truth (GT*), the generated specifications, and the experiment scripts. We also packaged the artifact as a Docker image, which needs no local Python installation. We archived the artifacts on Zenodo with a permanent DOI.

Zitieren

APA

Deng, S., Huang, R., Zhang, M., Cui, C., Towey, D., & Wang, R. (2026). LRASGen: LLM-based RESTful API Specification Generation — RCR Report. ACM Transactions on Software Engineering and Methodology. https://doi.org/10.1145/3862595

Vancouver

Deng S, Huang R, Zhang M, Cui C, Towey D, Wang R. LRASGen: LLM-based RESTful API Specification Generation — RCR Report. ACM Transactions on Software Engineering and Methodology. 2026. doi:10.1145/3862595

BibTeX
@article{Deng2026,
  author = {Deng, Sida and Huang, Rubing and Zhang, Man and Cui, Chenhui and Towey, Dave and Wang, Rongcun},
  title = {LRASGen: LLM-based RESTful API Specification Generation — RCR Report},
  journal = {ACM Transactions on Software Engineering and Methodology},
  year = {2026},
  doi = {10.1145/3862595}
}
Kostenlos starten →