Ans: API is the abbreviation for Application Programming Interface. It specifies how two modules of software communicate with one another. There are various types of APIs, but the swagger is focused on the Web API.
An application programming interface is a way for two or more computer programs to communicate with each other. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how to build or use such a connection or interface is called an API specification.