-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
feat: add /bundle endpoint #70
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
@Samridhi-98 Hi! Do you need some help? I know that PR is on draft stage but I see several problems, so I don't know if you wanna my review now or later :) |
Yeah, I need suggestions actually I made a few changes and haven't pushed yet that's why didn't ask. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Samridhi-98 Awesome, but we need improve some things :) Please refer to my comments. When you propagate my suggestions, please ping me and I will tell you what you should do in next step to validate files/asyncapis
field in proper way. Please don't do that in the main controller, please wait with it :)
@magicmatatjahu I have made the requested changes as per my understanding kindly let me know what should be the next step🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good, but we still need to improve a few things :)
openapi.yaml
Outdated
type: object | ||
required: | ||
- asyncapi | ||
properties: | ||
asyncapi: | ||
$ref: "#/components/schemas/AsyncAPIDocument" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can check this issue asyncapi/bundler#26 :) We should only pass files (asyncapis
or single one file by asyncapi
) and base
object as optional field. asyncapis
and asyncapi
should be required (as union, only one should be sent).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have still problems that we need resolve, but it's getting better. :)
@magicmatatjahu I am not able to figure out how to send data in a base field inside test☹ |
channels: {}, | ||
} | ||
}) | ||
.expect(200); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Samridhi-98 You properly tested it 👏🏼 Please also check response data and everything will be ok.
@magicmatatjahu I am getting this error while checking for the response ☹ |
@Samridhi-98 Sorry for such a delay. We have have there a big problem with circular references in the |
@magicmatatjahu Thank you so much for the help, it's working now 🙂 |
8235f0f
to
54da6bc
Compare
@Samridhi-98 Everything is ok, but I have to push one important commit on master first to make it possible to merge this PR, so please wait. |
No problem 😊 |
8fc6447
to
2ddbc76
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@Samridhi-98 Thanks for contribution and patience! I hope you learned something new :) |
/rtm |
Hello, @magicmatatjahu! 👋🏼 |
🎉 This PR is included in version 0.7.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Thank you so much for your help and guidance, Indeed great learning 😊 |
Description
openapi.yaml
controler
andpackage.json
Related issue(s)
Fixes #55