Skip to content

docs: fix typos in CLI help text and documentation - #302

Open
Avicennasis wants to merge 1 commit into
Kong:mainfrom
Avicennasis:docs/fix-typos
Open

Avicennasis wants to merge 1 commit into
Kong:mainfrom
Avicennasis:docs/fix-typos

Conversation

@Avicennasis

Copy link
Copy Markdown

Summary

Fixes 6 small typos in CLI help text and command documentation. No functional changes - only cobra help/usage strings and doc prose are touched.

  • cmd/namespace.go: Namespaces API paths by prefixing it -> ...by prefixing them (the subject "API paths" is plural) - in both the Short and Long descriptions.
  • cmd/namespace.go: Eg. 2 API definitions -> E.g. 2 API definitions - every other e.g. in the repo (openapitools/, deckformat/, docs/) is written with both periods.
  • cmd/namespace.go: the path based namespace to apply -> the path-based namespace to apply - matches path-based already used at cmd/namespace.go:100 in the same file.
  • cmd/patch.go: When using '--selector' and '--values' -> '--value' - the registered flag is --value (singular), as the preceding paragraph in the same help text already says.
  • cmd/openapi2mcp.go: generation of entity id's -> generation of entity IDs - plural, not possessive.

No identifiers renamed, no test assertions affected (none of these strings are asserted in tests). Deliberately left alone: the repo's own JSONpath / JSONpointer / JSONobject spellings, which are consistent project-wide and are a maintainer style choice.

@CLAassistant

CLAassistant commented Sep 5, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@harshadixit12
harshadixit12 self-requested a review September 25, 2026 12:39
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.82%. Comparing base (afc605e) to head (03774e9).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #302   +/-   ##
=======================================
  Coverage   58.82%   58.82%           
=======================================
  Files          36       36           
  Lines        3869     3869           
=======================================
  Hits         2276     2276           
  Misses       1380     1380           
  Partials      213      213           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

3 participants