Skip to main content

OpenAPI Bot: A Chatbot to Help You Understand REST APIs

  • Conference paper
  • First Online:
Web Engineering (ICWE 2020)

Abstract

REST APIs are an essential building block in many Web applications. The lack of a standard machine-readable format to describe these REST APIs triggered the creation of several specification languages to formally define REST APIs, with the OpenAPI specification currently taking the lead. OpenAPI definitions are consumed by a growing ecosystem of tools aimed at automating tasks such as generating server/client SDKs and API documentations. However, current OpenAPI documentation tools mostly provide simple descriptive Web pages enumerating all the API operations and corresponding parameters, but do not offer interactive capabilities to help navigate the API and ask relevant information. Therefore, learning how to use an API and how its different parts are interrelated still requires a considerable time investment. To overcome this situation we present our OpenAPI Bot, a chatbot able to read an OpenAPI definition for you and answer the questions you may have about it.

Work supported by the Spanish government (TIN2016-75944-R project).

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 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.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

Notes

  1. 1.

    https://github.com/OAI/OpenAPI-Specification.

  2. 2.

    Complete sources for the example available at https://github.com/opendata-for-all/openapi-bot/.

  3. 3.

    https://petstore.swagger.io/v2/swagger.json.

References

  1. Cai, L., et al.: AnswerBot: an answer summary generation tool based on stack overflow. In: Proceedings of the ESEC/FSE, pp. 1134–1138 (2019)

    Google Scholar 

  2. Daniel, G., Cabot, J., Deruelle, L., Derras, M.: Xatkit: a multimodal low-code chatbot development framework. IEEE Access 8, 15332–15346 (2020)

    Article  Google Scholar 

  3. Ed-douibi, H., Cánovas Izquierdo, J., Bordeleau, F., Cabot, J.: WAPIml: towards a modeling infrastructure for Web APIs. In: International Conference on Model Driven Engineering Languages and Systems Companion, pp. 748–752 (2019)

    Google Scholar 

  4. Tian, Y., Thung, F., Sharma, A., Lo, D.: APIBot: question answering bot for API documentation. In: International Conference on Automated Software Engineering, pp. 153–158 (2017)

    Google Scholar 

  5. Vaziri, M., Mandel, L., Shinnar, A., Siméon, J., Hirzel, M.: Generating Chat Bots from Web API specifications. In: Proceedings of the Onward!, pp. 44–57 (2017)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hamza Ed-Douibi .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Ed-Douibi, H., Daniel, G., Cabot, J. (2020). OpenAPI Bot: A Chatbot to Help You Understand REST APIs. In: Bielikova, M., Mikkonen, T., Pautasso, C. (eds) Web Engineering. ICWE 2020. Lecture Notes in Computer Science(), vol 12128. Springer, Cham. https://doi.org/10.1007/978-3-030-50578-3_40

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-50578-3_40

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-50577-6

  • Online ISBN: 978-3-030-50578-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics