Building robust REST API clients with Swagger

fago

In today's world almost every web-site needs to connect and integrate with dozens of 3rd party systems - usually via REST APIs. Those REST APIs become the critical connection point between the integrated systems and their specification constitutes the contract between the applications and the organizations behind.

In this session we'll see how Swagger can be leveraged to not only clearly document the REST APIs in question, but also to implement robust, testable and nice-to-work-with REST API clients that can be leveraged independently of Drupal.

Finally it is shown how easy those API clients can be used with Drupal and explore how one can leverage a machine-readable REST API specification to easily achieve a deeper integration.

Session Track

PHP

Experience Level

Intermediate

Drupal Version