Guide: OpenAPI Spec¶
For the full API reference and all code examples, see the feature page.
Feature: REST API — Routes, Params & OpenAPI — OpenAPI spec generation section
Examples¶
- examples/openapi —
components/schemasgeneration from codecs (standalone, no HTTP server) - examples/rest-api — full OpenAPI 3.1 document via the low-level
DocumentBuilder - examples/api-rest —
api/restbuilder +OpenAPISpec()with all route types