-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
v1.10.6 does not support absolute path in $ref #797
Comments
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. |
duplicate of asyncapi/generator#963 - I have the same problem :/ |
I don't think that's duplicate. asyncapi/generator#963 is about the spec and unsupported place for reference, here is about paths handling. |
As far as I understand, the spec does no longer allow absolute paths in references? See also: |
Looks like, the spec still allow absolute paths in references, but generator (or parser) handles such paths in wrong way, as local paths, I think. |
sorry but I'm unable to replicate your issue. I created a file that you shared and all was good. I also opened a PR to show tests with different local references work asyncapi/generator#1003 on
not sure where you got this message from, but spec is definitely still supporting $ref in |
you're right, sorry, I misunderstood your initial example. yes, I can replicate this problem. It is for sure something that should work, and worked before As a workaround, add |
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. |
This issue has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation. There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
I think the issue is still there |
This issue has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation. There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
Describe the bug
The latest version of the parser does not support referencing by absolute path. It works in version 1.9.18.
How to Reproduce
$ref
and file on this path in same folder.Expected behavior
Done! ✨
Check out your shiny new generated files at ...
Actual behavior
The text was updated successfully, but these errors were encountered: