Generate client libraries
The OpenAPI Specification defines a standard interface to describe an API, regardless of the language it was written in. This specification can then be used to automatically create documentation(swagger), or to automatically generate clients for your services.
Modern application landscapes often comprise many independent services. Each of these services have one or more responsibilities, and have an interface to expose functionality to the outside world. In the case of RESTful services, this functionality is exposed over HTTP.
To check how to generate stubs and client libraries visit Stub Generation page.