huma-endpoint - Create Huma REST API Endpoints
Create API endpoints following Huma conventions for routing, input/output, errors, and docs.
Tags
Updated: 2026-03-23Capabilities
Typical Inputs
Typical Outputs
What this skill does
- create route handlers
- register routes
- define input structs
- define output structs
- create GET endpoints
- create POST endpoints
- create PUT endpoints
- create PATCH endpoints
- create DELETE endpoints
- handle errors
- log requests
Inputs
- API endpoint path
- HTTP method
- input structs
- output structs
- error messages
- log messages
Outputs
- API endpoint files
- OpenAPI documentation
Requirements
- Huma framework
- Go programming language
