发明名称 Generating virtualized application programming interface (API) implementation from narrative API documentation
摘要 A virtualized Application Program Interface (API) implementation is generated based upon narrative API documentation that includes sentences that describe the API, by generating programming statements for the virtualized API implementation based upon parsing the narrative API documentation, and generating the virtualized API implementation based on upon the programming statements for the virtualized API implementation. The parsing of the narrative documentation may use a natural language parser and a domain-specific ontology for the API that may be obtained or created for the API. The virtualized API implementation may be generated using an API virtualizer.
申请公布号 US9471283(B2) 申请公布日期 2016.10.18
申请号 US201414302140 申请日期 2014.06.11
申请人 CA, Inc. 发明人 Esfahany Kouros Hodaee;Dahan Jean-David;Kress James Stephen;Danielson Debra J.
分类号 G06F9/44 主分类号 G06F9/44
代理机构 Myers Bigel & Sibley, P.A. 代理人 Myers Bigel & Sibley, P.A.
主权项 1. A method comprising: generating a virtualized Application Programming Interface (API) implementation that simulates an API based upon narrative API documentation that comprises sentences that describe the API, wherein the generating is performed by processor circuitry, wherein generating the virtualized API implementation based upon narrative API documentation that comprises sentences that describe the API comprises: generating programming statements for the virtualized API implementation based upon parsing the narrative API documentation that comprises sentences that describe the API; andgenerating the virtualized API implementation based upon the programming statements for the virtualized API implementation, wherein generating programming statements for the virtualized API implementation based upon parsing the narrative API documentation that comprises sentences that describe the API comprises parsing the narrative API documentation using a domain-specific ontology for the API, wherein parsing the narrative API documentation using the domain-specific ontology for the API comprises: identifying parameters of the API from the narrative API documentation; andidentifying normal and abnormal behaviors of the API from the narrative API documentation, wherein the identifying parameters of the API from the narrative API documentation comprises: identifying a type of a parameter;identifying syntactical constraints on a parameter;identifying range constraints on a parameter;identifying invariants of a parameter;identifying transforms of a parameter; andidentifying semantic inferences of a parameter, and wherein the method further comprises: converting the parameters of the API and the normal and abnormal behaviors of the API into the programming statements for the virtualized API implementation.
地址 New York NY US