@@ -173,7 +173,7 @@ export type PetsFilteredPatchRequestPetTypeEnum = typeof PetsFilteredPatchReques
173173 * @type PetsPatchRequest
174174 * @export
175175 */
176- export type PetsPatchRequest = Cat | Dog ;
176+ export type PetsPatchRequest = Cat | Dog | any ;
177177
178178
179179/**
@@ -217,11 +217,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
217217 } ,
218218 /**
219219 *
220- * @param {PetsFilteredPatchRequest | null } [petsFilteredPatchRequest]
220+ * @param {PetsFilteredPatchRequest } [petsFilteredPatchRequest]
221221 * @param {* } [options] Override http request option.
222222 * @throws {RequiredError }
223223 */
224- petsFilteredPatch : async ( petsFilteredPatchRequest ?: PetsFilteredPatchRequest | null , options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > => {
224+ petsFilteredPatch : async ( petsFilteredPatchRequest ?: PetsFilteredPatchRequest , options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > => {
225225 const localVarPath = `/pets-filtered` ;
226226 // use dummy base URL string because the URL constructor only accepts absolute URLs.
227227 const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
@@ -250,11 +250,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
250250 } ,
251251 /**
252252 *
253- * @param {PetsPatchRequest | null } [petsPatchRequest]
253+ * @param {PetsPatchRequest } [petsPatchRequest]
254254 * @param {* } [options] Override http request option.
255255 * @throws {RequiredError }
256256 */
257- petsPatch : async ( petsPatchRequest ?: PetsPatchRequest | null , options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > => {
257+ petsPatch : async ( petsPatchRequest ?: PetsPatchRequest , options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > => {
258258 const localVarPath = `/pets` ;
259259 // use dummy base URL string because the URL constructor only accepts absolute URLs.
260260 const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
@@ -305,23 +305,23 @@ export const DefaultApiFp = function(configuration?: Configuration) {
305305 } ,
306306 /**
307307 *
308- * @param {PetsFilteredPatchRequest | null } [petsFilteredPatchRequest]
308+ * @param {PetsFilteredPatchRequest } [petsFilteredPatchRequest]
309309 * @param {* } [options] Override http request option.
310310 * @throws {RequiredError }
311311 */
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 > > {
313313 const localVarAxiosArgs = await localVarAxiosParamCreator . petsFilteredPatch ( petsFilteredPatchRequest , options ) ;
314314 const localVarOperationServerIndex = configuration ?. serverIndex ?? 0 ;
315315 const localVarOperationServerBasePath = operationServerMap [ 'DefaultApi.petsFilteredPatch' ] ?. [ localVarOperationServerIndex ] ?. url ;
316316 return ( axios , basePath ) => createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ( axios , localVarOperationServerBasePath || basePath ) ;
317317 } ,
318318 /**
319319 *
320- * @param {PetsPatchRequest | null } [petsPatchRequest]
320+ * @param {PetsPatchRequest } [petsPatchRequest]
321321 * @param {* } [options] Override http request option.
322322 * @throws {RequiredError }
323323 */
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 > > {
325325 const localVarAxiosArgs = await localVarAxiosParamCreator . petsPatch ( petsPatchRequest , options ) ;
326326 const localVarOperationServerIndex = configuration ?. serverIndex ?? 0 ;
327327 const localVarOperationServerBasePath = operationServerMap [ 'DefaultApi.petsPatch' ] ?. [ localVarOperationServerIndex ] ?. url ;
@@ -348,20 +348,20 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
348348 } ,
349349 /**
350350 *
351- * @param {PetsFilteredPatchRequest | null } [petsFilteredPatchRequest]
351+ * @param {PetsFilteredPatchRequest } [petsFilteredPatchRequest]
352352 * @param {* } [options] Override http request option.
353353 * @throws {RequiredError }
354354 */
355- petsFilteredPatch ( petsFilteredPatchRequest ?: PetsFilteredPatchRequest | null , options ?: RawAxiosRequestConfig ) : AxiosPromise < void > {
355+ petsFilteredPatch ( petsFilteredPatchRequest ?: PetsFilteredPatchRequest , options ?: RawAxiosRequestConfig ) : AxiosPromise < void > {
356356 return localVarFp . petsFilteredPatch ( petsFilteredPatchRequest , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
357357 } ,
358358 /**
359359 *
360- * @param {PetsPatchRequest | null } [petsPatchRequest]
360+ * @param {PetsPatchRequest } [petsPatchRequest]
361361 * @param {* } [options] Override http request option.
362362 * @throws {RequiredError }
363363 */
364- petsPatch ( petsPatchRequest ?: PetsPatchRequest | null , options ?: RawAxiosRequestConfig ) : AxiosPromise < void > {
364+ petsPatch ( petsPatchRequest ?: PetsPatchRequest , options ?: RawAxiosRequestConfig ) : AxiosPromise < void > {
365365 return localVarFp . petsPatch ( petsPatchRequest , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
366366 } ,
367367 } ;
@@ -387,23 +387,23 @@ export class DefaultApi extends BaseAPI {
387387
388388 /**
389389 *
390- * @param {PetsFilteredPatchRequest | null } [petsFilteredPatchRequest]
390+ * @param {PetsFilteredPatchRequest } [petsFilteredPatchRequest]
391391 * @param {* } [options] Override http request option.
392392 * @throws {RequiredError }
393393 * @memberof DefaultApi
394394 */
395- public petsFilteredPatch ( petsFilteredPatchRequest ?: PetsFilteredPatchRequest | null , options ?: RawAxiosRequestConfig ) {
395+ public petsFilteredPatch ( petsFilteredPatchRequest ?: PetsFilteredPatchRequest , options ?: RawAxiosRequestConfig ) {
396396 return DefaultApiFp ( this . configuration ) . petsFilteredPatch ( petsFilteredPatchRequest , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
397397 }
398398
399399 /**
400400 *
401- * @param {PetsPatchRequest | null } [petsPatchRequest]
401+ * @param {PetsPatchRequest } [petsPatchRequest]
402402 * @param {* } [options] Override http request option.
403403 * @throws {RequiredError }
404404 * @memberof DefaultApi
405405 */
406- public petsPatch ( petsPatchRequest ?: PetsPatchRequest | null , options ?: RawAxiosRequestConfig ) {
406+ public petsPatch ( petsPatchRequest ?: PetsPatchRequest , options ?: RawAxiosRequestConfig ) {
407407 return DefaultApiFp ( this . configuration ) . petsPatch ( petsPatchRequest , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
408408 }
409409}
0 commit comments