-
Notifications
You must be signed in to change notification settings - Fork 339
docs: Fix typos, JSON syntax, in documentation sync with the PaymentMandate class #54
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
docs: Fix typos, JSON syntax, in documentation sync with the PaymentMandate class #54
Conversation
- Fix typo: "_not that" → "_note that" in Intent Mandate section - Add missing comma in PaymentMandate JSON example Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
Corrects the numbering sequence in the API key setup section Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Summary of ChangesHello @meetrick, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request focuses on enhancing the accuracy and consistency of the project's documentation. It addresses minor textual errors, corrects a JSON syntax issue in an example, and rectifies an incorrect numbering sequence in the setup guide. These changes are solely confined to documentation files and do not introduce any functional modifications to the application. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
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.
Code Review
This pull request correctly fixes a typo, a list numbering error, and a JSON syntax error in the documentation. The changes are approved.
However, I noticed some significant discrepancies between the JSON examples in docs/specification.md and the corresponding Python data models in src/ap2/types/. For instance, the PaymentMandate example (which this PR modifies) and the CartMandate example do not match their Python class definitions.
I've added a specific comment on the PaymentMandate example. Aligning these examples with the code would greatly improve the documentation's accuracy and usefulness for developers.
As a smaller point, you might also want to correct the numbering in the 'How to Run a Scenario' section in README.md.
- Add clarifying comment for user_authorization field in PaymentMandate examples - Specifies that the field contains JWS compact serialization of verifiable presentation - Improves developer understanding of the authorization format - Applied to both specification.md and a2a-extension.md examples Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
|
Thank you! We'll get back to you shortly |
Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
ac16d89 to
3f8f898
Compare
Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
|
It seems like I’m getting lint code base errors even for the parts I didn’t modify. |
It does not respect VALIDATE_ALL_CODEBASE nor FILTER_REGEX_EXCLUDE so disabling for now. Question: #54 (comment) Will prevent these lint errors: https://github.com/google-agentic-commerce/AP2/actions/runs/18351333407/job/52271829007?pr=54
#87 should fix this |
It does not respect VALIDATE_ALL_CODEBASE nor FILTER_REGEX_EXCLUDE so disabling for now. Question: #54 (comment) Will prevent these lint errors: https://github.com/google-agentic-commerce/AP2/actions/runs/18351333407/job/52271829007?pr=54
Please update branch and have the lint check run again. |
I did! |
Description
Fixes minor documentation issues found during review:
All changes are documentation-only with no functional impact.
Thank you for opening a Pull Request!
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
CONTRIBUTINGGuide.Fixes #<issue_number_goes_here> 🦕