Skip to main content

AsyncAPI - Stop wasting time on payloads

· 8 min read
Jonas Lagoni
The Codegen Project creator

Building event-driven applications often means spending countless hours writing and maintaining payload models. What if you could generate these models automatically from your AsyncAPI specification while keeping full control over your infrastructure code? In this post, we'll explore how The Codegen Project's payload generator can save you time and reduce errors.

The Codegen Project - 1 Months of Progress

· 4 min read
Jonas Lagoni
The Codegen Project creator

Since the release of v0.33, we've been diligently enhancing the Codegen CLI to make generated code safer, more intuitive, and aligned with real-world development practices. Spanning versions v0.34.0 through v0.39.0, this update introduces significant improvements, including automatic payload validation enabled by default and unified parameters.

TLDR:

  • Automatic payload validation by default for all consumed messages
  • Changed to unified parameter objects for all functions (breaking change)
  • Improved TypeScript types and logging
  • Updated documentation and fixed various bugs

The Codegen Project - 5 Months of Progress

· 5 min read
Jonas Lagoni
The Codegen Project creator

It has been a while since the last update, almost 5 months to be exact, all these improvements have been happening while building the SDK platform, using the CLI as it's pillars.

Since our last update in October 2024, we've evolved the project with new features, expanded protocol support, crucial fixes, and improved documentation. Instead of just listing the changes, we want to share the journey of how we grew The Codegen Project CLI from version 0.23.0 to 0.33.0.

The Codegen Project

· 3 min read
Jonas Lagoni
The Codegen Project creator
Andreas Lagoni
The Codegen Project creator

The Codegen Project banner

The Idea 💡

Apollo GraphQL code generator has always been a pleasure to use, but when it comes to standards such as OpenAPI and AsyncAPI, the same level of code generator or simplicity during the implemenation phase is non-existing.

That is what this project wants to bring;

A bit ambitious perhaps... So how?