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.
t.readonlyArray
1 parent 76c48cd commit f93129aCopy full SHA for f93129a
packages/openapi-generator/src/knownImports.ts
@@ -31,6 +31,7 @@ export const KNOWN_IMPORTS: KnownImports = {
31
boolean: () => E.right({ type: 'primitive', value: 'boolean' }),
32
null: () => E.right({ type: 'primitive', value: 'null' }),
33
array: (_, innerSchema) => E.right({ type: 'array', items: innerSchema }),
34
+ readonlyArray: (_, innerSchema) => E.right({ type: 'array', items: innerSchema }),
35
type: (_, schema) => {
36
if (schema.type !== 'object') {
37
return E.left('typeC parameter must be object');
0 commit comments