Skip to content

Code generation fails if ref does not start with #/definitions/ #1195

@vinayak-kukreja

Description

@vinayak-kukreja

Currently code generation for some schemas is failing due to ref not starting with #/definitions/. Here is where the error is being thrown: https://github.com/cdklabs/json2jsii/blob/main/src/type-generator.ts#L514-L518

Here are some examples of schemas that are failing with this,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions