Settings — API Docs
Navigate to: Settings → API Docs
What it shows: Auto-generated OpenAPI 3.0 documentation for all configured gateway routes. Includes request/response schemas derived from your Schema Validation rules.
Step-by-step:
- Navigate to Settings → API Docs.
- The Swagger UI renders all gateway routes as explorable endpoints.
- Click any endpoint to expand its request schema, parameters, and example responses.
- Click Try it out → Execute to send a test request directly from the docs UI (uses your current session token).
- Click Download OpenAPI Spec (top-right) to export the spec as a JSON file for use with Postman, Insomnia, or code generators.
Who sees what: company admins and super admins both see API Docs. The upstream address of each route (the **Upstream:** line and every upstreamUrl field) is shown to super admins only: a company admin’s docs, and the OpenAPI spec they download, leave it out. A request with no sign-in also gets the version without upstream addresses.
How to test: Add a Schema Validation rule to a route, then reload API Docs — the route’s request schema in Swagger should reflect the JSON Schema you defined.