@@ -28,7 +28,7 @@ type AxiosRequestConfig = Parameters<typeof axios.request>[0];
2828 * @param [config] request config
2929 */
3030export async function addPet ( data :Type . AddPetData , config ?:AxiosRequestConfig ) {
31- zAddPetData . parse ( data )
31+ zAddPetData . parse ( data ) ;
3232const resp = await axios < unknown > ( {
3333 method : "POST" ,
3434url : "/pet" ,
@@ -45,7 +45,7 @@ return resp;
4545 * @param [config] request config
4646 */
4747export async function updatePet ( data :Type . UpdatePetData , config ?:AxiosRequestConfig ) {
48- zUpdatePetData . parse ( data )
48+ zUpdatePetData . parse ( data ) ;
4949const resp = await axios < unknown > ( {
5050 method : "PUT" ,
5151url : "/pet" ,
@@ -63,7 +63,7 @@ return resp;
6363 * @returns successful operation
6464 */
6565export async function findPetsByStatus ( status :Type . FindPetsByStatusParams , config ?:AxiosRequestConfig ) {
66- zFindPetsByStatusParams . parse ( status )
66+ zFindPetsByStatusParams . parse ( status ) ;
6767const resp = await axios < Type . FindPetsByStatusResponse > ( {
6868 method : "GET" ,
6969url : "/pet/findByStatus" ,
@@ -83,7 +83,7 @@ return resp;
8383 * @returns successful operation
8484 */
8585export async function findPetsByTags ( tags :Type . FindPetsByTagsParams , config ?:AxiosRequestConfig ) {
86- zFindPetsByTagsParams . parse ( tags )
86+ zFindPetsByTagsParams . parse ( tags ) ;
8787const resp = await axios < Type . FindPetsByTagsResponse > ( {
8888 method : "GET" ,
8989url : "/pet/findByTags" ,
@@ -102,7 +102,7 @@ return resp;
102102 * @returns successful operation
103103 */
104104export async function getPetById ( petId :Type . GetPetByIdPath , config ?:AxiosRequestConfig ) {
105- zGetPetByIdPath . parse ( petId )
105+ zGetPetByIdPath . parse ( petId ) ;
106106const resp = await axios < Type . GetPetByIdResponse > ( {
107107 method : "GET" ,
108108url : `/pet/${ petId } ` ,
@@ -120,8 +120,8 @@ return resp;
120120 * @param [config] request config
121121 */
122122export async function updatePetWithForm ( petId :Type . UpdatePetWithFormPath , data :Type . UpdatePetWithFormData , config ?:AxiosRequestConfig ) {
123- zUpdatePetWithFormPath . parse ( petId )
124- zUpdatePetWithFormData . parse ( data )
123+ zUpdatePetWithFormPath . parse ( petId ) ;
124+ zUpdatePetWithFormData . parse ( data ) ;
125125const resp = await axios < unknown > ( {
126126 method : "POST" ,
127127url : `/pet/${ petId } ` ,
@@ -139,8 +139,8 @@ return resp;
139139 * @param [config] request config
140140 */
141141export async function deletePet ( petId :Type . DeletePetPath , apiKey ?:Type . DeletePetHeaders , config ?:AxiosRequestConfig ) {
142- zDeletePetPath . parse ( petId )
143- ( apiKey !== undefined ) && zDeletePetHeaders . parse ( apiKey )
142+ zDeletePetPath . parse ( petId ) ;
143+ ( apiKey !== undefined ) && zDeletePetHeaders . parse ( apiKey ) ;
144144const resp = await axios < unknown > ( {
145145 method : "DELETE" ,
146146url : `/pet/${ petId } ` ,
@@ -159,8 +159,8 @@ return resp;
159159 * @returns successful operation
160160 */
161161export async function uploadFile ( petId :Type . UploadFilePath , data :Type . UploadFileData , config ?:AxiosRequestConfig ) {
162- zUploadFilePath . parse ( petId )
163- zUploadFileData . parse ( data )
162+ zUploadFilePath . parse ( petId ) ;
163+ zUploadFileData . parse ( data ) ;
164164const resp = await axios < Type . UploadFileResponse > ( {
165165 method : "POST" ,
166166url : `/pet/${ petId } /uploadImage` ,
@@ -195,7 +195,7 @@ return resp;
195195 * @returns successful operation
196196 */
197197export async function placeOrder ( data :Type . PlaceOrderData , config ?:AxiosRequestConfig ) {
198- zPlaceOrderData . parse ( data )
198+ zPlaceOrderData . parse ( data ) ;
199199const resp = await axios < Type . PlaceOrderResponse > ( {
200200 method : "POST" ,
201201url : "/store/order" ,
@@ -214,7 +214,7 @@ return resp;
214214 * @returns successful operation
215215 */
216216export async function getOrderById ( orderId :Type . GetOrderByIdPath , config ?:AxiosRequestConfig ) {
217- zGetOrderByIdPath . parse ( orderId )
217+ zGetOrderByIdPath . parse ( orderId ) ;
218218const resp = await axios < Type . GetOrderByIdResponse > ( {
219219 method : "GET" ,
220220url : `/store/order/${ orderId } ` ,
@@ -231,7 +231,7 @@ return resp;
231231 * @param [config] request config
232232 */
233233export async function deleteOrder ( orderId :Type . DeleteOrderPath , config ?:AxiosRequestConfig ) {
234- zDeleteOrderPath . parse ( orderId )
234+ zDeleteOrderPath . parse ( orderId ) ;
235235const resp = await axios < unknown > ( {
236236 method : "DELETE" ,
237237url : `/store/order/${ orderId } ` ,
@@ -247,7 +247,7 @@ return resp;
247247 * @param [config] request config
248248 */
249249export async function createUser ( data :Type . CreateUserData , config ?:AxiosRequestConfig ) {
250- zCreateUserData . parse ( data )
250+ zCreateUserData . parse ( data ) ;
251251const resp = await axios < unknown > ( {
252252 method : "POST" ,
253253url : "/user" ,
@@ -264,7 +264,7 @@ return resp;
264264 * @param [config] request config
265265 */
266266export async function createUsersWithArrayInput ( data :Type . CreateUsersWithArrayInputData , config ?:AxiosRequestConfig ) {
267- zCreateUsersWithArrayInputData . parse ( data )
267+ zCreateUsersWithArrayInputData . parse ( data ) ;
268268const resp = await axios < unknown > ( {
269269 method : "POST" ,
270270url : "/user/createWithArray" ,
@@ -281,7 +281,7 @@ return resp;
281281 * @param [config] request config
282282 */
283283export async function createUsersWithListInput ( data :Type . CreateUsersWithListInputData , config ?:AxiosRequestConfig ) {
284- zCreateUsersWithListInputData . parse ( data )
284+ zCreateUsersWithListInputData . parse ( data ) ;
285285const resp = await axios < unknown > ( {
286286 method : "POST" ,
287287url : "/user/createWithList" ,
@@ -299,7 +299,7 @@ return resp;
299299 * @returns successful operation
300300 */
301301export async function loginUser ( params :Type . LoginUserParams , config ?:AxiosRequestConfig ) {
302- zLoginUserParams . parse ( params )
302+ zLoginUserParams . parse ( params ) ;
303303const resp = await axios < Type . LoginUserResponse > ( {
304304 method : "GET" ,
305305url : "/user/login" ,
@@ -332,7 +332,7 @@ return resp;
332332 * @returns successful operation
333333 */
334334export async function getUserByName ( username :Type . GetUserByNamePath , config ?:AxiosRequestConfig ) {
335- zGetUserByNamePath . parse ( username )
335+ zGetUserByNamePath . parse ( username ) ;
336336const resp = await axios < Type . GetUserByNameResponse > ( {
337337 method : "GET" ,
338338url : `/user/${ username } ` ,
@@ -349,7 +349,7 @@ return resp;
349349 * @param [config] request config
350350 */
351351export async function deleteUser ( username :Type . DeleteUserPath , config ?:AxiosRequestConfig ) {
352- zDeleteUserPath . parse ( username )
352+ zDeleteUserPath . parse ( username ) ;
353353const resp = await axios < unknown > ( {
354354 method : "DELETE" ,
355355url : `/user/${ username } ` ,
@@ -366,8 +366,8 @@ return resp;
366366 * @param [config] request config
367367 */
368368export async function updateUser ( username :Type . UpdateUserPath , data :Type . UpdateUserData , config ?:AxiosRequestConfig ) {
369- zUpdateUserPath . parse ( username )
370- zUpdateUserData . parse ( data )
369+ zUpdateUserPath . parse ( username ) ;
370+ zUpdateUserData . parse ( data ) ;
371371const resp = await axios < unknown > ( {
372372 method : "PUT" ,
373373url : `/user/${ username } ` ,
0 commit comments