@povio/openapi-codegen-cli
Version:
**NOTE:** This CLI tool is primarily designed for use within our organization. The generated code output aligns with our internal template. If you are using this tool without our internal template, make sure to use it in **standalone** mode.
20 lines (19 loc) • 973 B
TypeScript
import { Import } from "src/generators/types/generate";
export declare const SCHEMA_SUFFIX = "Schema";
export declare const ENUM_SUFFIX = "Enum";
export declare const BODY_SCHEMA_SUFFIX = "Body";
export declare const PARAM_SCHEMA_SUFFIX = "Param";
export declare const RESPONSE_SCHEMA_SUFFIX = "Response";
export declare const ERROR_RESPONSE_SCHEMA_SUFFIX = "ErrorResponse";
export declare const VOID_SCHEMA = "z.void()";
export declare const ANY_SCHEMA = "z.any()";
export declare const BLOB_SCHEMA = "z.instanceof(Blob)";
export declare const ENUM_SCHEMA = "z.enum";
export declare const INT_SCHEMA = "z.int()";
export declare const NUMBER_SCHEMA = "z.number()";
export declare const STRING_SCHEMA = "z.string()";
export declare const EMAIL_SCHEMA = "z.email()";
export declare const URL_SCHEMA = "z.url()";
export declare const UUID_SCHEMA = "z.uuid()";
export declare const DATETIME_SCHEMA = "z.iso.datetime({ offset: true })";
export declare const ZOD_IMPORT: Import;