quicktype
quicktype copied to clipboard
Generate types and converters from JSON, Schema, and GraphQL
## Issue Type ## Context (Environment, Version, Language) Input Format: JSON Schema written in YAML Output Language: typescript-zod CLI, npm, or app.quicktype.io: "npx quicktype" using Node.js v20.12 Version: 23.0.115 ##...
Input Format: JSON Schema Draft 07 Output Language: C# CLI, npm, or app.quicktype.io: app.quicktype.io Version: ## Description when I combine dependecies keyword with oneOf keyword, some field are not generated...
When model for a json having a nullable field is generated, the generated toJson Method doesn't recognise nullable DateTime value and returns an exception Null check operator used on a...
when generating python code, the generated syntax becomes invalid if there are comments (i.e. `"description"` fields in the JSON schema) that start or end with double quotes # Example for...
All of the generated Swift classes should be "final class" for both performance and clarity: https://forums.swift.org/t/how-effective-is-final-for-code-optimization/24934 It's easier to remove "final" if you should need to subclass one of the...
I got a few compilation errors using Elm 0.19, and I'm not sure if this is just me or what Elm and `Json.Decode.Pipeline` package version is currently supported? Would be...
This would involve: - Using ICollections instead of arrays - Creating foreign keys e.g: `[Column("_ID")] public virtual int? Id { get; set; }` - Adding the `[Key] public int ID...
I tried to convert from typescript with TS string enums, not returns enum keys. When enum values are string, returns key correctly. It seems that when enum values passes parseInt(),...
Hi, using this json schema: ``` { "$schema": "http://json-schema.org/draft-04/schema#", "title": "DatabaseSchema", "type": "object", "additionalProperties": false, "properties": { "DataTypes": { "type": [ "array", "null" ], "items": { "$ref": "#/definitions/DataType" } },...
In German (and other languages) there are Umlaute (like ä,ö, &). Some server are sending this symbols using the Unicode backslash notation (like \u00f6 for ö). Currently, quicktype is not...