googleapis / googleapis/nodejs-agentplatform

Incorrect json schema type

Open
#509 0 comments 1 reaction 0 assignees View on GitHub
api: aiplatform priority: p2 type: bug
Dominant language
TypeScript
Stars
182
Forks
69
Avg merge
1d 8h
Merged PRs (30d)
10

Description

Why is the `SchemaType` using all caps instead of the normal json schema types?

```typescript
export declare enum SchemaType {
/** String type. */
STRING = "STRING", // --> should be "string"
/** Number type. */
NUMBER = "NUMBER", // --> should be "number"
/** Integer type. */
INTEGER = "INTEGER", // --> should be "integer"
/** Boolean type. */
BOOLEAN = "BOOLEAN", // --> should be "boolean"
/** Array type. */
ARRAY = "ARRAY", // --> should be "array"
/** Object type. */
OBJECT = "OBJECT" // --> should be "object"
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.