Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ShikiSuen opened this issue Jul 10, 2024 · 0 comments
Open

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

ShikiSuen opened this issue Jul 10, 2024 · 0 comments
Labels

Comments

@ShikiSuen
Copy link

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 ShikiSuen added the bug label Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant