Concrete patterns you can lift into your app. Each recipe links to a focusedpage with short snippets.
Troubleshooting Examples (in repository)
REST only: https://github.com/karmaniverous/smoz/tree/main/examples/rest-only
REST + SQS (non‑HTTP): https://github.com/karmaniverous/smoz/tree/main/examples/rest-sqs
REST + Step Functions (non‑HTTP): https://github.com/karmaniverous/smoz/tree/main/examples/rest-step
Tip: Keep endpoint modules small and focused:
lambda.ts // define/register function
handler.ts // business handler
openapi.ts // attach OpenAPI operation
serverless.ts // (non‑HTTP only) attach platform events