OASBuilder: Generating OpenAPI Specifications from Online API Documentation with Large Language Models

Koren Lazar, Matan Vetzler, Kiran Kate, Jason Tsay, David Boaz Himanshu Gupta +6 more
7/7/2025
cs.SEcs.AI

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

AI agents and business automation tools interacting with external web services require standardized, machine-readable information about their APIs in the form of API specifications. However, the information about APIs available online is often presented as unstructured, free-form HTML documentation, requiring external users to spend significant time manually converting it into a structured format. To address this, we introduce OASBuilder, a novel framework that transforms long and diverse API documentation pages into consistent, machine-readable API specifications. This is achieved through a carefully crafted pipeline that integrates large language models and rule-based algorithms which are guided by domain knowledge of the structure of documentation webpages. Our experiments demonstrate that OASBuilder generalizes well across hundreds of APIs, and produces valid OpenAPI specifications that encapsulate most of the information from the original documentation. OASBuilder has been successfully implemented in an enterprise environment, saving thousands of hours of manual effort and making hundreds of complex enterprise APIs accessible as tools for LLMs.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lazar2025oasbuilder,
  title  = {OASBuilder: Generating OpenAPI Specifications from Online API Documentation with Large Language Models},
  author = {Koren Lazar and Matan Vetzler and Kiran Kate and Jason Tsay and David Boaz Himanshu Gupta and Avraham Shinnar and Rohith D Vallam and David Amid Esther Goldbraich and Guy Uziel and Jim Laredo and Ateret Anaby Tavor},
  year   = {2025},
  eprint = {2507.05316},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.05316v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.05316.svg)](https://codeofpaper.com/paper/2507.05316)

Discussion