Overview

@noego/dinner transforms your OpenAPI specifications into a fully functional Express router. Define your API contract in YAML, and Dinner automatically wires up controllers, middleware, and request validation.

With Dinner, your OpenAPI spec is the single source of truth. Route definitions, request/response schemas, and middleware configuration all live in one place.

Topics

Routes

OpenAPI route definitions, module structure, and path parameters with regex patterns.

Controllers

Controller mapping with x-controller/x-action extensions and middleware configuration.

Validation

JSON Schema validation rules and server configuration with createDinnerRouter.

Middleware

Request/response interception using x-middleware extensions.

NoEgo

© 2025 NoEgo. All rights reserved.