forked from loafle/openapi-generator-original
		
	[dart] Remove old leftover format parameter from path (#8834)
This commit is contained in:
		
							parent
							
								
									fbe2bb7c97
								
							
						
					
					
						commit
						3e9c1e1fc3
					
				| @ -61,7 +61,7 @@ class {{{classname}}} { | |||||||
|     {{/allParams}} |     {{/allParams}} | ||||||
| 
 | 
 | ||||||
|   {{/hasParams}} |   {{/hasParams}} | ||||||
|     final path = '{{{path}}}'.replaceAll('{format}', 'json'){{#pathParams}} |     final path = '{{{path}}}'{{#pathParams}} | ||||||
|       .replaceAll('{' + '{{{baseName}}}' + '}', {{{paramName}}}.toString()){{/pathParams}}; |       .replaceAll('{' + '{{{baseName}}}' + '}', {{{paramName}}}.toString()){{/pathParams}}; | ||||||
| 
 | 
 | ||||||
|     Object postBody{{#bodyParam}} = {{{paramName}}}{{/bodyParam}}; |     Object postBody{{#bodyParam}} = {{{paramName}}}{{/bodyParam}}; | ||||||
|  | |||||||
| @ -29,7 +29,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: body'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: body'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet'.replaceAll('{format}', 'json'); |     final path = '/pet'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = body; |     Object postBody = body; | ||||||
| 
 | 
 | ||||||
| @ -94,7 +94,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/{petId}'.replaceAll('{format}', 'json') |     final path = '/pet/{petId}' | ||||||
|       .replaceAll('{' + 'petId' + '}', petId.toString()); |       .replaceAll('{' + 'petId' + '}', petId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -166,7 +166,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: status'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: status'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/findByStatus'.replaceAll('{format}', 'json'); |     final path = '/pet/findByStatus'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -244,7 +244,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: tags'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: tags'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/findByTags'.replaceAll('{format}', 'json'); |     final path = '/pet/findByTags'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -322,7 +322,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/{petId}'.replaceAll('{format}', 'json') |     final path = '/pet/{petId}' | ||||||
|       .replaceAll('{' + 'petId' + '}', petId.toString()); |       .replaceAll('{' + 'petId' + '}', petId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -395,7 +395,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: body'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: body'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet'.replaceAll('{format}', 'json'); |     final path = '/pet'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = body; |     Object postBody = body; | ||||||
| 
 | 
 | ||||||
| @ -464,7 +464,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/{petId}'.replaceAll('{format}', 'json') |     final path = '/pet/{petId}' | ||||||
|       .replaceAll('{' + 'petId' + '}', petId.toString()); |       .replaceAll('{' + 'petId' + '}', petId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -554,7 +554,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/{petId}/uploadImage'.replaceAll('{format}', 'json') |     final path = '/pet/{petId}/uploadImage' | ||||||
|       .replaceAll('{' + 'petId' + '}', petId.toString()); |       .replaceAll('{' + 'petId' + '}', petId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
|  | |||||||
| @ -31,7 +31,7 @@ class StoreApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: orderId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: orderId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/store/order/{orderId}'.replaceAll('{format}', 'json') |     final path = '/store/order/{orderId}' | ||||||
|       .replaceAll('{' + 'orderId' + '}', orderId.toString()); |       .replaceAll('{' + 'orderId' + '}', orderId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -89,7 +89,7 @@ class StoreApi { | |||||||
|   /// |   /// | ||||||
|   /// Note: This method returns the HTTP [Response]. |   /// Note: This method returns the HTTP [Response]. | ||||||
|   Future<Response> getInventoryWithHttpInfo() async { |   Future<Response> getInventoryWithHttpInfo() async { | ||||||
|     final path = '/store/inventory'.replaceAll('{format}', 'json'); |     final path = '/store/inventory'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -158,7 +158,7 @@ class StoreApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: orderId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: orderId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/store/order/{orderId}'.replaceAll('{format}', 'json') |     final path = '/store/order/{orderId}' | ||||||
|       .replaceAll('{' + 'orderId' + '}', orderId.toString()); |       .replaceAll('{' + 'orderId' + '}', orderId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -231,7 +231,7 @@ class StoreApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: body'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: body'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/store/order'.replaceAll('{format}', 'json'); |     final path = '/store/order'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = body; |     Object postBody = body; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -31,7 +31,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: body'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: body'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user'.replaceAll('{format}', 'json'); |     final path = '/user'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = body; |     Object postBody = body; | ||||||
| 
 | 
 | ||||||
| @ -96,7 +96,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: body'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: body'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/createWithArray'.replaceAll('{format}', 'json'); |     final path = '/user/createWithArray'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = body; |     Object postBody = body; | ||||||
| 
 | 
 | ||||||
| @ -159,7 +159,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: body'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: body'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/createWithList'.replaceAll('{format}', 'json'); |     final path = '/user/createWithList'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = body; |     Object postBody = body; | ||||||
| 
 | 
 | ||||||
| @ -224,7 +224,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: username'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: username'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/{username}'.replaceAll('{format}', 'json') |     final path = '/user/{username}' | ||||||
|       .replaceAll('{' + 'username' + '}', username.toString()); |       .replaceAll('{' + 'username' + '}', username.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -290,7 +290,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: username'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: username'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/{username}'.replaceAll('{format}', 'json') |     final path = '/user/{username}' | ||||||
|       .replaceAll('{' + 'username' + '}', username.toString()); |       .replaceAll('{' + 'username' + '}', username.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -367,7 +367,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: password'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: password'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/login'.replaceAll('{format}', 'json'); |     final path = '/user/login'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -433,7 +433,7 @@ class UserApi { | |||||||
|   /// |   /// | ||||||
|   /// Note: This method returns the HTTP [Response]. |   /// Note: This method returns the HTTP [Response]. | ||||||
|   Future<Response> logoutUserWithHttpInfo() async { |   Future<Response> logoutUserWithHttpInfo() async { | ||||||
|     final path = '/user/logout'.replaceAll('{format}', 'json'); |     final path = '/user/logout'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -499,7 +499,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: body'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: body'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/{username}'.replaceAll('{format}', 'json') |     final path = '/user/{username}' | ||||||
|       .replaceAll('{' + 'username' + '}', username.toString()); |       .replaceAll('{' + 'username' + '}', username.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody = body; |     Object postBody = body; | ||||||
|  | |||||||
| @ -29,7 +29,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: pet'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: pet'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet'.replaceAll('{format}', 'json'); |     final path = '/pet'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = pet; |     Object postBody = pet; | ||||||
| 
 | 
 | ||||||
| @ -101,7 +101,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/{petId}'.replaceAll('{format}', 'json') |     final path = '/pet/{petId}' | ||||||
|       .replaceAll('{' + 'petId' + '}', petId.toString()); |       .replaceAll('{' + 'petId' + '}', petId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -173,7 +173,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: status'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: status'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/findByStatus'.replaceAll('{format}', 'json'); |     final path = '/pet/findByStatus'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -251,7 +251,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: tags'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: tags'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/findByTags'.replaceAll('{format}', 'json'); |     final path = '/pet/findByTags'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -329,7 +329,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/{petId}'.replaceAll('{format}', 'json') |     final path = '/pet/{petId}' | ||||||
|       .replaceAll('{' + 'petId' + '}', petId.toString()); |       .replaceAll('{' + 'petId' + '}', petId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -402,7 +402,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: pet'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: pet'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet'.replaceAll('{format}', 'json'); |     final path = '/pet'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = pet; |     Object postBody = pet; | ||||||
| 
 | 
 | ||||||
| @ -478,7 +478,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/{petId}'.replaceAll('{format}', 'json') |     final path = '/pet/{petId}' | ||||||
|       .replaceAll('{' + 'petId' + '}', petId.toString()); |       .replaceAll('{' + 'petId' + '}', petId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -568,7 +568,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/{petId}/uploadImage'.replaceAll('{format}', 'json') |     final path = '/pet/{petId}/uploadImage' | ||||||
|       .replaceAll('{' + 'petId' + '}', petId.toString()); |       .replaceAll('{' + 'petId' + '}', petId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
|  | |||||||
| @ -31,7 +31,7 @@ class StoreApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: orderId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: orderId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/store/order/{orderId}'.replaceAll('{format}', 'json') |     final path = '/store/order/{orderId}' | ||||||
|       .replaceAll('{' + 'orderId' + '}', orderId.toString()); |       .replaceAll('{' + 'orderId' + '}', orderId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -89,7 +89,7 @@ class StoreApi { | |||||||
|   /// |   /// | ||||||
|   /// Note: This method returns the HTTP [Response]. |   /// Note: This method returns the HTTP [Response]. | ||||||
|   Future<Response> getInventoryWithHttpInfo() async { |   Future<Response> getInventoryWithHttpInfo() async { | ||||||
|     final path = '/store/inventory'.replaceAll('{format}', 'json'); |     final path = '/store/inventory'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -158,7 +158,7 @@ class StoreApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: orderId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: orderId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/store/order/{orderId}'.replaceAll('{format}', 'json') |     final path = '/store/order/{orderId}' | ||||||
|       .replaceAll('{' + 'orderId' + '}', orderId.toString()); |       .replaceAll('{' + 'orderId' + '}', orderId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -231,7 +231,7 @@ class StoreApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: order'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: order'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/store/order'.replaceAll('{format}', 'json'); |     final path = '/store/order'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = order; |     Object postBody = order; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -31,7 +31,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user'.replaceAll('{format}', 'json'); |     final path = '/user'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = user; |     Object postBody = user; | ||||||
| 
 | 
 | ||||||
| @ -96,7 +96,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/createWithArray'.replaceAll('{format}', 'json'); |     final path = '/user/createWithArray'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = user; |     Object postBody = user; | ||||||
| 
 | 
 | ||||||
| @ -159,7 +159,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/createWithList'.replaceAll('{format}', 'json'); |     final path = '/user/createWithList'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = user; |     Object postBody = user; | ||||||
| 
 | 
 | ||||||
| @ -224,7 +224,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: username'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: username'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/{username}'.replaceAll('{format}', 'json') |     final path = '/user/{username}' | ||||||
|       .replaceAll('{' + 'username' + '}', username.toString()); |       .replaceAll('{' + 'username' + '}', username.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -290,7 +290,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: username'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: username'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/{username}'.replaceAll('{format}', 'json') |     final path = '/user/{username}' | ||||||
|       .replaceAll('{' + 'username' + '}', username.toString()); |       .replaceAll('{' + 'username' + '}', username.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -367,7 +367,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: password'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: password'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/login'.replaceAll('{format}', 'json'); |     final path = '/user/login'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -433,7 +433,7 @@ class UserApi { | |||||||
|   /// |   /// | ||||||
|   /// Note: This method returns the HTTP [Response]. |   /// Note: This method returns the HTTP [Response]. | ||||||
|   Future<Response> logoutUserWithHttpInfo() async { |   Future<Response> logoutUserWithHttpInfo() async { | ||||||
|     final path = '/user/logout'.replaceAll('{format}', 'json'); |     final path = '/user/logout'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -499,7 +499,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/{username}'.replaceAll('{format}', 'json') |     final path = '/user/{username}' | ||||||
|       .replaceAll('{' + 'username' + '}', username.toString()); |       .replaceAll('{' + 'username' + '}', username.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody = user; |     Object postBody = user; | ||||||
|  | |||||||
| @ -31,7 +31,7 @@ class AnotherFakeApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: modelClient'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: modelClient'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/another-fake/dummy'.replaceAll('{format}', 'json'); |     final path = '/another-fake/dummy'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = modelClient; |     Object postBody = modelClient; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -17,7 +17,7 @@ class DefaultApi { | |||||||
| 
 | 
 | ||||||
|   /// Performs an HTTP 'GET /foo' operation and returns the [Response]. |   /// Performs an HTTP 'GET /foo' operation and returns the [Response]. | ||||||
|   Future<Response> fooGetWithHttpInfo() async { |   Future<Response> fooGetWithHttpInfo() async { | ||||||
|     final path = '/foo'.replaceAll('{format}', 'json'); |     final path = '/foo'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -19,7 +19,7 @@ class FakeApi { | |||||||
|   /// |   /// | ||||||
|   /// Note: This method returns the HTTP [Response]. |   /// Note: This method returns the HTTP [Response]. | ||||||
|   Future<Response> fakeHealthGetWithHttpInfo() async { |   Future<Response> fakeHealthGetWithHttpInfo() async { | ||||||
|     final path = '/fake/health'.replaceAll('{format}', 'json'); |     final path = '/fake/health'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -90,7 +90,7 @@ class FakeApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: pet'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: pet'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/http-signature-test'.replaceAll('{format}', 'json'); |     final path = '/fake/http-signature-test'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = pet; |     Object postBody = pet; | ||||||
| 
 | 
 | ||||||
| @ -164,7 +164,7 @@ class FakeApi { | |||||||
|   Future<Response> fakeOuterBooleanSerializeWithHttpInfo({ bool body }) async { |   Future<Response> fakeOuterBooleanSerializeWithHttpInfo({ bool body }) async { | ||||||
|     // Verify required params are set. |     // Verify required params are set. | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/outer/boolean'.replaceAll('{format}', 'json'); |     final path = '/fake/outer/boolean'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = body; |     Object postBody = body; | ||||||
| 
 | 
 | ||||||
| @ -231,7 +231,7 @@ class FakeApi { | |||||||
|   Future<Response> fakeOuterCompositeSerializeWithHttpInfo({ OuterComposite outerComposite }) async { |   Future<Response> fakeOuterCompositeSerializeWithHttpInfo({ OuterComposite outerComposite }) async { | ||||||
|     // Verify required params are set. |     // Verify required params are set. | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/outer/composite'.replaceAll('{format}', 'json'); |     final path = '/fake/outer/composite'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = outerComposite; |     Object postBody = outerComposite; | ||||||
| 
 | 
 | ||||||
| @ -298,7 +298,7 @@ class FakeApi { | |||||||
|   Future<Response> fakeOuterNumberSerializeWithHttpInfo({ num body }) async { |   Future<Response> fakeOuterNumberSerializeWithHttpInfo({ num body }) async { | ||||||
|     // Verify required params are set. |     // Verify required params are set. | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/outer/number'.replaceAll('{format}', 'json'); |     final path = '/fake/outer/number'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = body; |     Object postBody = body; | ||||||
| 
 | 
 | ||||||
| @ -365,7 +365,7 @@ class FakeApi { | |||||||
|   Future<Response> fakeOuterStringSerializeWithHttpInfo({ String body }) async { |   Future<Response> fakeOuterStringSerializeWithHttpInfo({ String body }) async { | ||||||
|     // Verify required params are set. |     // Verify required params are set. | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/outer/string'.replaceAll('{format}', 'json'); |     final path = '/fake/outer/string'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = body; |     Object postBody = body; | ||||||
| 
 | 
 | ||||||
| @ -434,7 +434,7 @@ class FakeApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: fileSchemaTestClass'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: fileSchemaTestClass'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/body-with-file-schema'.replaceAll('{format}', 'json'); |     final path = '/fake/body-with-file-schema'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = fileSchemaTestClass; |     Object postBody = fileSchemaTestClass; | ||||||
| 
 | 
 | ||||||
| @ -497,7 +497,7 @@ class FakeApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/body-with-query-params'.replaceAll('{format}', 'json'); |     final path = '/fake/body-with-query-params'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = user; |     Object postBody = user; | ||||||
| 
 | 
 | ||||||
| @ -563,7 +563,7 @@ class FakeApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: modelClient'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: modelClient'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake'.replaceAll('{format}', 'json'); |     final path = '/fake'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = modelClient; |     Object postBody = modelClient; | ||||||
| 
 | 
 | ||||||
| @ -685,7 +685,7 @@ class FakeApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: byte'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: byte'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake'.replaceAll('{format}', 'json'); |     final path = '/fake'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -905,7 +905,7 @@ class FakeApi { | |||||||
|   Future<Response> testEnumParametersWithHttpInfo({ List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, int enumQueryInteger, double enumQueryDouble, List<String> enumFormStringArray, String enumFormString }) async { |   Future<Response> testEnumParametersWithHttpInfo({ List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, int enumQueryInteger, double enumQueryDouble, List<String> enumFormStringArray, String enumFormString }) async { | ||||||
|     // Verify required params are set. |     // Verify required params are set. | ||||||
| 
 | 
 | ||||||
|     final path = '/fake'.replaceAll('{format}', 'json'); |     final path = '/fake'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -1048,7 +1048,7 @@ class FakeApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: requiredInt64Group'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: requiredInt64Group'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake'.replaceAll('{format}', 'json'); |     final path = '/fake'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -1142,7 +1142,7 @@ class FakeApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: requestBody'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: requestBody'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/inline-additionalProperties'.replaceAll('{format}', 'json'); |     final path = '/fake/inline-additionalProperties'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = requestBody; |     Object postBody = requestBody; | ||||||
| 
 | 
 | ||||||
| @ -1211,7 +1211,7 @@ class FakeApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: param2'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: param2'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/jsonFormData'.replaceAll('{format}', 'json'); |     final path = '/fake/jsonFormData'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -1310,7 +1310,7 @@ class FakeApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: context'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: context'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/test-query-paramters'.replaceAll('{format}', 'json'); |     final path = '/fake/test-query-paramters'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -31,7 +31,7 @@ class FakeClassnameTags123Api { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: modelClient'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: modelClient'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake_classname_test'.replaceAll('{format}', 'json'); |     final path = '/fake_classname_test'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = modelClient; |     Object postBody = modelClient; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -29,7 +29,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: pet'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: pet'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet'.replaceAll('{format}', 'json'); |     final path = '/pet'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = pet; |     Object postBody = pet; | ||||||
| 
 | 
 | ||||||
| @ -94,7 +94,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/{petId}'.replaceAll('{format}', 'json') |     final path = '/pet/{petId}' | ||||||
|       .replaceAll('{' + 'petId' + '}', petId.toString()); |       .replaceAll('{' + 'petId' + '}', petId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -166,7 +166,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: status'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: status'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/findByStatus'.replaceAll('{format}', 'json'); |     final path = '/pet/findByStatus'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -244,7 +244,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: tags'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: tags'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/findByTags'.replaceAll('{format}', 'json'); |     final path = '/pet/findByTags'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -322,7 +322,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/{petId}'.replaceAll('{format}', 'json') |     final path = '/pet/{petId}' | ||||||
|       .replaceAll('{' + 'petId' + '}', petId.toString()); |       .replaceAll('{' + 'petId' + '}', petId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -395,7 +395,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: pet'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: pet'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet'.replaceAll('{format}', 'json'); |     final path = '/pet'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = pet; |     Object postBody = pet; | ||||||
| 
 | 
 | ||||||
| @ -464,7 +464,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/{petId}'.replaceAll('{format}', 'json') |     final path = '/pet/{petId}' | ||||||
|       .replaceAll('{' + 'petId' + '}', petId.toString()); |       .replaceAll('{' + 'petId' + '}', petId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -554,7 +554,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/{petId}/uploadImage'.replaceAll('{format}', 'json') |     final path = '/pet/{petId}/uploadImage' | ||||||
|       .replaceAll('{' + 'petId' + '}', petId.toString()); |       .replaceAll('{' + 'petId' + '}', petId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -652,7 +652,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: requiredFile'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: requiredFile'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/{petId}/uploadImageWithRequiredFile'.replaceAll('{format}', 'json') |     final path = '/fake/{petId}/uploadImageWithRequiredFile' | ||||||
|       .replaceAll('{' + 'petId' + '}', petId.toString()); |       .replaceAll('{' + 'petId' + '}', petId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
|  | |||||||
| @ -31,7 +31,7 @@ class StoreApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: orderId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: orderId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/store/order/{order_id}'.replaceAll('{format}', 'json') |     final path = '/store/order/{order_id}' | ||||||
|       .replaceAll('{' + 'order_id' + '}', orderId.toString()); |       .replaceAll('{' + 'order_id' + '}', orderId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -89,7 +89,7 @@ class StoreApi { | |||||||
|   /// |   /// | ||||||
|   /// Note: This method returns the HTTP [Response]. |   /// Note: This method returns the HTTP [Response]. | ||||||
|   Future<Response> getInventoryWithHttpInfo() async { |   Future<Response> getInventoryWithHttpInfo() async { | ||||||
|     final path = '/store/inventory'.replaceAll('{format}', 'json'); |     final path = '/store/inventory'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -158,7 +158,7 @@ class StoreApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: orderId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: orderId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/store/order/{order_id}'.replaceAll('{format}', 'json') |     final path = '/store/order/{order_id}' | ||||||
|       .replaceAll('{' + 'order_id' + '}', orderId.toString()); |       .replaceAll('{' + 'order_id' + '}', orderId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -231,7 +231,7 @@ class StoreApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: order'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: order'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/store/order'.replaceAll('{format}', 'json'); |     final path = '/store/order'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = order; |     Object postBody = order; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -31,7 +31,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user'.replaceAll('{format}', 'json'); |     final path = '/user'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = user; |     Object postBody = user; | ||||||
| 
 | 
 | ||||||
| @ -96,7 +96,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/createWithArray'.replaceAll('{format}', 'json'); |     final path = '/user/createWithArray'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = user; |     Object postBody = user; | ||||||
| 
 | 
 | ||||||
| @ -159,7 +159,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/createWithList'.replaceAll('{format}', 'json'); |     final path = '/user/createWithList'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = user; |     Object postBody = user; | ||||||
| 
 | 
 | ||||||
| @ -224,7 +224,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: username'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: username'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/{username}'.replaceAll('{format}', 'json') |     final path = '/user/{username}' | ||||||
|       .replaceAll('{' + 'username' + '}', username.toString()); |       .replaceAll('{' + 'username' + '}', username.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -290,7 +290,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: username'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: username'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/{username}'.replaceAll('{format}', 'json') |     final path = '/user/{username}' | ||||||
|       .replaceAll('{' + 'username' + '}', username.toString()); |       .replaceAll('{' + 'username' + '}', username.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -367,7 +367,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: password'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: password'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/login'.replaceAll('{format}', 'json'); |     final path = '/user/login'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -433,7 +433,7 @@ class UserApi { | |||||||
|   /// |   /// | ||||||
|   /// Note: This method returns the HTTP [Response]. |   /// Note: This method returns the HTTP [Response]. | ||||||
|   Future<Response> logoutUserWithHttpInfo() async { |   Future<Response> logoutUserWithHttpInfo() async { | ||||||
|     final path = '/user/logout'.replaceAll('{format}', 'json'); |     final path = '/user/logout'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -499,7 +499,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/{username}'.replaceAll('{format}', 'json') |     final path = '/user/{username}' | ||||||
|       .replaceAll('{' + 'username' + '}', username.toString()); |       .replaceAll('{' + 'username' + '}', username.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody = user; |     Object postBody = user; | ||||||
|  | |||||||
| @ -31,7 +31,7 @@ class AnotherFakeApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: modelClient'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: modelClient'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/another-fake/dummy'.replaceAll('{format}', 'json'); |     final path = '/another-fake/dummy'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = modelClient; |     Object postBody = modelClient; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -17,7 +17,7 @@ class DefaultApi { | |||||||
| 
 | 
 | ||||||
|   /// Performs an HTTP 'GET /foo' operation and returns the [Response]. |   /// Performs an HTTP 'GET /foo' operation and returns the [Response]. | ||||||
|   Future<Response> fooGetWithHttpInfo() async { |   Future<Response> fooGetWithHttpInfo() async { | ||||||
|     final path = '/foo'.replaceAll('{format}', 'json'); |     final path = '/foo'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -19,7 +19,7 @@ class FakeApi { | |||||||
|   /// |   /// | ||||||
|   /// Note: This method returns the HTTP [Response]. |   /// Note: This method returns the HTTP [Response]. | ||||||
|   Future<Response> fakeHealthGetWithHttpInfo() async { |   Future<Response> fakeHealthGetWithHttpInfo() async { | ||||||
|     final path = '/fake/health'.replaceAll('{format}', 'json'); |     final path = '/fake/health'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -90,7 +90,7 @@ class FakeApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: pet'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: pet'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/http-signature-test'.replaceAll('{format}', 'json'); |     final path = '/fake/http-signature-test'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = pet; |     Object postBody = pet; | ||||||
| 
 | 
 | ||||||
| @ -164,7 +164,7 @@ class FakeApi { | |||||||
|   Future<Response> fakeOuterBooleanSerializeWithHttpInfo({ bool body }) async { |   Future<Response> fakeOuterBooleanSerializeWithHttpInfo({ bool body }) async { | ||||||
|     // Verify required params are set. |     // Verify required params are set. | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/outer/boolean'.replaceAll('{format}', 'json'); |     final path = '/fake/outer/boolean'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = body; |     Object postBody = body; | ||||||
| 
 | 
 | ||||||
| @ -231,7 +231,7 @@ class FakeApi { | |||||||
|   Future<Response> fakeOuterCompositeSerializeWithHttpInfo({ OuterComposite outerComposite }) async { |   Future<Response> fakeOuterCompositeSerializeWithHttpInfo({ OuterComposite outerComposite }) async { | ||||||
|     // Verify required params are set. |     // Verify required params are set. | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/outer/composite'.replaceAll('{format}', 'json'); |     final path = '/fake/outer/composite'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = outerComposite; |     Object postBody = outerComposite; | ||||||
| 
 | 
 | ||||||
| @ -298,7 +298,7 @@ class FakeApi { | |||||||
|   Future<Response> fakeOuterNumberSerializeWithHttpInfo({ num body }) async { |   Future<Response> fakeOuterNumberSerializeWithHttpInfo({ num body }) async { | ||||||
|     // Verify required params are set. |     // Verify required params are set. | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/outer/number'.replaceAll('{format}', 'json'); |     final path = '/fake/outer/number'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = body; |     Object postBody = body; | ||||||
| 
 | 
 | ||||||
| @ -365,7 +365,7 @@ class FakeApi { | |||||||
|   Future<Response> fakeOuterStringSerializeWithHttpInfo({ String body }) async { |   Future<Response> fakeOuterStringSerializeWithHttpInfo({ String body }) async { | ||||||
|     // Verify required params are set. |     // Verify required params are set. | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/outer/string'.replaceAll('{format}', 'json'); |     final path = '/fake/outer/string'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = body; |     Object postBody = body; | ||||||
| 
 | 
 | ||||||
| @ -434,7 +434,7 @@ class FakeApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: fileSchemaTestClass'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: fileSchemaTestClass'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/body-with-file-schema'.replaceAll('{format}', 'json'); |     final path = '/fake/body-with-file-schema'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = fileSchemaTestClass; |     Object postBody = fileSchemaTestClass; | ||||||
| 
 | 
 | ||||||
| @ -497,7 +497,7 @@ class FakeApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/body-with-query-params'.replaceAll('{format}', 'json'); |     final path = '/fake/body-with-query-params'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = user; |     Object postBody = user; | ||||||
| 
 | 
 | ||||||
| @ -563,7 +563,7 @@ class FakeApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: modelClient'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: modelClient'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake'.replaceAll('{format}', 'json'); |     final path = '/fake'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = modelClient; |     Object postBody = modelClient; | ||||||
| 
 | 
 | ||||||
| @ -685,7 +685,7 @@ class FakeApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: byte'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: byte'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake'.replaceAll('{format}', 'json'); |     final path = '/fake'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -905,7 +905,7 @@ class FakeApi { | |||||||
|   Future<Response> testEnumParametersWithHttpInfo({ List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, int enumQueryInteger, double enumQueryDouble, List<String> enumFormStringArray, String enumFormString }) async { |   Future<Response> testEnumParametersWithHttpInfo({ List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, int enumQueryInteger, double enumQueryDouble, List<String> enumFormStringArray, String enumFormString }) async { | ||||||
|     // Verify required params are set. |     // Verify required params are set. | ||||||
| 
 | 
 | ||||||
|     final path = '/fake'.replaceAll('{format}', 'json'); |     final path = '/fake'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -1048,7 +1048,7 @@ class FakeApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: requiredInt64Group'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: requiredInt64Group'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake'.replaceAll('{format}', 'json'); |     final path = '/fake'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -1142,7 +1142,7 @@ class FakeApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: requestBody'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: requestBody'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/inline-additionalProperties'.replaceAll('{format}', 'json'); |     final path = '/fake/inline-additionalProperties'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = requestBody; |     Object postBody = requestBody; | ||||||
| 
 | 
 | ||||||
| @ -1211,7 +1211,7 @@ class FakeApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: param2'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: param2'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/jsonFormData'.replaceAll('{format}', 'json'); |     final path = '/fake/jsonFormData'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -1310,7 +1310,7 @@ class FakeApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: context'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: context'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/test-query-paramters'.replaceAll('{format}', 'json'); |     final path = '/fake/test-query-paramters'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -31,7 +31,7 @@ class FakeClassnameTags123Api { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: modelClient'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: modelClient'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake_classname_test'.replaceAll('{format}', 'json'); |     final path = '/fake_classname_test'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = modelClient; |     Object postBody = modelClient; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -29,7 +29,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: pet'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: pet'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet'.replaceAll('{format}', 'json'); |     final path = '/pet'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = pet; |     Object postBody = pet; | ||||||
| 
 | 
 | ||||||
| @ -94,7 +94,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/{petId}'.replaceAll('{format}', 'json') |     final path = '/pet/{petId}' | ||||||
|       .replaceAll('{' + 'petId' + '}', petId.toString()); |       .replaceAll('{' + 'petId' + '}', petId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -166,7 +166,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: status'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: status'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/findByStatus'.replaceAll('{format}', 'json'); |     final path = '/pet/findByStatus'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -244,7 +244,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: tags'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: tags'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/findByTags'.replaceAll('{format}', 'json'); |     final path = '/pet/findByTags'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -322,7 +322,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/{petId}'.replaceAll('{format}', 'json') |     final path = '/pet/{petId}' | ||||||
|       .replaceAll('{' + 'petId' + '}', petId.toString()); |       .replaceAll('{' + 'petId' + '}', petId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -395,7 +395,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: pet'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: pet'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet'.replaceAll('{format}', 'json'); |     final path = '/pet'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = pet; |     Object postBody = pet; | ||||||
| 
 | 
 | ||||||
| @ -464,7 +464,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/{petId}'.replaceAll('{format}', 'json') |     final path = '/pet/{petId}' | ||||||
|       .replaceAll('{' + 'petId' + '}', petId.toString()); |       .replaceAll('{' + 'petId' + '}', petId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -554,7 +554,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: petId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/pet/{petId}/uploadImage'.replaceAll('{format}', 'json') |     final path = '/pet/{petId}/uploadImage' | ||||||
|       .replaceAll('{' + 'petId' + '}', petId.toString()); |       .replaceAll('{' + 'petId' + '}', petId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -652,7 +652,7 @@ class PetApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: requiredFile'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: requiredFile'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/fake/{petId}/uploadImageWithRequiredFile'.replaceAll('{format}', 'json') |     final path = '/fake/{petId}/uploadImageWithRequiredFile' | ||||||
|       .replaceAll('{' + 'petId' + '}', petId.toString()); |       .replaceAll('{' + 'petId' + '}', petId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
|  | |||||||
| @ -31,7 +31,7 @@ class StoreApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: orderId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: orderId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/store/order/{order_id}'.replaceAll('{format}', 'json') |     final path = '/store/order/{order_id}' | ||||||
|       .replaceAll('{' + 'order_id' + '}', orderId.toString()); |       .replaceAll('{' + 'order_id' + '}', orderId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -89,7 +89,7 @@ class StoreApi { | |||||||
|   /// |   /// | ||||||
|   /// Note: This method returns the HTTP [Response]. |   /// Note: This method returns the HTTP [Response]. | ||||||
|   Future<Response> getInventoryWithHttpInfo() async { |   Future<Response> getInventoryWithHttpInfo() async { | ||||||
|     final path = '/store/inventory'.replaceAll('{format}', 'json'); |     final path = '/store/inventory'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -158,7 +158,7 @@ class StoreApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: orderId'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: orderId'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/store/order/{order_id}'.replaceAll('{format}', 'json') |     final path = '/store/order/{order_id}' | ||||||
|       .replaceAll('{' + 'order_id' + '}', orderId.toString()); |       .replaceAll('{' + 'order_id' + '}', orderId.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -231,7 +231,7 @@ class StoreApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: order'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: order'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/store/order'.replaceAll('{format}', 'json'); |     final path = '/store/order'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = order; |     Object postBody = order; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -31,7 +31,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user'.replaceAll('{format}', 'json'); |     final path = '/user'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = user; |     Object postBody = user; | ||||||
| 
 | 
 | ||||||
| @ -96,7 +96,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/createWithArray'.replaceAll('{format}', 'json'); |     final path = '/user/createWithArray'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = user; |     Object postBody = user; | ||||||
| 
 | 
 | ||||||
| @ -159,7 +159,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/createWithList'.replaceAll('{format}', 'json'); |     final path = '/user/createWithList'; | ||||||
| 
 | 
 | ||||||
|     Object postBody = user; |     Object postBody = user; | ||||||
| 
 | 
 | ||||||
| @ -224,7 +224,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: username'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: username'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/{username}'.replaceAll('{format}', 'json') |     final path = '/user/{username}' | ||||||
|       .replaceAll('{' + 'username' + '}', username.toString()); |       .replaceAll('{' + 'username' + '}', username.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -290,7 +290,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: username'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: username'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/{username}'.replaceAll('{format}', 'json') |     final path = '/user/{username}' | ||||||
|       .replaceAll('{' + 'username' + '}', username.toString()); |       .replaceAll('{' + 'username' + '}', username.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| @ -367,7 +367,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: password'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: password'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/login'.replaceAll('{format}', 'json'); |     final path = '/user/login'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -433,7 +433,7 @@ class UserApi { | |||||||
|   /// |   /// | ||||||
|   /// Note: This method returns the HTTP [Response]. |   /// Note: This method returns the HTTP [Response]. | ||||||
|   Future<Response> logoutUserWithHttpInfo() async { |   Future<Response> logoutUserWithHttpInfo() async { | ||||||
|     final path = '/user/logout'.replaceAll('{format}', 'json'); |     final path = '/user/logout'; | ||||||
| 
 | 
 | ||||||
|     Object postBody; |     Object postBody; | ||||||
| 
 | 
 | ||||||
| @ -499,7 +499,7 @@ class UserApi { | |||||||
|      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); |      throw ApiException(HttpStatus.badRequest, 'Missing required param: user'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     final path = '/user/{username}'.replaceAll('{format}', 'json') |     final path = '/user/{username}' | ||||||
|       .replaceAll('{' + 'username' + '}', username.toString()); |       .replaceAll('{' + 'username' + '}', username.toString()); | ||||||
| 
 | 
 | ||||||
|     Object postBody = user; |     Object postBody = user; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user