Skip to main content

OpenAPI Metadata

Add per-route or per-method documentation by exporting an openapi object from your route.ts. It can include summary, description, tags, operationId, parameters, and responses for each method. BurgerAPI merges this with the generated spec and infers schemas from your Zod schema where possible.

See OpenAPI & Swagger and OpenAPI Generation.