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 16d1ea9 commit 7230915Copy full SHA for 7230915
lib/services/schema-object-factory.ts
@@ -273,7 +273,7 @@ export class SchemaObjectFactory {
273
: undefined;
274
275
schemas[enumName] = {
276
- type: param.schema?.['type'] ?? 'string',
+ type: (param.isArray ? param.schema?.['items']?.['type'] : param.schema?.['type']) ?? 'string',
277
enum: _enum
278
};
279
}
0 commit comments