Repository navigation
docs: fix typos in documentation and comments - #1568
Open
Avicennasis wants to merge 1 commit into
Open
Avicennasis wants to merge 1 commit into
Avicennasis wants to merge 1 commit into
Conversation
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>
Collaborator
|
👍 |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
isOpenAPI3()):`true` if the source is a OpenAPI 3 specification->an OpenAPI. The same file already writes "an OpenAPI" twice, in the KDoc forgetJsonPointer, 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:
POSTrequest" -> "an HTTP"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.ktline 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.