EchoNext documentation
Build typed, validated, and self-documenting APIs on Echo.
EchoNext documentation
EchoNext wraps Echo with typed handlers, automatic request validation, consistent responses, and OpenAPI generation. It keeps the underlying Echo application available, so typed routes and standard handlers can coexist.
Stable documentation
These guides target EchoNext v1.4.8, Go 1.24, and Echo v4. Work on Echo v5 belongs to the upcoming v1.5 release and is not used in stable examples yet.
Start here
Install EchoNext
Add the stable library and optional CLI to a Go project.
Build your first API
Create a validated Todo API and serve generated Swagger UI.
Understand the model
Learn how handler types drive binding, validation, responses, and schemas.
Explore examples
Move from a small REST API to integrations and service patterns.
Choose a path
- Building HTTP APIs: continue with API development, validation, and OpenAPI.
- Starting a service: use the CLI and review the architecture overview.
- Adding infrastructure: choose from the optional database, configuration, testing, and middleware packages.
- Adding integrations: see file uploads, WebSockets, and GraphQL.
- Operating production services: review deployment, observability, security, and performance.
Installation at a glance
go get github.com/abdussamadbello/echonext@v1.4.8app := echonext.New()
app.GET("/health", func(c echo.Context) (Health, error) {
return Health{Status: "ok"}, nil
})The full source is available on GitHub under the MIT license.