Skip to content
Published alpha · next channelRead as Markdown

Find your adapter ​

Start with the schema and behavior you already use. Mimlet keeps the core small; generation and native library integrations are opt-in.

Your input or jobPackageWhat to expect
A factory or Standard Schema validator@mimlet/coreImmutable builders, input/output typing, async capabilities, sessions and scenarios; provide the factory.
Modern typebox@mimlet/typeboxNative creation, checking and codecs; explicit factory escape hatch.
@sinclair/typebox@mimlet/typebox-legacyNative legacy TypeBox and Transform semantics.
JSON Schema or Standard JSON Schema conversion@mimlet/json-schemaSupported draft validation, profiles and bounded generation; inspect unsupported capabilities.
Zod 4 / Zod Mini@mimlet/zodNative parsing/codecs, explicit async validation, input generation and factories.
ArkType@mimlet/arktypeNative morphs/scopes, input checks, input generation and factories.
Valibot@mimlet/valibotInput conversion plus native parsing; factories for unsupported refinements.
Effect 3@mimlet/effectNative schemas, codecs, arbitraries and shrinking.
Realistic values@mimlet/fakerExplicit session-scoped randomness, locale and reference date.
Property tests@mimlet/fast-checkNative shrinking, scenario recomputation and checked replay.
OpenAPI / AsyncAPI@mimlet/apiOperation/message fixtures and explicit serialization with offline references.
GraphQL@mimlet/graphqlNative input fixtures and selection-aware response fixtures.
Protobuf@mimlet/protobufNative values, offline imports and binary codecs.
Avro@mimlet/avroNative values, unions, 64-bit integers and binary codecs.
Generated fluent builders@mimlet/codegenDeterministic classes, CLI checks, optional self-contained runtime.
A local schema editor@mimlet/playgroundLoopback-only playground with bounded, interruptible workers.
Your own adapter@mimlet/adapterCapability inspection and reusable conformance checks.
UI previews, HTTP mocks, test persistence@mimlet/consumersExplicit loaders, response resolvers and caller-owned persistence.
Hey API generationhey-api-buildersThe established plugin, now backed by the neutral core.

The dedicated Zod and ArkType adapters are included in 0.1.0-alpha.1. Follow the tested recipes, or retain the core and Standard JSON Schema path when those interfaces already meet your needs.

Validation, conversion and generation are different ​

Standard Schema describes validation and input/output types. It does not itself provide a generator or make arbitrary callbacks reversible. Conversion to JSON Schema can lose constraints that only the native validator understands.

Use buildValidated() or its async counterpart when decoded, validated output is required. Supply a factory when generation cannot faithfully express a constraint. Inspect the package's capabilities before claiming codec, generation or shrinking support. Pin the tested native-library versions in the compatibility matrix.

Keep the meaningful relationships ​

Faker supplies realistic primitives. Mimlet builders fix the fields that matter; scenarios connect related records. For property tests, shrink independent inputs and recompute the dependent values. See the agent recipes for executable examples of these combinations.

Mimlet · alpha · MIT licensed