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" "gitlab.com"
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
git_user_id=$1
git_repo_id=$2

View File

@@ -32,7 +32,7 @@ def get_inventory(): # noqa: E501
def get_order_by_id(order_id): # noqa: E501
"""Find purchase order by ID
For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions # noqa: E501
For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions # noqa: E501
:param order_id: ID of pet that needs to be fetched
:type order_id: int

View File

@@ -367,7 +367,7 @@ paths:
x-openapi-router-controller: openapi_server.controllers.store_controller
get:
description: For valid response try integer IDs with value <= 5 or > 10. Other
values will generated exceptions
values will generate exceptions
operationId: get_order_by_id
parameters:
- description: ID of pet that needs to be fetched
@@ -495,7 +495,7 @@ paths:
type: integer
style: simple
X-Expires-After:
description: date in UTC when toekn expires
description: date in UTC when token expires
explode: false
schema:
format: date-time

View File

@@ -17,7 +17,7 @@ from openapi_server.test import BaseTestCase
class TestPetController(BaseTestCase):
"""PetController integration test stubs"""
@unittest.skip("Connexion does not support multiple consummes. See https://github.com/zalando/connexion/pull/760")
@unittest.skip("Connexion does not support multiple consumes. See https://github.com/zalando/connexion/pull/760")
def test_add_pet(self):
"""Test case for add_pet
@@ -121,7 +121,7 @@ class TestPetController(BaseTestCase):
self.assert200(response,
'Response body is : ' + response.data.decode('utf-8'))
@unittest.skip("Connexion does not support multiple consummes. See https://github.com/zalando/connexion/pull/760")
@unittest.skip("Connexion does not support multiple consumes. See https://github.com/zalando/connexion/pull/760")
def test_update_pet(self):
"""Test case for update_pet