-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Cannot bundle documents with different base paths #35
Comments
the Also according to #26 we won't parse or validate the document. |
With the current setup, yes that is required 🙂
That would definitely fix this issue yes 🙂 |
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 ❤️ |
Still relevant |
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 ❤️ |
When auditing open issues, Bundler of version v0.3.7 was found to successfully dereference
Closing the issue. |
This issue is not solved, still have the same problem, where there is no way to set the base URL for where references should be resolved. The current bundle logic still looks for local references in the directory you execute the script from. Without a basedir option this issue will never be solved. Do reopen the issue, or I will just post another 🙂 |
Facing the same issue when trying to use the bundler as part of a pipeline. Passing the basePath as an argument for referenced relative paths would address the issue. For now we are doing a workaround by using the |
Added a solution with #148 |
Describe the bug
I have the current folder setup:
And standing inside the
bundler
dir executingbundlerScript.js
it is unable to locate the references for example messages as./components/messages/myMessage.json
thatasyncapi.json
uses.Expected behavior
Expected the setup to work.
I dont quite understand why there is a custom dereference in place before parsing the documents? Otherwise, I could utilize the following custom parser. Although a bit of a hack as there is no real docs what is expected from
parser
option.The text was updated successfully, but these errors were encountered: