quicktype
quicktype copied to clipboard
Generate types and converters from JSON, Schema, and GraphQL
Would close #2432. Adds several options & revisits how validation works. Also, it adds a "PHP Version" option to target a specific version of PHP, turning off features that were...
These commands all generate different results ``` quicktype --src ./src/*.ts --lang java --out ./dist quicktype --src ./src/*.ts --lang java --out ./dist/* quicktype --src ./src/*.ts --lang java --out ./dist/library quicktype --src...
OpenWeathermap provides an api whose certain attributes have an underscore "_", by checking the @freezed annoatin box in quickType the attribute is transformed into Camel case which causes an error...
my schema: { $schema: "http://json-schema.org/draft-07/schema#" "type": "boolean" } but it doesnt return a type
Hey! Awesome project you have, I love it, used for typescript and c#, however I would like to have the feature to toggle if it should generate enums or just...
I have a directory with multiple schemas, some of them $ref others: ``` schemas/ draft.json new-draft.json enums/ some-enum.json ``` Both `draft` and `new-draft` reference the `enums/some-enum.json`. Is there a way...
The quicktype documentation seems to indicate that it is an appropriate tool for generating code for commercial purposes, and I recall seeing somewhere that generated code is not considered derivative...
allOf works fine, though.
Using quicktype in combination with JSON Schema and typescript leads to the following issue: _anyOf_ does not convert to a union type in some cases. E.g. ``` { "$ref": "#/definitions/TestObject",...
I have two JSON schema files, where the type names are different, but the enumerators are matching. ``` { "title":"firstEnumeration","enum": ["a","b","c"],"type": "string"} ``` ``` { "title":"secondEnumeration","enum": ["a","b","c"],"type": "string"} ``` When...