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 f866985 commit c9a64b4Copy full SHA for c9a64b4
src/jsonSchema.ts
@@ -19,7 +19,7 @@ export interface NullJsonSchema {
19
oneOf?: Array<NullJsonSchema>,
20
readOnly?: boolean,
21
title?: string,
22
- type?: 'null',
+ type?: 'null' | Array<'null' | 'boolean' | 'string' | 'integer' | 'number' | 'array' | 'object'>,
23
writeOnly?: boolean
24
}
25
@@ -48,7 +48,7 @@ export interface BooleanJsonSchema {
48
oneOf?: Array<BooleanJsonSchema>,
49
50
51
- type?: 'boolean',
+ type?: 'boolean' | Array<'null' | 'boolean' | 'string' | 'integer' | 'number' | 'array' | 'object'>,
52
53
54
0 commit comments