Swagger for Kafka and event-driven APIs

NestJS Events Swagger

Swagger-style documentation and testing for Kafka and event-driven APIs.

NestJS Events Swagger automatically maps your Kafka consumers and other transport handlers to their topics, providing a Swagger-style UI to explore patterns, produce test events, and validate payloads against your schemas - all in a familiar interface.

Built for NestJS

Built for NestJS developers using Kafka and other event transports. Document, test, and debug your event handlers with full schema support.

See It In Action

Quick Demo

Why NestJS Events Swagger?

Everything you need to document, test, and debug your event-driven APIs

Swagger-style Events UI

Interact with your event handlers through a familiar Swagger-like interface. Browse patterns, inspect schemas, and explore your event-driven ecosystem.

Real-time Consumer Tracking

Know exactly what happens when your handlers process events. Track whether each consumption was successful (Resolved) or encountered an error, displaying detailed error information in a friendly format right in the UI.

Load Testing Built-in

Stress-test your event handlers directly from the UI. Produce multiple events at once to simulate high-throughput scenarios and verify your consumers handle the load gracefully.

Message History Preview

Instantly view the most recent messages for each consumed pattern. No need to dig through logs or external tools - see what's flowing through your handlers at a glance.

Multi-Transport Support

Works with Kafka, WebSockets, and other event transports. One unified interface for all your event-driven APIs in NestJS.

One Module, One Decorator

Import a single module and document event handlers with the simple @ApiEvent() decorator. Minimal setup, maximum documentation power.

Ready to Get Started?

Add NestJS Events Swagger to your application in minutes

View Documentation