What’s Included
The OpenAPI spec describes:- Endpoints - All routes with methods (GET, POST, PUT, DELETE)
- Parameters - Path, query, and body parameters
- Request Bodies - JSON schemas for POST/PUT requests
- Responses - Success and error response schemas
- Authentication - Security schemes (Bearer token)
- Servers - Your deployed API URL
Download Formats
| Format | Description |
|---|---|
| JSON | Machine-readable, best for tooling |
| YAML | Human-readable, easier to edit |
Using the OpenAPI Spec
Generate SDKs
Import into Postman
- Open Postman
- Click Import
- Drag your
openapi.jsonfile - Postman creates a collection with all endpoints
Generate Documentation
Validate API Contracts
Sample OpenAPI Spec
Interactive API Docs
Backdrift includes an interactive API documentation viewer (powered by Redoc):- Go to your project
- Click View API Docs
- Browse endpoints, try requests, and explore schemas
Infrastructure Export
Export the raw Infrastructure-as-Code.
