US 11,893,367 B2
Source code conversion from application program interface to policy document
Saurav Bhattacharyya, Brambleton, VA (US)
Assigned to Capital One Services, LLC, McLean, VA (US)
Filed by Capital One Services, LLC, McLean, VA (US)
Filed on Dec. 22, 2022, as Appl. No. 18/145,094.
Application 18/145,094 is a continuation of application No. 17/448,237, filed on Sep. 21, 2021, granted, now 11,537,367.
Prior Publication US 2023/0128866 A1, Apr. 27, 2023
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 8/40 (2018.01); G06F 8/60 (2018.01)
CPC G06F 8/40 (2013.01) [G06F 8/60 (2013.01)] 22 Claims
OG exemplary drawing
 
1. A method, comprising
receiving, by a device, code associated with an application program interface (API) configured to execute on a particular runtime environment;
identifying, by the device, one or more code sections associated with the code that implement one or more function calls;
generating, by the device, an executable policy document including machine-readable text based on the one or more code sections implementing the one or more function calls;
invoking, by the device, a validation utility to validate the executable policy document based on a design document associated with the API,
wherein invoking the validation utility comprises receiving information indicating whether the executable policy document satisfies one or more functional requirements described in the design document;
deploying, by the device, the executable policy document in a common runtime environment that supports multiple executable policy documents based on the validation utility indicating that the executable policy document satisfies functional requirements described in the design document; and
deallocating, based on deploying the executable policy document in the common runtime environment, resources associated with the particular runtime environment.