mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-10 19:32:43 +00:00
Fix another batch of spelling typos (#13915)
* Fix typos * Remove repeated words * Minor grammar fixes
This commit is contained in:
@@ -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/*
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user