-
-
Notifications
You must be signed in to change notification settings - Fork 544
Cannot read properties of undefined (reading 'schema') #975
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
Comments
This sounds like a bug but I’m not able to reproduce it without the schema. Could you provide either the schema or a small example reproducing the bug? |
I have the same issue. v5.4.1 works. But v6.0.1 causes this error. Can't share the schema public unfortunately, just wanted to add it another data point where it's happened and I'll try and get an example schema I can share
|
I have this issue as well. I'm compiling the GitHub Next schema |
@wolfy1339 thank you! I will add Octokit to the test suite. We were testing the GitHub REST API but not Octokit. Will get this fixed later today. |
Fixed a known occurrence of this issue in the Octokit schema. If this occurs for anyone again, please share a reproducible example and we can get it fixed! 🙏 |
Sorry, ignore this post. The problem was the missing file extension in the url. Nice, that this got fixed so fast. But sadly I get the same error with this schema: https://rmi-services.tecalliance.net/swagger/docs/4_2_22290_1241
Edit: Could the cause be that the url has no file extension? OK, yes that was it. Sorry for the noise. |
Description
A brief description of the bug.
Windows 10.
Reproduction
npx openapi-typescript {LINK} --output {PATH}
Expected result
(in case it’s not obvious)
Checklist
The text was updated successfully, but these errors were encountered: