-
-
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 help endpoint. #311
feat: add help endpoint. #311
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.
Looking good @princerajpoot20 , it's a great start 👍
We need some unit tests later too, but for now I've left some feedback to consider.
Also the CI checks are failing, can you look into those later @princerajpoot20 ? |
Co-authored-by: David Pereira <[email protected]>
Sure, I will take a look at the CI checks @BOLT04 |
…is pointing to mail cli commands
Changes
When only help endpoint is called.
|
I'll separate my feedback in sections 🙂. API response for
|
Hello, @BOLT04! 👋🏼
|
@BOLT04 Could you explain this more in detail. |
@princerajpoot20 sure, my feedback is on the API's response. We want to provide details about how you'd call these endpoints. For example the {
"template": [
"@asyncapi/html-template",
"@asyncapi/nodejs-template",
...
]
} If you're having doubts about how to implement this, ping me on slack 👍 |
Hello, @princerajpoot20! 👋🏼
|
@BOLT04
Updating the Axios version breaks Jest tests. I found this issue here in axios repo. I discovered that adding the configuration to jest.config.js works fine. Here are responses of command. Could you please take a look and provide your feedback whenever you get a moment 🙂 |
…pCommandResponse, add 404 response, removed error 422
f137fdb
to
ed228cd
Compare
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.
everything looks fine, just one comment regarding the function getting commands 🙂
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.
Looks great, awesome job @princerajpoot20 🙂
@magicmatatjahu pinging you in case you want to give some feedback on this PR 👍 |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@princerajpoot20 great job 👍 |
🎉 This PR is included in version 0.13.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
@BOLT04 Thank you for all the help and guidance you provided 🙇🏻♂️. I truly appreciate how you took the time to discuss ideas and give me useful feedback. Because of you, I've learned and grown a lot in the process. 🙂 |
Resloves #144
Description
Adding an endpoint,
help/{command}
, to return instructions for a given command to the user. For example,help/generate
should return available parameters, such as availabletemplates
, etc.To Do
closes #144