1 dépôt
Enforces that incoming request payloads contain only fields explicitly defined in the API schema.
Distinct from Schema Field Excluders: Distinct from field-level restrictions which focus on authorization; this is about structural schema enforcement.
Explore 1 awesome GitHub repository matching web development · Strict Schema Validation. Refine with filters or upvote what's useful.
Huma is an OpenAPI REST framework for Go designed for building HTTP services with automatic OpenAPI 3.1 specification generation and JSON Schema validation. It serves as a toolkit for developing REST and RPC APIs with typed inputs and outputs, deriving interactive documentation directly from the source code. The framework distinguishes itself by automating the synchronization between implementation and documentation. It uses a content-negotiation engine to manage multiple serialization formats via client headers and employs a JSON Schema input validator to automatically verify request paramet
Allows rejecting requests that contain unexpected fields not defined in the JSON schema to prevent input errors.