package
0.0.0-20220222184645-f755f484ff34
Repository: https://github.com/istreamlabs/huma.git
Documentation: pkg.go.dev

# Functions

F returns a pointer to the given float64.
Generate creates a JSON schema for a Go type.
GenerateFromField generates a schema for a single struct field.
GenerateWithMode creates a JSON schema for a Go type.
I returns a pointer to the given int.

# Constants

ModeAll is for general purpose use and includes all fields.
ModeRead is for HTTP HEAD & GET and will hide write-only fields.
ModeWrite is for HTTP POST, PUT, PATCH, DELETE and will hide read-only fields.
JSON Schema type constants.
JSON Schema type constants.
JSON Schema type constants.
JSON Schema type constants.
JSON Schema type constants.
JSON Schema type constants.

# Variables

ErrSchemaInvalid is sent when there is a problem building the schema.

# Structs

Schema represents a JSON Schema which can be generated from Go structs.

# Type aliases

Mode defines whether the schema is being generated for read or write mode.