Skip to content

Commit df44d4d

Browse files
committed
fix anyof casing
1 parent 9272d71 commit df44d4d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs-devsite/ai.schemarequest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export interface SchemaRequest extends SchemaShared<SchemaRequest>
2424
| Property | Type | Description |
2525
| --- | --- | --- |
2626
| [required](./ai.schemarequest.md#schemarequestrequired) | string\[\] | Optional. Array of required property. |
27-
| [type](./ai.schemarequest.md#schemarequesttype) | [SchemaType](./ai.md#schematype) | The type of the property. this can only be undefined when using <code>anyof</code> schemas, which do not have an explicit type in the . |
27+
| [type](./ai.schemarequest.md#schemarequesttype) | [SchemaType](./ai.md#schematype) | The type of the property. this can only be undefined when using <code>anyOf</code> schemas, which do not have an explicit type in the . |
2828
2929
## SchemaRequest.required
3030
@@ -38,7 +38,7 @@ required?: string[];
3838
3939
## SchemaRequest.type
4040
41-
The type of the property. this can only be undefined when using `anyof` schemas, which do not have an explicit type in the .
41+
The type of the property. this can only be undefined when using `anyOf` schemas, which do not have an explicit type in the .
4242
4343
<b>Signature:</b>
4444

packages/ai/src/types/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export interface SchemaParams extends SchemaShared<SchemaInterface> {}
9999
*/
100100
export interface SchemaRequest extends SchemaShared<SchemaRequest> {
101101
/**
102-
* The type of the property. this can only be undefined when using `anyof` schemas,
102+
* The type of the property. this can only be undefined when using `anyOf` schemas,
103103
* which do not have an explicit type in the {@link OpenAPI specification | https://swagger.io/docs/specification/v3_0/data-models/data-types/#any-type}.
104104
*/
105105
type?: SchemaType;

0 commit comments

Comments
 (0)