googleapis / googleapis/nodejs-agentplatform
Incorrect json schema type
- Lingua principale
- TypeScript
- Stelle
- 182
- Fork
- 69
- Merge medio
- 1g 8h
- PR unite (30g)
- 10
Descrizione
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"
}
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
The issue identifies the exported SchemaType declaration and shows each incorrect enum value. Trace the source that defines or generates this declaration and check any existing tests for SchemaType. Done means the enum values match the lowercase JSON Schema types without breaking the package's public API.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript
- Ambito
- api
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100