MCPcopy
hub / github.com/unkeyed/unkey / Validator

Struct Validator

pkg/zen/validation/validator.go:15–17  ·  view source on GitHub ↗

Validator wraps the core OpenAPI validator with tracing and API-specific error formatting.

Source from the content-addressed store, hash-verified

13// Validator wraps the core OpenAPI validator with tracing and
14// API-specific error formatting.
15type Validator struct {
16 core *core.Validator
17}
18
19// New creates a Validator backed by the compiled API OpenAPI spec.
20func New() (*Validator, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected