Skip to content

Commit 6212c28

Browse files
committed
Fixes based on testing
1 parent 1f59dce commit 6212c28

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

common/api-review/vertexai.api.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class ArraySchema extends Schema {
1515
// (undocumented)
1616
items: TypedSchema;
1717
// @internal (undocumented)
18-
_toRequest(): _SchemaRequest;
18+
toJSON(): _SchemaRequest;
1919
}
2020

2121
// @public
@@ -495,7 +495,7 @@ export class ObjectSchema extends Schema {
495495
[k: string]: TypedSchema;
496496
};
497497
// @internal (undocumented)
498-
_toRequest(): _SchemaRequest;
498+
toJSON(): _SchemaRequest;
499499
}
500500

501501
// @public
@@ -644,6 +644,21 @@ export interface SchemaRequest extends SchemaShared<SchemaRequest> {
644644
type: SchemaType;
645645
}
646646

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+
647662
// @public
648663
export interface SchemaShared<T> {
649664
// (undocumented)
@@ -697,7 +712,7 @@ export class StringSchema extends Schema {
697712
// (undocumented)
698713
enum?: string[];
699714
// @internal (undocumented)
700-
_toRequest(): _SchemaRequest;
715+
toJSON(): _SchemaRequest;
701716
}
702717

703718
// @public

0 commit comments

Comments
 (0)