Generating API clients with Open API 2.0 (Swagger) specification and interacting with REST endpoints