What it provides
- Interactive documentation (Swagger UI) — test endpoints directly in the browser
- Client SDK generation — automatic TypeScript/Python/PHP client from the API description
- Request and response validation against the specification
- A contract between frontend and backend — describe the API first, then implement it
Minimal example
paths:
/users/{id}:
get:
summary: Get user
parameters:
- name: id
in: path
required: true
schema:
type: integer