mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-06 02:16:11 +00:00
Update parser to 2.0.29 (#11388)
* update parser to 2.0.29 * better handling of null in dereferencing * update parser to 2.0.30 * update core to newer version * add new files * rollback to previous stable version * remove files * Fixes for python-experimental NullableShape component Co-authored-by: Justin Black <justin.a.black@gmail.com>
This commit is contained in:
@@ -22,6 +22,7 @@ tags:
|
||||
paths:
|
||||
/pet:
|
||||
post:
|
||||
description: ""
|
||||
operationId: addPet
|
||||
requestBody:
|
||||
$ref: '#/components/requestBodies/Pet'
|
||||
@@ -45,6 +46,7 @@ paths:
|
||||
tags:
|
||||
- pet
|
||||
put:
|
||||
description: ""
|
||||
operationId: updatePet
|
||||
requestBody:
|
||||
$ref: '#/components/requestBodies/Pet'
|
||||
@@ -155,6 +157,7 @@ paths:
|
||||
- pet
|
||||
/pet/{petId}:
|
||||
delete:
|
||||
description: ""
|
||||
operationId: deletePet
|
||||
parameters:
|
||||
- explode: false
|
||||
@@ -216,6 +219,7 @@ paths:
|
||||
tags:
|
||||
- pet
|
||||
post:
|
||||
description: ""
|
||||
operationId: updatePetWithForm
|
||||
parameters:
|
||||
- description: ID of pet that needs to be updated
|
||||
@@ -252,6 +256,7 @@ paths:
|
||||
- pet
|
||||
/pet/{petId}/uploadImage:
|
||||
post:
|
||||
description: ""
|
||||
operationId: uploadFile
|
||||
parameters:
|
||||
- description: ID of pet to update
|
||||
@@ -312,6 +317,7 @@ paths:
|
||||
- store
|
||||
/store/order:
|
||||
post:
|
||||
description: ""
|
||||
operationId: placeOrder
|
||||
requestBody:
|
||||
content:
|
||||
@@ -411,6 +417,7 @@ paths:
|
||||
- user
|
||||
/user/createWithArray:
|
||||
post:
|
||||
description: ""
|
||||
operationId: createUsersWithArrayInput
|
||||
requestBody:
|
||||
$ref: '#/components/requestBodies/UserArray'
|
||||
@@ -424,6 +431,7 @@ paths:
|
||||
- user
|
||||
/user/createWithList:
|
||||
post:
|
||||
description: ""
|
||||
operationId: createUsersWithListInput
|
||||
requestBody:
|
||||
$ref: '#/components/requestBodies/UserArray'
|
||||
@@ -437,6 +445,7 @@ paths:
|
||||
- user
|
||||
/user/login:
|
||||
get:
|
||||
description: ""
|
||||
operationId: loginUser
|
||||
parameters:
|
||||
- description: The user name for login
|
||||
@@ -496,6 +505,7 @@ paths:
|
||||
- user
|
||||
/user/logout:
|
||||
get:
|
||||
description: ""
|
||||
operationId: logoutUser
|
||||
responses:
|
||||
default:
|
||||
@@ -529,6 +539,7 @@ paths:
|
||||
tags:
|
||||
- user
|
||||
get:
|
||||
description: ""
|
||||
operationId: getUserByName
|
||||
parameters:
|
||||
- description: The name that needs to be fetched. Use user1 for testing.
|
||||
|
||||
@@ -39,6 +39,7 @@ async def add_pet(
|
||||
get_token_petstore_auth, scopes=["write:pets", "read:pets"]
|
||||
),
|
||||
) -> Pet:
|
||||
""""""
|
||||
...
|
||||
|
||||
|
||||
@@ -57,6 +58,7 @@ async def delete_pet(
|
||||
get_token_petstore_auth, scopes=["write:pets", "read:pets"]
|
||||
),
|
||||
) -> None:
|
||||
""""""
|
||||
...
|
||||
|
||||
|
||||
@@ -135,6 +137,7 @@ async def update_pet(
|
||||
get_token_petstore_auth, scopes=["write:pets", "read:pets"]
|
||||
),
|
||||
) -> Pet:
|
||||
""""""
|
||||
...
|
||||
|
||||
|
||||
@@ -154,6 +157,7 @@ async def update_pet_with_form(
|
||||
get_token_petstore_auth, scopes=["write:pets", "read:pets"]
|
||||
),
|
||||
) -> None:
|
||||
""""""
|
||||
...
|
||||
|
||||
|
||||
@@ -173,4 +177,5 @@ async def upload_file(
|
||||
get_token_petstore_auth, scopes=["write:pets", "read:pets"]
|
||||
),
|
||||
) -> ApiResponse:
|
||||
""""""
|
||||
...
|
||||
|
||||
@@ -85,4 +85,5 @@ async def get_order_by_id(
|
||||
async def place_order(
|
||||
order: Order = Body(None, description="order placed for purchasing the pet"),
|
||||
) -> Order:
|
||||
""""""
|
||||
...
|
||||
|
||||
@@ -55,6 +55,7 @@ async def create_users_with_array_input(
|
||||
get_token_api_key
|
||||
),
|
||||
) -> None:
|
||||
""""""
|
||||
...
|
||||
|
||||
|
||||
@@ -72,6 +73,7 @@ async def create_users_with_list_input(
|
||||
get_token_api_key
|
||||
),
|
||||
) -> None:
|
||||
""""""
|
||||
...
|
||||
|
||||
|
||||
@@ -107,6 +109,7 @@ async def delete_user(
|
||||
async def get_user_by_name(
|
||||
username: str = Path(None, description="The name that needs to be fetched. Use user1 for testing."),
|
||||
) -> User:
|
||||
""""""
|
||||
...
|
||||
|
||||
|
||||
@@ -123,6 +126,7 @@ async def login_user(
|
||||
username: str = Query(None, description="The user name for login", regex=r"^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$"),
|
||||
password: str = Query(None, description="The password for login in clear text"),
|
||||
) -> str:
|
||||
""""""
|
||||
...
|
||||
|
||||
|
||||
@@ -139,6 +143,7 @@ async def logout_user(
|
||||
get_token_api_key
|
||||
),
|
||||
) -> None:
|
||||
""""""
|
||||
...
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user