quicktype
quicktype copied to clipboard
Generate types and converters from JSON, Schema, and GraphQL
I'm attempting to generate C# types for GitHub's webhook schema. There is no official schema, but they have been generated [here](https://github.com/octokit/webhooks/tree/master/payload-schemas), and I am specifically attempting to [use this file](https://unpkg.com/@octokit/[email protected]/schema.json)....
Hello, how do I reuse the same enum in multiple schema files? Currently, if I do that, each of the generated C# files includes shared enums' definitions. Resulting code will...
Starting with version 8.0 [C# supports nullable reference types](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/nullable-reference-types), which quicktype currently doesn't.
example: ```cs namespace QuickType { using System; using System.Collections.Generic; using System.Globalization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; public partial class Something { [JsonProperty("some_property")] public string SomeProperty { get; set; } } public...
**Example is here:** https://app.quicktype.io?share=zQK6hG9FixpX1rk1wypl **Steps to reproduce:** 1. Get JSON from Google Lighthouse tool 2. Validate that Json is valid using https://jsonlint.com/ to make sure that problem is not in...
I'd like it if generating C# classes from json schema the description fields become `///` for the classes and properties.
Hello, Your product is great but I would like an option when generating enums where we can disable Camel case e.g currently enum value is converted from TEST to Test....
Hi all, I searched the open tickets, but didn't find anything for this. If a json response comes in with an empty array, the deserialization throws an exception. I wouldn't...
It would be a great time saver if users could select exactly which attributes they want to apply to the class members. For example: ``` using AM = ServiceStack.ApiMemberAttribute; using...
Hello! I checked "Detect UUID" and "Detect enums" but can't see any difference in generated code. Can somebody please provide minimal example of "JSON" or "Multiple JSON" source type that...