Skip to main content

Towards Large-Scale Empirical Assessment of Web APIs Evolution

  • Conference paper
  • First Online:
Web Engineering (ICWE 2021)
  • The original version of this chapter was revised: the term “paths” has been corrected to “operations” in several places of the paper. The correction to this chapter is available at https://doi.org/10.1007/978-3-030-74296-6_49

Abstract

Web Application Programming Interfaces (APIs) decouple the internal implementation of a service from its consumers which can reuse and compose them to rapidly build new applications. Many Web APIs are described with the OpenAPI Specification (OAS). The goal of our research is to check the feasibility of using API descriptions found in public open source repositories to study how APIs evolve over time. To do so, we collected a large dataset of OAS documents by crawling open source repositories, we parsed the corresponding metadata and measured the API size in order to extract a simple model to track the lifecycle of API artifacts and observe common evolution behaviors. Our preliminary results indicate that only a subset of the APIs changes, but as opposed to the expectation that APIs should only grow to maintain backward compatibility we also detected a number of APIs with a more variable history. We also study the stability of API artifacts over time and whether APIs are more or less likely to change as they age.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Change history

  • 11 May 2021

    In Chapter 10, the term “paths” was used instead of the term “operation.” This has been corrected and the term “operations” is now used throughout the paper.

References

  1. OpenAPI Initiative. https://www.openapis.org/. Accessed 30 Dec 2020

  2. Prance. https://pypi.org/project/prance/. Accessed 28 Dec 2020

  3. open-api-spec-validator. https://github.com/p1c2u/openapi-spec-validator. Accessed 29 Dec 2020

  4. Abelló, A., Ayala, C.P., Farré, C., Gómez, C., Oriol, M., Romero, O.: A data-driven approach to improve the process of data-intensive API creation and evolution. In: Proceedings of the Forum and Doctoral Consortium Papers Presented at CAiSE, vol. 1848, pp. 1–8. CEUR-WS.org (2017)

    Google Scholar 

  5. Antonio, G.D., Pablo, F., Ruiz-Cortés, A.: An analysis of RESTful APIs offerings in the industry. In: Proceedings of the International Conference on Service-Oriented Computing (ICSOC), pp. 589–604 (2017)

    Google Scholar 

  6. Dig, D., Johnson, R.: How do APIs evolve? A story of refactoring. J. Softw. Maint. Evol. Res. Pract. 18(2), 83–107 (2006)

    Article  Google Scholar 

  7. Eilertsen, A.M., Bagge, A.H.: Exploring API/client co-evolution. In: 2nd IEEE/ACM International Workshop on API Usage and Evolution (WAPI@ICSE), pp. 10–13 (2018)

    Google Scholar 

  8. Espinha, T., Zaidman, A., Gross, H.G.: Web API growing pains: stories from client developers and their code. In: Proceedings of the IEEE Conference on Software Maintenance, Reengineering, and Reverse Engineering (CSMR-WCRE). IEEE (2014)

    Google Scholar 

  9. Hora, A., Etien, A., Anquetil, N., Ducasse, S., Valente, M.T.: APIEvolutionMiner: keeping API evolution under control. In: Proceedings of the IEEE Conference on Software Maintenance, Reengineering, and Reverse Engineering (CSMR-WCRE), pp. 420–424 (2014)

    Google Scholar 

  10. Hora, A., Robbes, R., Valente, M.T., Anquetil, N., Etien, A., Ducasse, S.: How do developers react to API evolution? A large-scale empirical study. Softw. Qual. J. 26(1), 161–191 (2018)

    Article  Google Scholar 

  11. Koçi, R., Franch, X., Jovanovic, P., Abelló, A.: Classification of changes in API evolution. In: Proceedings of the 23rd International Enterprise Distributed Object Computing Conference (EDOC), pp. 243–249 (2019)

    Google Scholar 

  12. Lauret, A.: The Design of Web APIs. Manning (2019)

    Google Scholar 

  13. Li, J., Xiong, Y., Liu, X., Zhang, L.: How does web service API evolution affect clients? In: Proceedings of the 20th International Conference on Web Services (ICWS) (2013)

    Google Scholar 

  14. Lübke, D., Zimmermann, O., Pautasso, C., Zdun, U., Stocker, M.: Interface evolution patterns—balancing compatibility and flexibility across microservices lifecycles. In: Proceedings of the 24th European Conference on Pattern Languages of Programs, EuroPLoP 2019. ACM (2019)

    Google Scholar 

  15. Murer, S., Bonati, B., Furrer, F.: Managed Evolution - A Strategy for Very Large Information Systems. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-01633-2

    Book  Google Scholar 

  16. Pautasso, C., Zimmermann, O.: The Web as a software connector: Integration resting on linked resources. IEEE Softw. 35, 93–98 (2018)

    Article  Google Scholar 

  17. Shi, L., Zhong, H., Xie, T., Li, M.: An empirical study on evolution of API documentation. In: Proceedings of the 14th International Conference on Fundamental Approaches to Software Engineering: Part of the Joint European Conferences on Theory and Practice of Software, FASE 2011/ETAPS 2011, pp. 416–431 (2011)

    Google Scholar 

  18. Sohan, S.M., Anslow, C., Maurer, F.: A case study of Web API evolution. In: Proceedings of the IEEE World Congress on Services, pp. 245–252 (2015)

    Google Scholar 

  19. Wang, S., Keivanloo, I., Zou, Y.: How do developers react to RESTful API evolution? In: Franch, X., Ghose, A.K., Lewis, G.A., Bhiri, S. (eds.) ICSOC 2014. LNCS, vol. 8831, pp. 245–259. Springer, Heidelberg (2014). https://doi.org/10.1007/978-3-662-45391-9_17

    Chapter  Google Scholar 

  20. Yang, J., Wittern, E., Ying, A.T.T., Dolby, J., Tan, L.: Towards extracting web API specifications from documentation. In: 2018 IEEE/ACM 15th International Conference on Mining Software Repositories (MSR), pp. 454–464 (2018)

    Google Scholar 

Download references

Acknowledgements

This work is funded by the SNSF, with the API-ACE project nr. 184692.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Fabio Di Lauro .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Di Lauro, F., Serbout, S., Pautasso, C. (2021). Towards Large-Scale Empirical Assessment of Web APIs Evolution. In: Brambilla, M., Chbeir, R., Frasincar, F., Manolescu, I. (eds) Web Engineering. ICWE 2021. Lecture Notes in Computer Science(), vol 12706. Springer, Cham. https://doi.org/10.1007/978-3-030-74296-6_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-74296-6_10

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-74295-9

  • Online ISBN: 978-3-030-74296-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics