Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

Generate code from JSON Schema in VSCode fails for referenced files #59

Open
anobleperson opened this issue Aug 23, 2023 · 0 comments
Open

Comments

@anobleperson
Copy link

When generating code from JSON Schema (VsCode option "Open QuickType for Json Schema") the code fails to appear when there are types that reference another file. For example the following causes the code generation to fail:

...
                "myTypes": {
                    "type": "array",
                    "items": {
                        "$ref": "../../../common/enums/MyEnum.schema"
                    }
                }
...

There is no failure notification, it just fails to show the generated code.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant