Method and system for generating an application programming interface based on declarative schemas for individual services
US11231979B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Mar 19, 2020 |
| Grant date | Jan 25, 2022 |
| Priority date | — |
| Expiry date | Apr 3, 2040 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F9/546
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
Certain aspects of the present disclosure provide techniques for generating an application programming interface (API) for a plurality of associated services. The method generally includes retrieving a declarative schema for a service of a plurality of services in an application programming interface (API). A language object for the service is generated from a data object definition in the declarative schema associated with the service. Generally, the language object is configured to handle data events generated by the service. A service controller for the service is generated from a service definition in the declarative schema associated with the respective service. Generally, the service controller is fronted by a gateway for external sources to invoke one or more functions implemented by the service. An application programming interface (API) is exposed for the service independently of details of APIs for the associated services to one or more external services.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.