zap-typed

command
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

zap-typed example — typed handler with auto-generated OpenAPI spec.

go run ./examples/zap-typed
curl -X POST http://localhost:8080/v1/validate \
    -H 'Content-Type: application/json' \
    -d '{"email":"z@hanzo.ai","age":30}'
curl http://localhost:8080/.well-known/openapi.json | jq
open http://localhost:8080/docs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL