API Fest 2022 (Day 2 - Jan 27th) 🎉 Awesome session by @clairefroe on "Coding an API using an API Schema" #PostmanStudent #APIFest @getpostman Takeaways from Claire's session and API First Approach 🧵 (A thread)
1
4
20
0
0
1. HONOR THE INTERFACE Claire gave an example of a vending machine. The end users only care about how it feels like a vending machine. You can implement it however you want, like keep a human inside the vending machine😂
2. API First Approach The first step is to define a Schema and use it a single source of truth! You will use to build the API based on the rules and methods(GET, PUT, POST AND DELETE) defined in the API schema(Open API 3.0 in our case). (1/4)