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
Click to show internal directories.
Click to hide internal directories.