quicktype
quicktype copied to clipboard
Generate types and converters from JSON, Schema, and GraphQL
Why don't we set the minimal version to 16 as it is still supported? I would like to use quicktype in a environment stuck with nodejs16 but I can't because...
For example the dropdown allows at highest to select C# version `6` - latest is `11` (`12` being in preview) One thing I keep running into is the template used...
Hi, I am getting the following compile error when optional properties are used alongside wstring (C++17) #### Error ```c++ 'return': cannot convert from 'fromType' to 'std::optional' ``` #### Schema (from...
Hi, the slack link doesn't work.
With ``` src ├── source.json └── source2.json ``` I generated schemas with 2 approaches: * `npx quicktype src -l schema -o schema-src.json` * `npx quicktype ./src/source.json ./src/source2.json -l schema -o...
When using a JSON schema to generate output for Go, the `omitempty` tag is not applied to embedded objects that are not required by the schema. This results in the...
I am trying to generate C# code for a schema with conditional subschemas, that I'm expressing with `allOf` and `if`, but I cannot find those conditional subschemas in the output...
```json { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "string": { "type": "string" } }, "unevaluatedProperties": false } ``` results in ```typescript export interface Object { string?: string; [property: string]: any;...
Can someone help please: I am using quicktype to generate typescript types from json schema. It appears that `allOf` is not recognised. For example, output of below creates an interface...
* [x] Swift * [ ] Go * [ ] JavaScript/TypeScript/Flow * [ ] C++ * [ ] Rust * [ ] Java * [ ] Elm * [ ]...