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

@@ -38,7 +38,7 @@ pytest
## Prevent file overriding
After first generation, add edited files to _.openapi-generator-ignore_ to prevent generator to overwrite them. Typically:
After first generation, add edited files to _.openapi-generator-ignore_ to prevent generator from overwriting them. Typically:
```
server/controllers/*
test/*

View File

@@ -30,7 +30,7 @@ async def get_inventory(request: web.Request, ) -> web.Response:
async def get_order_by_id(request: web.Request, order_id) -> web.Response:
"""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
:param order_id: ID of pet that needs to be fetched
:type order_id: int

View File

@@ -359,7 +359,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

View File

@@ -9,7 +9,7 @@ from openapi_server.models.api_response import ApiResponse
from openapi_server.models.pet import Pet
@pytest.mark.skip("Connexion does not support multiple consummes. See https://github.com/zalando/connexion/pull/760")
@pytest.mark.skip("Connexion does not support multiple consumes. See https://github.com/zalando/connexion/pull/760")
async def test_add_pet(client):
"""Test case for add_pet
@@ -117,7 +117,7 @@ async def test_get_pet_by_id(client):
assert response.status == 200, 'Response body is : ' + (await response.read()).decode('utf-8')
@pytest.mark.skip("Connexion does not support multiple consummes. See https://github.com/zalando/connexion/pull/760")
@pytest.mark.skip("Connexion does not support multiple consumes. See https://github.com/zalando/connexion/pull/760")
async def test_update_pet(client):
"""Test case for update_pet