Fix another batch of spelling typos (#13915)

* Fix typos

* Remove repeated words

* Minor grammar fixes
This commit is contained in:
Nathan Baulch
2022-11-08 00:30:24 +11:00
committed by GitHub
parent 3dc8403e10
commit 9f1fa0e440
1449 changed files with 2576 additions and 2581 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update"
git_user_id=$1
git_repo_id=$2

View File

@@ -61,7 +61,7 @@
(defn-spec get-order-by-id-with-http-info any?
"Find purchase order by ID
For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions"
For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions"
[orderId string?]
(check-required-params orderId)
(call-api "/store/order/{orderId}" :get
@@ -75,7 +75,7 @@
(defn-spec get-order-by-id order-spec
"Find purchase order by ID
For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions"
For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions"
[orderId string?]
(let [res (:data (get-order-by-id-with-http-info orderId))]
(if (:decode-models *api-context*)

View File

@@ -105,7 +105,7 @@
:else (str param)))
(defn auth->opts
"Process the given auth to an option map that might conatin request options and parameters."
"Process the given auth to an option map that might contain request options and parameters."
[{:keys [type in param-name]} value]
(case type
:basic {:req-opts {:basic-auth value}}
@@ -126,7 +126,7 @@
opts))
(defn auths->opts
"Process the given auth names to an option map that might conatin request options and parameters."
"Process the given auth names to an option map that might contain request options and parameters."
[auth-names]
(reduce process-auth {} auth-names))
@@ -142,7 +142,7 @@
(str (:base-url *api-context*) path)))
(defn normalize-array-param
"Normalize array paramater according to :collection-format specified in the parameter's meta data.
"Normalize array parameter according to :collection-format specified in the parameter's meta data.
When the parameter contains File, a seq is returned so as to keep File parameters.
For :multi collection format, a seq is returned which will be handled properly by clj-http.
For other cases, a string is returned."