-
-
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
Add option to specify baseFileDir or cwd #136
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. |
@nilkanth987 are you having the same issue as #35. |
@Souvikns , Sorry for delayed reply. Yes the issue is same BUT I DID PUT THE GENERATOR SCRIPT FILE IN SAME DIRECTORY AS THE HERE IS MY DIRECTORY STRUCTURE
Let me know if you need any clarity |
Need the same feature. |
🎉 This issue has been resolved in version 0.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Reason/Context
Add an option to specify the base file's directory so we can correctly check for relative references of separate files in the specifications.
I created an
asyncapi.yml
in thedocs
folder and in that file I referenced other files with the relative path. And this causes unresolved reference to the file.Description
Here is an example of the
asyncapi.yml
file indocs
directoryHere is the
serves.yml
file indocs
directoryHere is the
app.js
code in root directoryThis is the error that I get
Let me know if I could help
The text was updated successfully, but these errors were encountered: