examples/

directory
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: MIT

Directories

Path Synopsis
This example shows how to handle omittable/nullable fields and an optional body in JSON input.
This example shows how to handle omittable/nullable fields and an optional body in JSON input.
This example show how to respond to API requests with different versions of the response body.
This example show how to respond to API requests with different versions of the response body.
This example shows how to reuse a parameter in the path and body.
This example shows how to reuse a parameter in the path and body.
This example shows how to use resolvers to provide additional validation for params and body fields, and how exhaustive errors are returned.
This example shows how to use resolvers to provide additional validation for params and body fields, and how exhaustive errors are returned.
This example shows how to use the CLI to create a server with a command to print the OpenAPI spec.
This example shows how to use the CLI to create a server with a command to print the OpenAPI spec.
This example shows how to use Server Sent Events (SSE) with Huma to send messages to a client over a long-lived connection.
This example shows how to use Server Sent Events (SSE) with Huma to send messages to a client over a long-lived connection.
An example showing how to use Huma v1 middleware in a Huma v2 project.
An example showing how to use Huma v1 middleware in a Huma v2 project.

Jump to

Keyboard shortcuts

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