Skip to content

Commit d3aa6dc

Browse files
Update build to 4.0.0 (#823)
* Update dependencies to use build 4.0 * Regenerate files
1 parent cf6b259 commit d3aa6dc

20 files changed

Lines changed: 1186 additions & 1074 deletions

example/lib/swagger_generated_code/pet_service_json.swagger.chopper.dart

Lines changed: 184 additions & 164 deletions
Large diffs are not rendered by default.

example/lib/swagger_generated_code/pet_service_json.swagger.dart

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ abstract class PetServiceJson extends ChopperService {
6969
@Header('Cache-Control') String? cacheControl,
7070
@chopper.Tag()
7171
SwaggerMetaData swaggerMetaData = const SwaggerMetaData(
72-
summary: 'Add a new pet to the store',
7372
description: '',
73+
summary: 'Add a new pet to the store',
7474
operationId: 'addPet',
7575
consumes: ["application/json", "application/xml"],
7676
produces: ["application/xml", "application/json"],
@@ -96,8 +96,8 @@ abstract class PetServiceJson extends ChopperService {
9696
@Header('Cache-Control') String? cacheControl,
9797
@chopper.Tag()
9898
SwaggerMetaData swaggerMetaData = const SwaggerMetaData(
99-
summary: 'Update an existing pet',
10099
description: '',
100+
summary: 'Update an existing pet',
101101
operationId: 'updatePet',
102102
consumes: ["application/json", "application/xml"],
103103
produces: ["application/xml", "application/json"],
@@ -129,9 +129,9 @@ abstract class PetServiceJson extends ChopperService {
129129
@Header('Cache-Control') String? cacheControl,
130130
@chopper.Tag()
131131
SwaggerMetaData swaggerMetaData = const SwaggerMetaData(
132-
summary: 'Finds Pets by status',
133132
description:
134133
'Multiple status values can be provided with comma separated strings',
134+
summary: 'Finds Pets by status',
135135
operationId: 'findPetsByStatus',
136136
consumes: [],
137137
produces: ["application/xml", "application/json"],
@@ -165,9 +165,9 @@ abstract class PetServiceJson extends ChopperService {
165165
@Header('Cache-Control') String? cacheControl,
166166
@chopper.Tag()
167167
SwaggerMetaData swaggerMetaData = const SwaggerMetaData(
168-
summary: 'Finds Pets by tags',
169168
description:
170169
'Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.',
170+
summary: 'Finds Pets by tags',
171171
operationId: 'findPetsByTags',
172172
consumes: [],
173173
produces: ["application/xml", "application/json"],
@@ -202,8 +202,8 @@ abstract class PetServiceJson extends ChopperService {
202202
@Header('Cache-Control') String? cacheControl,
203203
@chopper.Tag()
204204
SwaggerMetaData swaggerMetaData = const SwaggerMetaData(
205-
summary: 'Find pet by ID',
206205
description: 'Returns a single pet',
206+
summary: 'Find pet by ID',
207207
operationId: 'getPetById',
208208
consumes: [],
209209
produces: ["application/xml", "application/json"],
@@ -243,8 +243,8 @@ abstract class PetServiceJson extends ChopperService {
243243
@Header('Cache-Control') String? cacheControl,
244244
@chopper.Tag()
245245
SwaggerMetaData swaggerMetaData = const SwaggerMetaData(
246-
summary: 'Updates a pet in the store with form data',
247246
description: '',
247+
summary: 'Updates a pet in the store with form data',
248248
operationId: 'updatePetWithForm',
249249
consumes: ["application/x-www-form-urlencoded"],
250250
produces: ["application/xml", "application/json"],
@@ -279,8 +279,8 @@ abstract class PetServiceJson extends ChopperService {
279279
@Header('Cache-Control') String? cacheControl,
280280
@chopper.Tag()
281281
SwaggerMetaData swaggerMetaData = const SwaggerMetaData(
282-
summary: 'Deletes a pet',
283282
description: '',
283+
summary: 'Deletes a pet',
284284
operationId: 'deletePet',
285285
consumes: [],
286286
produces: ["application/xml", "application/json"],
@@ -329,8 +329,8 @@ abstract class PetServiceJson extends ChopperService {
329329
@Header('Cache-Control') String? cacheControl,
330330
@chopper.Tag()
331331
SwaggerMetaData swaggerMetaData = const SwaggerMetaData(
332-
summary: 'uploads an image',
333332
description: '',
333+
summary: 'uploads an image',
334334
operationId: 'uploadFile',
335335
consumes: ["multipart/form-data"],
336336
produces: ["application/json"],
@@ -358,8 +358,8 @@ abstract class PetServiceJson extends ChopperService {
358358
@Header('Cache-Control') String? cacheControl,
359359
@chopper.Tag()
360360
SwaggerMetaData swaggerMetaData = const SwaggerMetaData(
361-
summary: 'Returns pet inventories by status',
362361
description: 'Returns a map of status codes to quantities',
362+
summary: 'Returns pet inventories by status',
363363
operationId: 'getInventory',
364364
consumes: [],
365365
produces: ["application/json"],
@@ -388,8 +388,8 @@ abstract class PetServiceJson extends ChopperService {
388388
@Header('Cache-Control') String? cacheControl,
389389
@chopper.Tag()
390390
SwaggerMetaData swaggerMetaData = const SwaggerMetaData(
391-
summary: 'Place an order for a pet',
392391
description: '',
392+
summary: 'Place an order for a pet',
393393
operationId: 'placeOrder',
394394
consumes: [],
395395
produces: ["application/xml", "application/json"],
@@ -421,9 +421,9 @@ abstract class PetServiceJson extends ChopperService {
421421
@Header('Cache-Control') String? cacheControl,
422422
@chopper.Tag()
423423
SwaggerMetaData swaggerMetaData = const SwaggerMetaData(
424-
summary: 'Find purchase order by ID',
425424
description:
426425
'For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions',
426+
summary: 'Find purchase order by ID',
427427
operationId: 'getOrderById',
428428
consumes: [],
429429
produces: ["application/xml", "application/json"],
@@ -453,9 +453,9 @@ abstract class PetServiceJson extends ChopperService {
453453
@Header('Cache-Control') String? cacheControl,
454454
@chopper.Tag()
455455
SwaggerMetaData swaggerMetaData = const SwaggerMetaData(
456-
summary: 'Delete purchase order by ID',
457456
description:
458457
'For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors',
458+
summary: 'Delete purchase order by ID',
459459
operationId: 'deleteOrder',
460460
consumes: [],
461461
produces: ["application/xml", "application/json"],
@@ -484,8 +484,8 @@ abstract class PetServiceJson extends ChopperService {
484484
@Header('Cache-Control') String? cacheControl,
485485
@chopper.Tag()
486486
SwaggerMetaData swaggerMetaData = const SwaggerMetaData(
487-
summary: 'Create user',
488487
description: 'This can only be done by the logged in user.',
488+
summary: 'Create user',
489489
operationId: 'createUser',
490490
consumes: [],
491491
produces: ["application/xml", "application/json"],
@@ -515,8 +515,8 @@ abstract class PetServiceJson extends ChopperService {
515515
@Header('Cache-Control') String? cacheControl,
516516
@chopper.Tag()
517517
SwaggerMetaData swaggerMetaData = const SwaggerMetaData(
518-
summary: 'Creates list of users with given input array',
519518
description: '',
519+
summary: 'Creates list of users with given input array',
520520
operationId: 'createUsersWithArrayInput',
521521
consumes: [],
522522
produces: ["application/xml", "application/json"],
@@ -546,8 +546,8 @@ abstract class PetServiceJson extends ChopperService {
546546
@Header('Cache-Control') String? cacheControl,
547547
@chopper.Tag()
548548
SwaggerMetaData swaggerMetaData = const SwaggerMetaData(
549-
summary: 'Creates list of users with given input array',
550549
description: '',
550+
summary: 'Creates list of users with given input array',
551551
operationId: 'createUsersWithListInput',
552552
consumes: [],
553553
produces: ["application/xml", "application/json"],
@@ -582,8 +582,8 @@ abstract class PetServiceJson extends ChopperService {
582582
@Header('Cache-Control') String? cacheControl,
583583
@chopper.Tag()
584584
SwaggerMetaData swaggerMetaData = const SwaggerMetaData(
585-
summary: 'Logs user into the system',
586585
description: '',
586+
summary: 'Logs user into the system',
587587
operationId: 'loginUser',
588588
consumes: [],
589589
produces: ["application/xml", "application/json"],
@@ -604,8 +604,8 @@ abstract class PetServiceJson extends ChopperService {
604604
@Header('Cache-Control') String? cacheControl,
605605
@chopper.Tag()
606606
SwaggerMetaData swaggerMetaData = const SwaggerMetaData(
607-
summary: 'Logs out current logged in user session',
608607
description: '',
608+
summary: 'Logs out current logged in user session',
609609
operationId: 'logoutUser',
610610
consumes: [],
611611
produces: ["application/xml", "application/json"],
@@ -637,8 +637,8 @@ abstract class PetServiceJson extends ChopperService {
637637
@Header('Cache-Control') String? cacheControl,
638638
@chopper.Tag()
639639
SwaggerMetaData swaggerMetaData = const SwaggerMetaData(
640-
summary: 'Get user by user name',
641640
description: '',
641+
summary: 'Get user by user name',
642642
operationId: 'getUserByName',
643643
consumes: [],
644644
produces: ["application/xml", "application/json"],
@@ -675,8 +675,8 @@ abstract class PetServiceJson extends ChopperService {
675675
@Header('Cache-Control') String? cacheControl,
676676
@chopper.Tag()
677677
SwaggerMetaData swaggerMetaData = const SwaggerMetaData(
678-
summary: 'Updated user',
679678
description: 'This can only be done by the logged in user.',
679+
summary: 'Updated user',
680680
operationId: 'updateUser',
681681
consumes: [],
682682
produces: ["application/xml", "application/json"],
@@ -706,8 +706,8 @@ abstract class PetServiceJson extends ChopperService {
706706
@Header('Cache-Control') String? cacheControl,
707707
@chopper.Tag()
708708
SwaggerMetaData swaggerMetaData = const SwaggerMetaData(
709-
summary: 'Delete user',
710709
description: 'This can only be done by the logged in user.',
710+
summary: 'Delete user',
711711
operationId: 'deleteUser',
712712
consumes: [],
713713
produces: ["application/xml", "application/json"],

0 commit comments

Comments
 (0)