Skip to content

Commit d4cc311

Browse files
committed
Update snapshots
1 parent b018371 commit d4cc311

File tree

1 file changed

+64
-32
lines changed

1 file changed

+64
-32
lines changed

test/__snapshots__/cli.test.ts.snap

Lines changed: 64 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,14 @@ export type AddPetApiArg = {
135135
/** Create a new pet in the store */
136136
pet: Pet;
137137
};
138-
export type FindPetsByStatusApiResponse = /** status 200 successful operation */ Pet[];
138+
export type FindPetsByStatusApiResponse =
139+
/** status 200 successful operation */ Pet[];
139140
export type FindPetsByStatusApiArg = {
140141
/** Status values that need to be considered for filter */
141142
status?: "available" | "pending" | "sold";
142143
};
143-
export type FindPetsByTagsApiResponse = /** status 200 successful operation */ Pet[];
144+
export type FindPetsByTagsApiResponse =
145+
/** status 200 successful operation */ Pet[];
144146
export type FindPetsByTagsApiArg = {
145147
/** Tags to filter by */
146148
tags?: string[];
@@ -165,7 +167,8 @@ export type DeletePetApiArg = {
165167
/** Pet id to delete */
166168
petId: number;
167169
};
168-
export type UploadFileApiResponse = /** status 200 successful operation */ ApiResponse;
170+
export type UploadFileApiResponse =
171+
/** status 200 successful operation */ ApiResponse;
169172
export type UploadFileApiArg = {
170173
/** ID of pet to update */
171174
petId: number;
@@ -177,11 +180,13 @@ export type GetInventoryApiResponse = /** status 200 successful operation */ {
177180
[key: string]: number;
178181
};
179182
export type GetInventoryApiArg = void;
180-
export type PlaceOrderApiResponse = /** status 200 successful operation */ Order;
183+
export type PlaceOrderApiResponse =
184+
/** status 200 successful operation */ Order;
181185
export type PlaceOrderApiArg = {
182186
order: Order;
183187
};
184-
export type GetOrderByIdApiResponse = /** status 200 successful operation */ Order;
188+
export type GetOrderByIdApiResponse =
189+
/** status 200 successful operation */ Order;
185190
export type GetOrderByIdApiArg = {
186191
/** ID of order that needs to be fetched */
187192
orderId: number;
@@ -196,11 +201,13 @@ export type CreateUserApiArg = {
196201
/** Created user object */
197202
user: User;
198203
};
199-
export type CreateUsersWithListInputApiResponse = /** status 200 Successful operation */ User;
204+
export type CreateUsersWithListInputApiResponse =
205+
/** status 200 Successful operation */ User;
200206
export type CreateUsersWithListInputApiArg = {
201207
body: User[];
202208
};
203-
export type LoginUserApiResponse = /** status 200 successful operation */ string;
209+
export type LoginUserApiResponse =
210+
/** status 200 successful operation */ string;
204211
export type LoginUserApiArg = {
205212
/** The user name for login */
206213
username?: string;
@@ -209,7 +216,8 @@ export type LoginUserApiArg = {
209216
};
210217
export type LogoutUserApiResponse = unknown;
211218
export type LogoutUserApiArg = void;
212-
export type GetUserByNameApiResponse = /** status 200 successful operation */ User;
219+
export type GetUserByNameApiResponse =
220+
/** status 200 successful operation */ User;
213221
export type GetUserByNameApiArg = {
214222
/** The name that needs to be fetched. Use user1 for testing. */
215223
username: string;
@@ -642,12 +650,14 @@ export type AddPetApiArg = {
642650
/** Create a new pet in the store */
643651
pet: Pet;
644652
};
645-
export type FindPetsByStatusApiResponse = /** status 200 successful operation */ Pet[];
653+
export type FindPetsByStatusApiResponse =
654+
/** status 200 successful operation */ Pet[];
646655
export type FindPetsByStatusApiArg = {
647656
/** Status values that need to be considered for filter */
648657
status?: "available" | "pending" | "sold";
649658
};
650-
export type FindPetsByTagsApiResponse = /** status 200 successful operation */ Pet[];
659+
export type FindPetsByTagsApiResponse =
660+
/** status 200 successful operation */ Pet[];
651661
export type FindPetsByTagsApiArg = {
652662
/** Tags to filter by */
653663
tags?: string[];
@@ -672,7 +682,8 @@ export type DeletePetApiArg = {
672682
/** Pet id to delete */
673683
petId: number;
674684
};
675-
export type UploadFileApiResponse = /** status 200 successful operation */ ApiResponse;
685+
export type UploadFileApiResponse =
686+
/** status 200 successful operation */ ApiResponse;
676687
export type UploadFileApiArg = {
677688
/** ID of pet to update */
678689
petId: number;
@@ -684,11 +695,13 @@ export type GetInventoryApiResponse = /** status 200 successful operation */ {
684695
[key: string]: number;
685696
};
686697
export type GetInventoryApiArg = void;
687-
export type PlaceOrderApiResponse = /** status 200 successful operation */ Order;
698+
export type PlaceOrderApiResponse =
699+
/** status 200 successful operation */ Order;
688700
export type PlaceOrderApiArg = {
689701
order: Order;
690702
};
691-
export type GetOrderByIdApiResponse = /** status 200 successful operation */ Order;
703+
export type GetOrderByIdApiResponse =
704+
/** status 200 successful operation */ Order;
692705
export type GetOrderByIdApiArg = {
693706
/** ID of order that needs to be fetched */
694707
orderId: number;
@@ -703,11 +716,13 @@ export type CreateUserApiArg = {
703716
/** Created user object */
704717
user: User;
705718
};
706-
export type CreateUsersWithListInputApiResponse = /** status 200 Successful operation */ User;
719+
export type CreateUsersWithListInputApiResponse =
720+
/** status 200 Successful operation */ User;
707721
export type CreateUsersWithListInputApiArg = {
708722
body: User[];
709723
};
710-
export type LoginUserApiResponse = /** status 200 successful operation */ string;
724+
export type LoginUserApiResponse =
725+
/** status 200 successful operation */ string;
711726
export type LoginUserApiArg = {
712727
/** The user name for login */
713728
username?: string;
@@ -716,7 +731,8 @@ export type LoginUserApiArg = {
716731
};
717732
export type LogoutUserApiResponse = unknown;
718733
export type LogoutUserApiArg = void;
719-
export type GetUserByNameApiResponse = /** status 200 successful operation */ User;
734+
export type GetUserByNameApiResponse =
735+
/** status 200 successful operation */ User;
720736
export type GetUserByNameApiArg = {
721737
/** The name that needs to be fetched. Use user1 for testing. */
722738
username: string;
@@ -943,12 +959,14 @@ export type AddPetApiArg = {
943959
/** Create a new pet in the store */
944960
pet: Pet;
945961
};
946-
export type FindPetsByStatusApiResponse = /** status 200 successful operation */ Pet[];
962+
export type FindPetsByStatusApiResponse =
963+
/** status 200 successful operation */ Pet[];
947964
export type FindPetsByStatusApiArg = {
948965
/** Status values that need to be considered for filter */
949966
status?: "available" | "pending" | "sold";
950967
};
951-
export type FindPetsByTagsApiResponse = /** status 200 successful operation */ Pet[];
968+
export type FindPetsByTagsApiResponse =
969+
/** status 200 successful operation */ Pet[];
952970
export type FindPetsByTagsApiArg = {
953971
/** Tags to filter by */
954972
tags?: string[];
@@ -973,7 +991,8 @@ export type DeletePetApiArg = {
973991
/** Pet id to delete */
974992
petId: number;
975993
};
976-
export type UploadFileApiResponse = /** status 200 successful operation */ ApiResponse;
994+
export type UploadFileApiResponse =
995+
/** status 200 successful operation */ ApiResponse;
977996
export type UploadFileApiArg = {
978997
/** ID of pet to update */
979998
petId: number;
@@ -985,11 +1004,13 @@ export type GetInventoryApiResponse = /** status 200 successful operation */ {
9851004
[key: string]: number;
9861005
};
9871006
export type GetInventoryApiArg = void;
988-
export type PlaceOrderApiResponse = /** status 200 successful operation */ Order;
1007+
export type PlaceOrderApiResponse =
1008+
/** status 200 successful operation */ Order;
9891009
export type PlaceOrderApiArg = {
9901010
order: Order;
9911011
};
992-
export type GetOrderByIdApiResponse = /** status 200 successful operation */ Order;
1012+
export type GetOrderByIdApiResponse =
1013+
/** status 200 successful operation */ Order;
9931014
export type GetOrderByIdApiArg = {
9941015
/** ID of order that needs to be fetched */
9951016
orderId: number;
@@ -1004,11 +1025,13 @@ export type CreateUserApiArg = {
10041025
/** Created user object */
10051026
user: User;
10061027
};
1007-
export type CreateUsersWithListInputApiResponse = /** status 200 Successful operation */ User;
1028+
export type CreateUsersWithListInputApiResponse =
1029+
/** status 200 Successful operation */ User;
10081030
export type CreateUsersWithListInputApiArg = {
10091031
body: User[];
10101032
};
1011-
export type LoginUserApiResponse = /** status 200 successful operation */ string;
1033+
export type LoginUserApiResponse =
1034+
/** status 200 successful operation */ string;
10121035
export type LoginUserApiArg = {
10131036
/** The user name for login */
10141037
username?: string;
@@ -1017,7 +1040,8 @@ export type LoginUserApiArg = {
10171040
};
10181041
export type LogoutUserApiResponse = unknown;
10191042
export type LogoutUserApiArg = void;
1020-
export type GetUserByNameApiResponse = /** status 200 successful operation */ User;
1043+
export type GetUserByNameApiResponse =
1044+
/** status 200 successful operation */ User;
10211045
export type GetUserByNameApiArg = {
10221046
/** The name that needs to be fetched. Use user1 for testing. */
10231047
username: string;
@@ -1481,12 +1505,14 @@ export type AddPetApiArg = {
14811505
/** Create a new pet in the store */
14821506
pet: Pet;
14831507
};
1484-
export type FindPetsByStatusApiResponse = /** status 200 successful operation */ Pet[];
1508+
export type FindPetsByStatusApiResponse =
1509+
/** status 200 successful operation */ Pet[];
14851510
export type FindPetsByStatusApiArg = {
14861511
/** Status values that need to be considered for filter */
14871512
status?: "available" | "pending" | "sold";
14881513
};
1489-
export type FindPetsByTagsApiResponse = /** status 200 successful operation */ Pet[];
1514+
export type FindPetsByTagsApiResponse =
1515+
/** status 200 successful operation */ Pet[];
14901516
export type FindPetsByTagsApiArg = {
14911517
/** Tags to filter by */
14921518
tags?: string[];
@@ -1511,7 +1537,8 @@ export type DeletePetApiArg = {
15111537
/** Pet id to delete */
15121538
petId: number;
15131539
};
1514-
export type UploadFileApiResponse = /** status 200 successful operation */ ApiResponse;
1540+
export type UploadFileApiResponse =
1541+
/** status 200 successful operation */ ApiResponse;
15151542
export type UploadFileApiArg = {
15161543
/** ID of pet to update */
15171544
petId: number;
@@ -1523,11 +1550,13 @@ export type GetInventoryApiResponse = /** status 200 successful operation */ {
15231550
[key: string]: number;
15241551
};
15251552
export type GetInventoryApiArg = void;
1526-
export type PlaceOrderApiResponse = /** status 200 successful operation */ Order;
1553+
export type PlaceOrderApiResponse =
1554+
/** status 200 successful operation */ Order;
15271555
export type PlaceOrderApiArg = {
15281556
order: Order;
15291557
};
1530-
export type GetOrderByIdApiResponse = /** status 200 successful operation */ Order;
1558+
export type GetOrderByIdApiResponse =
1559+
/** status 200 successful operation */ Order;
15311560
export type GetOrderByIdApiArg = {
15321561
/** ID of order that needs to be fetched */
15331562
orderId: number;
@@ -1542,11 +1571,13 @@ export type CreateUserApiArg = {
15421571
/** Created user object */
15431572
user: User;
15441573
};
1545-
export type CreateUsersWithListInputApiResponse = /** status 200 Successful operation */ User;
1574+
export type CreateUsersWithListInputApiResponse =
1575+
/** status 200 Successful operation */ User;
15461576
export type CreateUsersWithListInputApiArg = {
15471577
body: User[];
15481578
};
1549-
export type LoginUserApiResponse = /** status 200 successful operation */ string;
1579+
export type LoginUserApiResponse =
1580+
/** status 200 successful operation */ string;
15501581
export type LoginUserApiArg = {
15511582
/** The user name for login */
15521583
username?: string;
@@ -1555,7 +1586,8 @@ export type LoginUserApiArg = {
15551586
};
15561587
export type LogoutUserApiResponse = unknown;
15571588
export type LogoutUserApiArg = void;
1558-
export type GetUserByNameApiResponse = /** status 200 successful operation */ User;
1589+
export type GetUserByNameApiResponse =
1590+
/** status 200 successful operation */ User;
15591591
export type GetUserByNameApiArg = {
15601592
/** The name that needs to be fetched. Use user1 for testing. */
15611593
username: string;

0 commit comments

Comments
 (0)