Why OpenAPI Spec
Course: OpenAPI Spec - chapter 1
When you create backend, it’s very hard for other people to know the exact shape of your routes
Wouldn’t it be nice if you could describe, in a single file the shape of your routes?
For example - https://sum-server.100xdevs.com/todo?id=1

If you have this single long file that lists all your routes, you could
- Auto generate documentation pages (Ref https://binance-docs.github.io/apidocs/spot/en/#query-current-order-count-usage-trade)
- Auto generate
clientsin various languages (Java, JS, Go…) - Let the world look at your API routes shape without actually opening your code
- Let AIs know how to
hityour APIs in a single file, without sharing your code with the AI
