Upgrade to Pro — share decks privately, control downloads, hide ads and more …

API first development with OpenAPI

API first development with OpenAPI

API First development – should you practise it?
Of course.

In this talk, I’ll show you how OpenAPI can make your life easier in a serverless world:

- Creating the contract with your consumers is the first thing you do
- You can automatically create your API from this OpenAPI definitions (e.g. skip the whole configuration of your API Gateway on AWS by using OpenAPI)
- You’ll have a beautiful visual overview of your API
- Generate your class definitions based on this OpenAPI definitions
- Validate incoming and outgoing requests with the OpenAPI definition

Did you notice that I just gave you five advantages of using OpenAPI?
It’s only the beginning.
And that’s why you should practice API First development with OpenAPI.

Avatar for Nick Van Hoof

Nick Van Hoof

October 15, 2019
Tweet

More Decks by Nick Van Hoof

Other Decks in Programming

Transcript

  1. 2 § Nick Van Hoof § Cloud Developer § Ordina

    § https://ordina-jworks.github.io/ § https://nickvanhoof.com Whoami
  2. 3 § API first development § Open API § Open

    API in practice Content § No demo’s § Movies § Valuable info
  3. 12

  4. 16 § API first development § Open API § Open

    API in practice - Creating API compliant code - Integrating with build process - Creating your API gateway - Testing your api Content
  5. 20 § API first development § Open API § Open

    API in practice - Creating API compliant code - Integrating with build process - Creating your API gateway - Testing your api Content
  6. 23 § API first development § Open API § Open

    API in practice - Creating API compliant code - Integrating with build process - Creating your API gateway - Testing your API Content
  7. 25 OPEN API – Infrastructure As Code AWS API GATEWAY

    CloudFormation Terraform bit.ly/31IJZTH
  8. 30 § API first development § Open API § Open

    API in practice - Creating API compliant code - Integrating with build process - Creating your API gateway - Testing your API § Wrapping up Content
  9. 31 API FIRST DEVELOPMENT WITH OPEN API § Wait with

    development until API definition is finished § Little extra documentation can be added in the API specs § Be careful with code generation
  10. 32 API FIRST DEVELOPMENT WITH OPEN API § Clear API

    definition § Teams can work separately § Strong consistency between web layer and API spec § API compliant code § Strong tooling support