Detailed Information

Cited 0 time in webofscience Cited 0 time in scopus
Metadata Downloads

Can Llms Update Api Documentation?

Authors
Lee, SeonahHeo, JueunDearstyne, Katherine R.
Issue Date
Oct-2025
Keywords
API documentation; code changes; code summarization; LLMs; updates
Citation
Proceedings - Conferense on Software Maintenance, pp 455 - 466
Pages
12
Indexed
SCOPUS
Journal Title
Proceedings - Conferense on Software Maintenance
Start Page
455
End Page
466
URI
https://scholarworks.gnu.ac.kr/handle/sw.gnu/81375
DOI
10.1109/ICSME64153.2025.00048
ISSN
1063-6773
2576-3148
Abstract
Human-written API documentation often becomes outdated, requiring developers to update it manually. Researchers have proposed identifying outdated API name references in documentation, yet have not addressed updating API documentation. Now, emerging large language models (LLMs) are capable of generating code examples and text descriptions. Then, a key question arises: Can LLMs assist in updating API documentation? In this paper, we propose an approach for leveraging an LLM to update API documentation with code change information. To evaluate this approach, we select five open-source projects that manage documentation revisions on GitHub and analyze the differences in documentation between two releases to derive ground truths. We then assess the accuracy of LLM-generated updates by comparing them to the ground truths. Our results show that LLM-generated updates achieve higher METEOR than outdated API documentation (0.771 vs 0.679). It indicates that the LLM updates are more similar to the human updates than the outdated documentation. Our results also reveal that LLMs update code-related information in API documentation with a maximum F1 score of $\mathbf{0. 9 2 1}$. © 2025 IEEE.
Files in This Item
There are no files associated with this item.
Appears in
Collections
공학계열 > AI융합공학과 > Journal Articles

qrcode

Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.

Related Researcher

Researcher Lee, Seon Ah photo

Lee, Seon Ah
IT공과대학 (소프트웨어공학과)
Read more

Altmetrics

Total Views & Downloads

BROWSE