quicktype
quicktype copied to clipboard
Generate types and converters from JSON, Schema, and GraphQL
Would be nice to have this added. ref: https://isar.dev
 currently generated type is inconsistent as it uses both `[]` and `Array`. it'd be good to be consistent with either by providing an option. ```ts export type Comestible =...
Given the following json-schema: ```json { "$id": "https://json-schema.hyperjump.io/schema", "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "array", "items": { "oneOf": [ {"type": "object", "additionalProperties": false, "properties": { "aa": { "type": "string" }, "bb": { "type":...
Hey, I get the error `Value of type string is not valid JSON Schema at ...` when generating TypeScript from the following JSON Schema. ## JSON Schema file ```json {...
When executing `npx quicktype --lang ts --just-types -t Foobar --src schema.json`, the top-level output looks like this: `export interface FOOBAR {...}` (This happens without the --just-types, but is easier to...
If you run the C# renderer with `--features just-types --array-type list` then it creates `List` properties, but doesn't add the required `using System.Collections.Generic;`. It also happens without the `--array-type list`...
Similar to https://github.com/glideapps/quicktype/issues/2385, generated code can still override the built-in `Option` type when an array field is named `options` in the JSON data (I'm assuming since it makes the word...
We need to add a feature to append a suffix to class names, as model classes in most projects end with "model" or "entity". Currently, the generated classes do not...
```sh PS C:\Code\panso.se> quicktype .\webhallen-json\ -o webhallen_types.go (node:21544) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning...
Hello, I have a folder containing many types, each one in its folder, like in the "Multiple JSON" example here https://app.quicktype.io/ The JSON Schema generated has only "definitions" but no...