quicktype
quicktype copied to clipboard
Generate types and converters from JSON, Schema, and GraphQL
example: export class UserDTO { @IsString() username: string; @IsString() password: string; }
I am converting Json Schema to Typescript. I want parsing not to fail if unknown properties are encountered, so I am using the `additionalProperties` key in my schema. This works...
The idea behind the enums is creative and useful. but with dart you don't need to declare `EnumValues` class. Dart language already has support for most enum ops needed. I've...
Currently quicktype generates converter function in the following form: ```ts public static toMyClass(json: string): MyClass { return cast(JSON.parse(json), r("MyClass")); } ``` If I already have a JSON object from somewhere...
How do generate an integer when Typescript is the source, given that it only supports `number` which automatically becomes a `Double` in the target languages?
I have noticed that your repository is awesome and very helpful to others. As you know Flutter has published with null safety. But this repository does not support this feature....
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.6 to 1.19.11. Release notes Sourced from urijs's releases. 1.19.11 (April 3rd 2022) SECURITY fixing URI.parse() handle excessive slashes in scheme-relative URLs - disclosed by zeyu2001 via...
This PR fixes python code generation for nullable types, if more than one type is not null. closes #1562
# Whats inside **Removed "@" notation for required fields in dart** `@required` is just an annotation that allows analysers let you know that you're missing a named parameter and that's...