File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export class ArraySchema extends Schema {
15
15
// (undocumented)
16
16
items: TypedSchema ;
17
17
// @internal (undocumented)
18
- _toRequest (): _SchemaRequest ;
18
+ toJSON (): _SchemaRequest ;
19
19
}
20
20
21
21
// @public
@@ -495,7 +495,7 @@ export class ObjectSchema extends Schema {
495
495
[k : string ]: TypedSchema ;
496
496
};
497
497
// @internal (undocumented)
498
- _toRequest (): _SchemaRequest ;
498
+ toJSON (): _SchemaRequest ;
499
499
}
500
500
501
501
// @public
@@ -644,6 +644,21 @@ export interface SchemaRequest extends SchemaShared<SchemaRequest> {
644
644
type: SchemaType ;
645
645
}
646
646
647
+ // @public (undocumented)
648
+ export interface SchemaShared <T > {
649
+ // (undocumented)
650
+ [key : string ]: unknown ;
651
+ description? : string ;
652
+ enum? : string [];
653
+ example? : unknown ;
654
+ format? : string ;
655
+ items? : T ;
656
+ nullable? : boolean ;
657
+ properties? : {
658
+ [k : string ]: T ;
659
+ };
660
+ }
661
+
647
662
// @public
648
663
export interface SchemaShared <T > {
649
664
// (undocumented)
@@ -697,7 +712,7 @@ export class StringSchema extends Schema {
697
712
// (undocumented)
698
713
enum? : string [];
699
714
// @internal (undocumented)
700
- _toRequest (): _SchemaRequest ;
715
+ toJSON (): _SchemaRequest ;
701
716
}
702
717
703
718
// @public
You can’t perform that action at this time.
0 commit comments