Skip to content

docs: fix typos in documentation and comments - #1568

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

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

Conversation

@Avicennasis

Copy link
Copy Markdown

Summary

Three one-word grammar/typo fixes. No functional change, no identifier renamed, no formatting touched (nothing here goes through ktlint's rules).

From the original report

  • server/zally-rule-api/src/main/kotlin/org/zalando/zally/rule/api/Context.kt (KDoc on isOpenAPI3()): `true` if the source is a OpenAPI 3 specification -> an OpenAPI. The same file already writes "an OpenAPI" twice, in the KDoc for getJsonPointer, so this is the odd one out.

Additional typos found while checking the above

Not in the original report; same class of error, so I fixed them in the same branch rather than leave them:

  • documentation/usage.md: "you just have to send a HTTP POST request" -> "an HTTP"
  • web-ui/src/server/dev/tests/webpack-dev-server-proxy-handler.test.js: test('pipe the response to the the expected url') -> "to the expected url" (duplicated word in a Jest test name; test names are not asserted on anywhere)

Note on a fourth reported item, deliberately not changed

DefaultContextFactory.kt line 23, log.info("propagate authorization for $propagateAuthorizationUrls"), was also flagged, with a suggestion to make it "propagate authorization URLs for ...". I left it alone: the existing wording is grammatical (authorization is propagated for those URL patterns), and the suggested rewording reads worse. Happy to change it if you would prefer different wording.

Commit is signed off per the Zalando DCO.

Three grammar/typo fixes, no functional change:
- Context.kt KDoc: "a OpenAPI" -> "an OpenAPI" (the same file already
  writes "an OpenAPI" twice further down)
- documentation/usage.md: "a HTTP POST request" -> "an HTTP"
- webpack-dev-server-proxy-handler.test.js: duplicated word in a test name

Signed-off-by: Léon Avic Simmons <Avicennasis@gmail.com>
@Avicennasis
Avicennasis requested a review from tkrop as a code owner September 7, 2026 08:49
@tkrop

tkrop commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

👍

@tkrop tkrop self-assigned this Oct 19, 2026
@tkrop tkrop closed this Oct 19, 2026
@tkrop tkrop reopened this Oct 19, 2026

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants