We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28fef1f commit a4b87a4Copy full SHA for a4b87a4
src/index.ts
@@ -41,6 +41,7 @@ async function openapiTS(
41
immutableTypes: options.immutableTypes || false,
42
rawSchema: options.rawSchema || false,
43
version: options.version || 3,
44
+ supportArrayLength: options.supportArrayLength,
45
} as any;
46
47
// note: we may be loading many large schemas into memory at once; take care to reuse references without cloning
src/types.ts
@@ -151,6 +151,7 @@ export interface SwaggerToTSOptions {
151
* @default {string} GET
152
*/
153
httpMethod?: string;
154
+ supportArrayLength?: boolean;
155
}
156
157
/** Context passed to all submodules */
0 commit comments