quicktype icon indicating copy to clipboard operation
quicktype copied to clipboard

[BUG]: Unable to handle `string|integer` in JSON schema.

Open ShikiSuen opened this issue 1 year ago • 0 comments

Unable to handle string|integer in JSON schema.

Issue Type

This is an issue with input parsing.

Context (Environment, Version, Language)

Input Format: JSON Schema Output Language: Swift

CLI, npm, or app.quicktype.io: Version: app.quicktype.io

Description

Seems that QuickType for now is unable to handle string|integer in JSON schema.

Input Data

UIGFv4-Schema.json

Expected Behaviour / Output

Generates a Swift file with correctly parsed results.

Current Behaviour / Output

image

Steps to Reproduce

quicktype -s schema UIGFv4-Schema.json -o UIGFv4.swift

Possible Solution

IDK.

ShikiSuen avatar Jul 10 '24 09:07 ShikiSuen