Skip to content

Fix typo develop api guides#11264

Open
Arshvinth wants to merge 3 commits intowso2:masterfrom
Arshvinth:fix-typo-develop-api-guides
Open

Fix typo develop api guides#11264
Arshvinth wants to merge 3 commits intowso2:masterfrom
Arshvinth:fix-typo-develop-api-guides

Conversation

@Arshvinth
Copy link
Copy Markdown

Purpose

Fix minor grammar/clarity issues in the Kubernetes Gateway integration documentation.
Resolves: N/A

Goals

Improve readability with a minimal, non-functional documentation change so readers follow the instructions without confusion.

Approach

Edit a single documentation file to correct two small grammar issues (both are one-word fixes). Change is text-only and safe for review/merge.

User stories

As a reader, I want the docs to read clearly so I can follow setup steps without ambiguity.

Release note

Documentation: Fixed minor grammar in Kubernetes Gateway integration guide.

Documentation

Updated file: en/docs/install-and-setup/setup/distributed-deployment/configuring-apim-as-a-gateway.md

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

N/A

Marketing

N/A

Security checks

Followed secure coding standards: N/A (documentation-only change)
Ran FindSecurityBugs plugin and verified report: N/A
Confirmed no keys, passwords, tokens, usernames, or other secrets committed: yes

Samples

N/A

Related PRs

N/A

Migrations (if applicable)

N/A

Test environment

N/A (text-only change)

Learning

Minor grammar fixes only — no technical impact or regression risk.

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 28, 2026

📝 Walkthrough

Summary

Minor grammar and phrasing corrections in two documentation files:

  1. Role-Based Access Control Documentation (en/docs/administer/role-based-access-control.md)

    • Updated example text in Step 3 (scope assignment) for improved clarity
  2. Gateway Configuration Documentation (en/docs/install-and-setup/setup/distributed-deployment/configuring-apim-as-a-gateway.md)

    • Added article "the" to phrase "use the same WSO2 API Control Plane" for grammatical consistency
    • Minor formatting adjustments to the "Next Steps" section

Impact: Text-only documentation improvements with no functional or configuration changes. Both modifications enhance readability and clarity for documentation users.

Effort: Low - minimal changes affecting only 3 lines total across two documentation files.

Walkthrough

This pull request contains two minor documentation updates to WSO2 API Manager guides. The first change revises a sentence in the role-based access control documentation describing scope strings for Key Managers settings access. The second change corrects phrasing in the distributed deployment guide by adding the article "the" for grammatical consistency. Both modifications are textual refinements with no impact on functionality, configuration, or instructional content.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'Fix typo develop api guides' is vague and generic, using unclear phrasing that does not clearly convey the specific changes made. Revise the title to be more specific and clear, such as 'Fix grammar issues in Kubernetes Gateway documentation' to accurately reflect the documented changes.
✅ Passed checks (4 passed)
Check name Status Explanation
Description check ✅ Passed The pull request description covers most required template sections including Purpose, Goals, Approach, User stories, Release note, and Documentation, with appropriate N/A entries for non-applicable sections.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
en/docs/administer/role-based-access-control.md (1)

24-24: Consider minor grammar and style improvements.

The instructional text has a few areas that could be refined:

  1. Capitalization: "If" should be lowercase since it follows a comma in "For example, If..."
  2. Gender-neutral language: Replace "he can assign" with "they can assign" for inclusive documentation.
  3. Consistency: Consider capitalizing "Key Managers settings" to match the table entry on line 37.
📝 Suggested refinements
-4. In the `Select Permissions` menu, select the `Custom scope assignments` option. And select the scopes that you want to assign for the newly created role. You can refer to the following table when assigning the scopes. For example, If the admin wants the newly created user to access the key managers settings in the admin portal he can assign `apim:keymanagers_manage`, `apim:tenantInfo`, and `apim:admin_settings`.
+4. In the `Select Permissions` menu, select the `Custom scope assignments` option. And select the scopes that you want to assign for the newly created role. You can refer to the following table when assigning the scopes. For example, if the admin wants the newly created user to access the Key Managers settings in the admin portal they can assign `apim:keymanagers_manage`, `apim:tenantInfo`, and `apim:admin_settings`.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@en/docs/administer/role-based-access-control.md` at line 24, The sentence in
the "Select Permissions" step needs minor grammar and style fixes: change "If"
to lowercase "if", replace the gendered "he can assign" with gender-neutral
"they can assign", and optionally capitalize "Key Managers settings" to "Key
Managers settings" for consistency with the table; update the example line that
lists the scopes (`apim:keymanagers_manage`, `apim:tenantInfo`,
`apim:admin_settings`) accordingly so it reads, for example, "for example, if
the admin wants the newly created user to access the Key Managers settings in
the admin portal, they can assign `apim:keymanagers_manage`, `apim:tenantInfo`,
and `apim:admin_settings`."
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@en/docs/install-and-setup/setup/distributed-deployment/configuring-apim-as-a-gateway.md`:
- Line 35: Change the phrasing "with regards to" in the sentence referencing the
Quick Start Guide to the grammatically correct "with regard to" (singular) or
reword the sentence for clarity (e.g., "Refer to the Quick Start Guide for
trying out API Control Plane with Kubernetes Gateway using APIM-APK Agent").
Locate the sentence containing "with regards to trying out API Control Plane
with Kubernetes Gateway using APIM-APK Agent" and replace it with the corrected
wording.

---

Nitpick comments:
In `@en/docs/administer/role-based-access-control.md`:
- Line 24: The sentence in the "Select Permissions" step needs minor grammar and
style fixes: change "If" to lowercase "if", replace the gendered "he can assign"
with gender-neutral "they can assign", and optionally capitalize "Key Managers
settings" to "Key Managers settings" for consistency with the table; update the
example line that lists the scopes (`apim:keymanagers_manage`,
`apim:tenantInfo`, `apim:admin_settings`) accordingly so it reads, for example,
"for example, if the admin wants the newly created user to access the Key
Managers settings in the admin portal, they can assign
`apim:keymanagers_manage`, `apim:tenantInfo`, and `apim:admin_settings`."
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 2846f163-2d91-437d-9428-768e0a1a750b

📥 Commits

Reviewing files that changed from the base of the PR and between 3873dc0 and 281315e.

📒 Files selected for processing (2)
  • en/docs/administer/role-based-access-control.md
  • en/docs/install-and-setup/setup/distributed-deployment/configuring-apim-as-a-gateway.md

## Next Steps

You can refer the [Quick Start Guide](https://apk.docs.wso2.com/en/latest/get-started/quick-start-guide-with-cp/) with regards to trying out API Control Plane with Kubernetes Gateway using APIM-APK Agent.
You can refer to the [Quick Start Guide](https://apk.docs.wso2.com/en/latest/get-started/quick-start-guide-with-cp/) with regards to trying out API Control Plane with Kubernetes Gateway using APIM-APK Agent.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix grammar in “with regards to”.

Line 35 should use “with regard to” (singular) or be simplified for readability.

Suggested edit
-You can refer to the [Quick Start Guide](https://apk.docs.wso2.com/en/latest/get-started/quick-start-guide-with-cp/) with regards to trying out API Control Plane with Kubernetes Gateway using APIM-APK Agent.
+You can refer to the [Quick Start Guide](https://apk.docs.wso2.com/en/latest/get-started/quick-start-guide-with-cp/) to try out the API Control Plane with Kubernetes Gateway using APIM-APK Agent.

As per coding guidelines: "Provide concise, actionable feedback focused on correctness and best practices. Avoid unnecessary detail or speculation."

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
You can refer to the [Quick Start Guide](https://apk.docs.wso2.com/en/latest/get-started/quick-start-guide-with-cp/) with regards to trying out API Control Plane with Kubernetes Gateway using APIM-APK Agent.
You can refer to the [Quick Start Guide](https://apk.docs.wso2.com/en/latest/get-started/quick-start-guide-with-cp/) to try out the API Control Plane with Kubernetes Gateway using APIM-APK Agent.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@en/docs/install-and-setup/setup/distributed-deployment/configuring-apim-as-a-gateway.md`
at line 35, Change the phrasing "with regards to" in the sentence referencing
the Quick Start Guide to the grammatically correct "with regard to" (singular)
or reword the sentence for clarity (e.g., "Refer to the Quick Start Guide for
trying out API Control Plane with Kubernetes Gateway using APIM-APK Agent").
Locate the sentence containing "with regards to trying out API Control Plane
with Kubernetes Gateway using APIM-APK Agent" and replace it with the corrected
wording.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants