@povio/openapi-codegen-cli 0.4.9 → 0.4.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,4 +6,5 @@ export declare const PARAM_SCHEMA_SUFFIX = "Param";
6
6
  export declare const RESPONSE_SCHEMA_SUFFIX = "Response";
7
7
  export declare const ERROR_RESPONSE_SCHEMA_SUFFIX = "ErrorResponse";
8
8
  export declare const VOID_SCHEMA = "z.void()";
9
+ export declare const ENUM_SCHEMA = "z.enum";
9
10
  export declare const ZOD_IMPORT: Import;
@@ -1,6 +1,7 @@
1
1
  export declare const getZodSchemaName: (name: string, schemaSuffix: string) => string;
2
2
  export declare const getEnumZodSchemaName: (name: string, enumSuffix: string, schemaSuffix: string) => string;
3
3
  export declare const isNamedZodSchema: (schema: string) => boolean;
4
+ export declare const isEnumZodSchema: (schema: string) => boolean;
4
5
  export declare const getZodSchemaOperationName: (operationName: string, isUniqueOperationName: boolean, tag: string) => string;
5
6
  export declare const getBodyZodSchemaName: (operationName: string) => string;
6
7
  export declare const getParamZodSchemaName: (operationName: string, paramName: string) => string;