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/rest-schema-docs —
components/schemasgeneration from codecs (standalone, no HTTP server) - examples/rest-api — full OpenAPI 3.1 document via
Server.OpenAPISpec(), served over the wire atGET /openapi.yaml - examples/rest-builder —
api/restbuilder +OpenAPISpec()with all route types