Invention Grant
- Patent Title: Generating web API specification from online documentation
-
Application No.: US15403150Application Date: 2017-01-10
-
Publication No.: US10942708B2Publication Date: 2021-03-09
- Inventor: Julian T. Dolby , John E. Wittern , Jinqiu Yang , Annie T. T. Ying
- Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Applicant Address: US NY Armonk
- Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Current Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Current Assignee Address: US NY Armonk
- Agency: Intelletek Law Group, PLLC
- Agent Gabriel Daniel, Esq.
- Main IPC: G06F8/10
- IPC: G06F8/10 ; H04L29/08 ; G06F16/958 ; G06F8/36

Abstract:
A tool that automatically generates a web API specification from a web API documentation is provided. The tool extracts a base uniform resource locator (URL) string from the received documentation by identifying URL strings in the documentation that are valid web application programming interface (API) calls. The tool infers path templates by identifying and clustering path expressions in the documentation that invoke the same URL endpoints. The tool extracts hypertext transfer protocol (HTTP) request type and query parameters associated with the inferred path templates. The tool generates a specification that includes the extracted base URL, the inferred path templates, the extracted HTTP request types, and the extracted query parameters.
Public/Granted literature
- US20180196643A1 GENERATING WEB API SPECIFICATION FROM ONLINE DOCUMENTATION Public/Granted day:2018-07-12
Information query