Abstract
This chapter will introduce approaches and tools for describing your services' APIs in a machine-readable format. First we will introduce the concepts behind Interface Definition Languages (IDLs) and will briefly introduce a number of such languages. Next, we will introduce the Swagger IDL framework and its associated tool chain in more detail, and we will conclude the chapter by illustrating how to use Swagger to define the APIs of one of the services in our bookstore application.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2016 Cloves Carneiro Jr. and Tim Schmelmer
About this chapter
Cite this chapter
Carneiro, C., Schmelmer, T. (2016). Defining APIs. In: Microservices From Day One. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1937-9_5
Download citation
DOI: https://doi.org/10.1007/978-1-4842-1937-9_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-1936-2
Online ISBN: 978-1-4842-1937-9
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books