Work

Towards extracting web API specifications from documentation

Year: 2018
Type: conference-paper
Abstract: 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.
Language: English
Open Access status: green
OpenAlex ID: W2883307502
FWCI: 2.683
Cites: 33
Cited by: 41
Related to: 9