File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
- import { JsonSchema } from '@fosfad/json-schema-typescript-definitions/2020-12' ;
1
+ import { JsonSchemaBoolean , JsonSchemaObject } from '@fosfad/json-schema-typescript-definitions/2020-12' ;
2
2
3
3
export interface Callback {
4
4
[ expression : string ] : PathItem | Reference ;
@@ -220,7 +220,7 @@ export interface Responses {
220
220
[ httpStatusCode : string ] : Response | Reference ;
221
221
}
222
222
223
- export type Schema = JsonSchema & {
223
+ interface OasSchema extends JsonSchemaObject {
224
224
$defs ?: { [ key : string ] : Schema } ;
225
225
additionalProperties ?: Schema ;
226
226
allOf ?: Array < Schema > ;
@@ -242,7 +242,9 @@ export type Schema = JsonSchema & {
242
242
unevaluatedItems ?: Schema ;
243
243
unevaluatedProperties ?: Schema ;
244
244
xml ?: XML ;
245
- } ;
245
+ }
246
+
247
+ export type Schema = JsonSchemaBoolean | OasSchema ;
246
248
247
249
export interface SecurityRequirement {
248
250
[ name : string ] : string [ ] ;
You can’t perform that action at this time.
0 commit comments