zodAsyncAPIGenerators
@the-codegen-project/cli • Docs
Home / zodAsyncAPIGenerators
Variable: zodAsyncAPIGenerators
const zodAsyncAPIGenerators: ZodUnion<[ZodObject<{
dependencies: ZodDefault<ZodOptional<ZodArray<ZodString, "many">>>;
enum: ZodDefault<ZodOptional<ZodEnum<["enum", "union"]>>>;
id: ZodDefault<ZodOptional<ZodString>>;
language: ZodDefault<ZodOptional<ZodLiteral<"typescript">>>;
map: ZodDefault<ZodOptional<ZodEnum<["indexedObject", "map", "record"]>>>;
outputPath: ZodDefault<ZodOptional<ZodString>>;
preset: ZodDefault<ZodLiteral<"payloads">>;
rawPropertyNames: ZodDefault<ZodOptional<ZodBoolean>>;
serializationType: ZodDefault<ZodOptional<ZodLiteral<"json">>>;
useForJavaScript: ZodDefault<ZodOptional<ZodBoolean>>;
}, "strip", ZodTypeAny, {
dependencies: string[];
enum: "enum" | "union";
id: string;
language: "typescript";
map: "map" | "indexedObject" | "record";
outputPath: string;
preset: "payloads";
rawPropertyNames: boolean;
serializationType: "json";
useForJavaScript: boolean;
}, {
dependencies: string[];
enum: "enum" | "union";
id: string;
language: "typescript";
map: "map" | "indexedObject" | "record";
outputPath: string;
preset: "payloads";
rawPropertyNames: boolean;
serializationType: "json";
useForJavaScript: boolean;
}>, ZodObject<{
dependencies: ZodDefault<ZodOptional<ZodArray<ZodString, "many">>>;
id: ZodDefault<ZodOptional<ZodString>>;
language: ZodDefault<ZodOptional<ZodLiteral<"typescript">>>;
outputPath: ZodDefault<ZodString>;
preset: ZodDefault<ZodLiteral<"parameters">>;
serializationType: ZodDefault<ZodOptional<ZodLiteral<"json">>>;
}, "strip", ZodTypeAny, {
dependencies: string[];
id: string;
language: "typescript";
outputPath: string;
preset: "parameters";
serializationType: "json";
}, {
dependencies: string[];
id: string;
language: "typescript";
outputPath: string;
preset: "parameters";
serializationType: "json";
}>, ZodObject<{
asyncapiGenerateForOperations: ZodDefault<ZodOptional<ZodBoolean>>;
asyncapiReverseOperations: ZodDefault<ZodOptional<ZodBoolean>>;
dependencies: ZodDefault<ZodOptional<ZodArray<ZodString, "many">>>;
functionTypeMapping: ZodDefault<ZodOptional<ZodRecord<ZodString, ZodOptional<ZodArray<ZodNativeEnum<typeof ChannelFunctionTypes>, "many">>>>>;
id: ZodDefault<ZodOptional<ZodString>>;
kafkaTopicSeparator: ZodDefault<ZodOptional<ZodString>>;
language: ZodDefault<ZodOptional<ZodLiteral<"typescript">>>;
outputPath: ZodDefault<ZodString>;
parameterGeneratorId: ZodDefault<ZodOptional<ZodString>>;
payloadGeneratorId: ZodDefault<ZodOptional<ZodString>>;
preset: ZodDefault<ZodLiteral<"channels">>;
protocols: ZodDefault<ZodArray<ZodEnum<["nats", "kafka", "mqtt", "amqp"]>, "many">>;
}, "strip", ZodTypeAny, {
asyncapiGenerateForOperations: boolean;
asyncapiReverseOperations: boolean;
dependencies: string[];
functionTypeMapping: Record<string, undefined | ChannelFunctionTypes[]>;
id: string;
kafkaTopicSeparator: string;
language: "typescript";
outputPath: string;
parameterGeneratorId: string;
payloadGeneratorId: string;
preset: "channels";
protocols: ("nats" | "kafka" | "mqtt" | "amqp")[];
}, {
asyncapiGenerateForOperations: boolean;
asyncapiReverseOperations: boolean;
dependencies: string[];
functionTypeMapping: Record<string, undefined | ChannelFunctionTypes[]>;
id: string;
kafkaTopicSeparator: string;
language: "typescript";
outputPath: string;
parameterGeneratorId: string;
payloadGeneratorId: string;
preset: "channels";
protocols: ("nats" | "kafka" | "mqtt" | "amqp")[];
}>]>;