Ponencia
Automated Code Generation for Inter-parameter Dependencies in REST APIs
Autor/es | Barakat, Saman
![]() ![]() ![]() Barba Roque, Enrique Sánchez Jerez, Ana Belén ![]() ![]() ![]() ![]() ![]() ![]() ![]() Segura Rueda, Sergio ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Departamento | Universidad de Sevilla. Departamento de Lenguajes y Sistemas Informáticos |
Fecha de publicación | 2022 |
Fecha de depósito | 2024-01-22 |
Publicado en |
|
Resumen | The generation of code templates from REST API specifications is a common practice in industry. However, existing tools neglects the dependencies among input parameters (so called inter-parameter dependencies), extremelly ... The generation of code templates from REST API specifications is a common practice in industry. However, existing tools neglects the dependencies among input parameters (so called inter-parameter dependencies), extremelly common in practice and usually described in natural language. As a result, developers are responsible for implementing the corresponding validation logic manually, a tedious and error-prone process. In this paper, we present an approach for the automated generation of code for inter-parameter dependencies specified using the IDL4OAS extension. As a proof of concept, we present an extension of the popular openapi-generator tool ecosystem, automating the generation of Java and Python code for the management of inter-parameter dependencies in both, servers and clients. Preliminary results show the effectiveness of the approach in accelerating the development of APIs while making them potentially more reliable. |
Agencias financiadoras | European Commission (EC). Fondo Europeo de Desarrollo Regional (FEDER) Junta de Andalucía Gobierno de España |
Identificador del proyecto | P18-FR-2895
![]() US-1264651 ![]() RTI2018-101204-B-C21 ![]() |
Cita | Barakat, S., Barba Roque, E., Sánchez Jerez, A.B. y Segura Rueda, S. (2022). Automated Code Generation for Inter-parameter Dependencies in REST APIs. En XVII Jornadas de Ingeniería de Ciencia e Ingeniería de Servicios (JCIS 2022) (1-4), Santiago de Compostela: Sistedes. |
Ficheros | Tamaño | Formato | Ver | Descripción |
---|---|---|---|---|
Automated Code Generation for.pdf | 287.1Kb | ![]() | Ver/ | |