@@ -173,7 +173,7 @@ export type PetsFilteredPatchRequestPetTypeEnum = typeof PetsFilteredPatchReques
173
173
* @type PetsPatchRequest
174
174
* @export
175
175
*/
176
- export type PetsPatchRequest = Cat | Dog ;
176
+ export type PetsPatchRequest = Cat | Dog | any ;
177
177
178
178
179
179
/**
@@ -217,11 +217,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
217
217
} ,
218
218
/**
219
219
*
220
- * @param {PetsFilteredPatchRequest | null } [petsFilteredPatchRequest]
220
+ * @param {PetsFilteredPatchRequest } [petsFilteredPatchRequest]
221
221
* @param {* } [options] Override http request option.
222
222
* @throws {RequiredError }
223
223
*/
224
- petsFilteredPatch : async ( petsFilteredPatchRequest ?: PetsFilteredPatchRequest | null , options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > => {
224
+ petsFilteredPatch : async ( petsFilteredPatchRequest ?: PetsFilteredPatchRequest , options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > => {
225
225
const localVarPath = `/pets-filtered` ;
226
226
// use dummy base URL string because the URL constructor only accepts absolute URLs.
227
227
const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
@@ -250,11 +250,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
250
250
} ,
251
251
/**
252
252
*
253
- * @param {PetsPatchRequest | null } [petsPatchRequest]
253
+ * @param {PetsPatchRequest } [petsPatchRequest]
254
254
* @param {* } [options] Override http request option.
255
255
* @throws {RequiredError }
256
256
*/
257
- petsPatch : async ( petsPatchRequest ?: PetsPatchRequest | null , options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > => {
257
+ petsPatch : async ( petsPatchRequest ?: PetsPatchRequest , options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > => {
258
258
const localVarPath = `/pets` ;
259
259
// use dummy base URL string because the URL constructor only accepts absolute URLs.
260
260
const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
@@ -305,23 +305,23 @@ export const DefaultApiFp = function(configuration?: Configuration) {
305
305
} ,
306
306
/**
307
307
*
308
- * @param {PetsFilteredPatchRequest | null } [petsFilteredPatchRequest]
308
+ * @param {PetsFilteredPatchRequest } [petsFilteredPatchRequest]
309
309
* @param {* } [options] Override http request option.
310
310
* @throws {RequiredError }
311
311
*/
312
- async petsFilteredPatch ( petsFilteredPatchRequest ?: PetsFilteredPatchRequest | null , options ?: RawAxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < void > > {
312
+ async petsFilteredPatch ( petsFilteredPatchRequest ?: PetsFilteredPatchRequest , options ?: RawAxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < void > > {
313
313
const localVarAxiosArgs = await localVarAxiosParamCreator . petsFilteredPatch ( petsFilteredPatchRequest , options ) ;
314
314
const localVarOperationServerIndex = configuration ?. serverIndex ?? 0 ;
315
315
const localVarOperationServerBasePath = operationServerMap [ 'DefaultApi.petsFilteredPatch' ] ?. [ localVarOperationServerIndex ] ?. url ;
316
316
return ( axios , basePath ) => createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ( axios , localVarOperationServerBasePath || basePath ) ;
317
317
} ,
318
318
/**
319
319
*
320
- * @param {PetsPatchRequest | null } [petsPatchRequest]
320
+ * @param {PetsPatchRequest } [petsPatchRequest]
321
321
* @param {* } [options] Override http request option.
322
322
* @throws {RequiredError }
323
323
*/
324
- async petsPatch ( petsPatchRequest ?: PetsPatchRequest | null , options ?: RawAxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < void > > {
324
+ async petsPatch ( petsPatchRequest ?: PetsPatchRequest , options ?: RawAxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < void > > {
325
325
const localVarAxiosArgs = await localVarAxiosParamCreator . petsPatch ( petsPatchRequest , options ) ;
326
326
const localVarOperationServerIndex = configuration ?. serverIndex ?? 0 ;
327
327
const localVarOperationServerBasePath = operationServerMap [ 'DefaultApi.petsPatch' ] ?. [ localVarOperationServerIndex ] ?. url ;
@@ -348,20 +348,20 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
348
348
} ,
349
349
/**
350
350
*
351
- * @param {PetsFilteredPatchRequest | null } [petsFilteredPatchRequest]
351
+ * @param {PetsFilteredPatchRequest } [petsFilteredPatchRequest]
352
352
* @param {* } [options] Override http request option.
353
353
* @throws {RequiredError }
354
354
*/
355
- petsFilteredPatch ( petsFilteredPatchRequest ?: PetsFilteredPatchRequest | null , options ?: RawAxiosRequestConfig ) : AxiosPromise < void > {
355
+ petsFilteredPatch ( petsFilteredPatchRequest ?: PetsFilteredPatchRequest , options ?: RawAxiosRequestConfig ) : AxiosPromise < void > {
356
356
return localVarFp . petsFilteredPatch ( petsFilteredPatchRequest , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
357
357
} ,
358
358
/**
359
359
*
360
- * @param {PetsPatchRequest | null } [petsPatchRequest]
360
+ * @param {PetsPatchRequest } [petsPatchRequest]
361
361
* @param {* } [options] Override http request option.
362
362
* @throws {RequiredError }
363
363
*/
364
- petsPatch ( petsPatchRequest ?: PetsPatchRequest | null , options ?: RawAxiosRequestConfig ) : AxiosPromise < void > {
364
+ petsPatch ( petsPatchRequest ?: PetsPatchRequest , options ?: RawAxiosRequestConfig ) : AxiosPromise < void > {
365
365
return localVarFp . petsPatch ( petsPatchRequest , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
366
366
} ,
367
367
} ;
@@ -387,23 +387,23 @@ export class DefaultApi extends BaseAPI {
387
387
388
388
/**
389
389
*
390
- * @param {PetsFilteredPatchRequest | null } [petsFilteredPatchRequest]
390
+ * @param {PetsFilteredPatchRequest } [petsFilteredPatchRequest]
391
391
* @param {* } [options] Override http request option.
392
392
* @throws {RequiredError }
393
393
* @memberof DefaultApi
394
394
*/
395
- public petsFilteredPatch ( petsFilteredPatchRequest ?: PetsFilteredPatchRequest | null , options ?: RawAxiosRequestConfig ) {
395
+ public petsFilteredPatch ( petsFilteredPatchRequest ?: PetsFilteredPatchRequest , options ?: RawAxiosRequestConfig ) {
396
396
return DefaultApiFp ( this . configuration ) . petsFilteredPatch ( petsFilteredPatchRequest , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
397
397
}
398
398
399
399
/**
400
400
*
401
- * @param {PetsPatchRequest | null } [petsPatchRequest]
401
+ * @param {PetsPatchRequest } [petsPatchRequest]
402
402
* @param {* } [options] Override http request option.
403
403
* @throws {RequiredError }
404
404
* @memberof DefaultApi
405
405
*/
406
- public petsPatch ( petsPatchRequest ?: PetsPatchRequest | null , options ?: RawAxiosRequestConfig ) {
406
+ public petsPatch ( petsPatchRequest ?: PetsPatchRequest , options ?: RawAxiosRequestConfig ) {
407
407
return DefaultApiFp ( this . configuration ) . petsPatch ( petsPatchRequest , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
408
408
}
409
409
}
0 commit comments