Skip to content
This repository was archived by the owner on Apr 13, 2024. It is now read-only.
This repository was 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

Description

@anobleperson

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions