Automatically Identifying Parameter Constraints in Complex Web APIs: A Case Study at Adyen
Henk Grent, Aleksei Akimov, Maur\'icio Aniche

TL;DR
This paper presents a case study on identifying parameter constraints in complex web APIs at Adyen, combining documentation and code analysis to improve API integration and reduce faults.
Contribution
It demonstrates a combined documentation and code analysis approach to identify parameter constraints in complex web APIs, achieving 68% coverage at Adyen.
Findings
Documentation-based approach identified 23% of constraints.
Code-based approach identified 53% of constraints.
Combined approach identified 68% of constraints.
Abstract
Web APIs may have constraints on parameters, such that not all parameters are either always required or always optional. Moreover, the presence or value of one parameter could cause another parameter to be required, or parameters could have restrictions on what kinds of values are valid. Having a clear overview of the constraints helps API consumers to integrate without the need for additional support and with fewer integration faults. We made use of existing documentation and code analysis approaches for identifying parameter constraints in complex web APIs. In this paper, we report our case study of several APIs at Adyen, a large-scale payment company that offers complex Web APIs to its customers. Our results show that the documentation- and code-based approach can identify 23% and 53% of the constraints respectively and, when combined, 68% of them. We also reflect on the current…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
