@cerios/openapi-to-zod 1.1.1 → 1.3.0

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.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { O as OpenApiGeneratorOptions } from './types-CI48CjiU.mjs';
2
- export { C as CommonSchemaOptions, a as ConfigFile, E as ExecutionMode, b as OpenAPISchema, c as OpenAPISpec, d as OperationFilters, R as RequestOptions, e as ResponseOptions, f as defineConfig } from './types-CI48CjiU.mjs';
1
+ import { O as OpenApiGeneratorOptions } from './types-B3GgqGzM.mjs';
2
+ export { C as CommonSchemaOptions, a as ConfigFile, E as ExecutionMode, b as OpenAPIParameter, c as OpenAPIRequestBody, d as OpenAPIResponse, e as OpenAPISchema, f as OpenAPISpec, g as OperationFilters, R as RequestOptions, h as ResponseOptions, i as defineConfig } from './types-B3GgqGzM.mjs';
3
3
 
4
4
  /**
5
5
  * Custom error classes for better error handling and debugging
@@ -125,6 +125,17 @@ declare class OpenApiGenerator {
125
125
  * Generate query parameter schemas for each operation
126
126
  */
127
127
  private generateQueryParameterSchemas;
128
+ /**
129
+ * Generate a PascalCase method name from HTTP method and path
130
+ * Used as fallback when operationId is not available
131
+ * @internal
132
+ */
133
+ private generateMethodNameFromPath;
134
+ /**
135
+ * Capitalizes a path segment, handling special characters like dashes, underscores, and dots
136
+ * @internal
137
+ */
138
+ private capitalizeSegment;
128
139
  /**
129
140
  * Check if a header should be ignored based on filter patterns
130
141
  * @internal
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { O as OpenApiGeneratorOptions } from './types-CI48CjiU.js';
2
- export { C as CommonSchemaOptions, a as ConfigFile, E as ExecutionMode, b as OpenAPISchema, c as OpenAPISpec, d as OperationFilters, R as RequestOptions, e as ResponseOptions, f as defineConfig } from './types-CI48CjiU.js';
1
+ import { O as OpenApiGeneratorOptions } from './types-B3GgqGzM.js';
2
+ export { C as CommonSchemaOptions, a as ConfigFile, E as ExecutionMode, b as OpenAPIParameter, c as OpenAPIRequestBody, d as OpenAPIResponse, e as OpenAPISchema, f as OpenAPISpec, g as OperationFilters, R as RequestOptions, h as ResponseOptions, i as defineConfig } from './types-B3GgqGzM.js';
3
3
 
4
4
  /**
5
5
  * Custom error classes for better error handling and debugging
@@ -125,6 +125,17 @@ declare class OpenApiGenerator {
125
125
  * Generate query parameter schemas for each operation
126
126
  */
127
127
  private generateQueryParameterSchemas;
128
+ /**
129
+ * Generate a PascalCase method name from HTTP method and path
130
+ * Used as fallback when operationId is not available
131
+ * @internal
132
+ */
133
+ private generateMethodNameFromPath;
134
+ /**
135
+ * Capitalizes a path segment, handling special characters like dashes, underscores, and dots
136
+ * @internal
137
+ */
138
+ private capitalizeSegment;
128
139
  /**
129
140
  * Check if a header should be ignored based on filter patterns
130
141
  * @internal