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

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

Open
vinayak-kukreja opened this issue Sep 25, 2023 · 0 comments
Open
Labels

Comments

@vinayak-kukreja
Copy link
Contributor

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,

@mrgrain mrgrain added the p2 label Jun 17, 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

2 participants