Every typed-openapi command-line option in one place.
Terminal window
pnpmexectyped-openapi<input> [options]
<input> is an OpenAPI JSON or YAML path. It is optional when a loaded config supplies input.
Flags use kebab-case; the equivalent config keys use camelCase. For example, --transform-dates becomes transformDates: true in typed-openapi.config.ts. Start from configuration once a command has more than a few stable options.
none, zod, zod3, effect, effect3, valibot, arktype, typebox, or typia.
--validation <level>
loose, formats, or strict; defaults to strict with a runtime.
--validate-side <side>
none, input, output, or both; defaults to both with a runtime.
--client <kind>
promise or effect; Effect runtimes default to effect.
--coerce / --no-coerce
Control string-to-number/boolean coercion for HTTP primitives.
--runtime-types / --no-runtime-types
Runtime clients create a .types.d.ts type sidecar by default. Opt out to keep one checked generated file. Types-only clients never create a sidecar.
--transform-dates
Map date and date-time formats to Date.
--transform-bigint
Map int64 to bigint.
--openapi-additional-properties-default
Follow OpenAPI’s default that omitted additionalProperties means true. Without this flag, omitted additionalProperties on named objects is treated as false.