Authors
Jinqiu Yang, Erik Wittern, Annie TT Ying, Julian Dolby, Lin Tan
Publication date
2018/5/28
Book
Proceedings of the 15th International Conference on Mining Software Repositories
Pages
454-464
Description
Web API specifications are machine-readable descriptions of APIs. These specifications, in combination with related tooling, simplify and support the consumption of APIs. However, despite the increased distribution of web APIs, specifications are rare and their creation and maintenance heavily rely on manual efforts by third parties. In this paper, we propose an automatic approach and an associated tool called D2Spec for extracting significant parts of such specifications from web API documentation pages. Given a seed online documentation page of an API, D2Spec first crawls all documentation pages on the API, and then uses a set of machine-learning techniques to extract the base URL, path templates, and HTTP methods - collectively describing the endpoints of the API.
We evaluate whether D2Spec can accurately extract endpoints from documentation on 116 web APIs. The results show that D2Spec achieves …
Total citations
201920202021202220232024484165
Scholar articles
J Yang, E Wittern, ATT Ying, J Dolby, L Tan - Proceedings of the 15th International Conference on …, 2018