-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[BUG] RELATIVE refs could not be loaded #9991
Comments
I was able to track this bug to this Pull Request. @wing328 do you have a process when an issue with a bumped dependency occurs ? Do you revert back to the latest working version or you provide a fix in the dependency package ? |
Any news on this issue? |
I am hitting this issue. Has a fix been provided? |
It appears the underlying framework has addressed this issue: swagger-api/swagger-parser#1557 Has the lib dependency in this project been updated? |
Correct, checked with openapitools-generator 6.0.0 and it's resolved. |
Bug Report Checklist
Description
After the latest version of the
OpenAPI Generator
was released:5.2.0
, a new bug was introduced regarding relative$refs
: during generation the following error occurs:This behaviour is only seen in the latest released version, previously it was working correctly. I've looked through the
CHANGELOG
document but couldn't find an entry that could have introduced this problem.openapi-generator version
5.2.0
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
OpenAPI Generator
.PowerShell
andPython
) with the providedyaml
using the following command:java openapi-generator-cli-5.2.0.jar generate -g powershell -i "myOpenAPISpec.yaml" --global-property
Related issues/PRs
none
Suggest a fix
Currently no fix suggestion can be provided. I'll try to find the root cause of the issue and then think about what kind of fix can be added.
The text was updated successfully, but these errors were encountered: