forked from loafle/openapi-generator-original
Change options from any to RawAxiosRequestConfig in typescript-axios and update samples (#18978)
Co-authored-by: Marek Bodinger <marek.bodinger@gmail.com>
This commit is contained in:
@@ -308,7 +308,7 @@ export const {{classname}}Factory = function (configuration?: Configuration, bas
|
||||
},
|
||||
{{/useSingleRequestParameter}}
|
||||
{{^useSingleRequestParameter}}
|
||||
{{nickname}}({{#allParams}}{{paramName}}{{^required}}?{{/required}}: {{#isEnum}}{{{datatypeWithEnum}}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{#isNullable}} | null{{/isNullable}}{{/isEnum}}, {{/allParams}}options?: any): AxiosPromise<{{{returnType}}}{{^returnType}}void{{/returnType}}> {
|
||||
{{nickname}}({{#allParams}}{{paramName}}{{^required}}?{{/required}}: {{#isEnum}}{{{datatypeWithEnum}}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{#isNullable}} | null{{/isNullable}}{{/isEnum}}, {{/allParams}}options?: RawAxiosRequestConfig): AxiosPromise<{{{returnType}}}{{^returnType}}void{{/returnType}}> {
|
||||
return localVarFp.{{nickname}}({{#allParams}}{{paramName}}, {{/allParams}}options).then((request) => request(axios, basePath));
|
||||
},
|
||||
{{/useSingleRequestParameter}}
|
||||
|
||||
@@ -473,7 +473,7 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testAuthHttpBasic(options?: any): AxiosPromise<string> {
|
||||
testAuthHttpBasic(options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testAuthHttpBasic(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -482,7 +482,7 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testAuthHttpBearer(options?: any): AxiosPromise<string> {
|
||||
testAuthHttpBearer(options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testAuthHttpBearer(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -1031,7 +1031,7 @@ export const BodyApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testBinaryGif(options?: any): AxiosPromise<File> {
|
||||
testBinaryGif(options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
||||
return localVarFp.testBinaryGif(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1041,7 +1041,7 @@ export const BodyApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testBodyApplicationOctetstreamBinary(body?: File, options?: any): AxiosPromise<string> {
|
||||
testBodyApplicationOctetstreamBinary(body?: File, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testBodyApplicationOctetstreamBinary(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1051,7 +1051,7 @@ export const BodyApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testBodyMultipartFormdataArrayOfBinary(files: Array<File>, options?: any): AxiosPromise<string> {
|
||||
testBodyMultipartFormdataArrayOfBinary(files: Array<File>, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testBodyMultipartFormdataArrayOfBinary(files, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1061,7 +1061,7 @@ export const BodyApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testBodyMultipartFormdataSingleBinary(myFile?: File, options?: any): AxiosPromise<string> {
|
||||
testBodyMultipartFormdataSingleBinary(myFile?: File, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testBodyMultipartFormdataSingleBinary(myFile, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1071,7 +1071,7 @@ export const BodyApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testEchoBodyAllOfPet(pet?: Pet, options?: any): AxiosPromise<Pet> {
|
||||
testEchoBodyAllOfPet(pet?: Pet, options?: RawAxiosRequestConfig): AxiosPromise<Pet> {
|
||||
return localVarFp.testEchoBodyAllOfPet(pet, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1081,7 +1081,7 @@ export const BodyApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testEchoBodyFreeFormObjectResponseString(body?: object, options?: any): AxiosPromise<string> {
|
||||
testEchoBodyFreeFormObjectResponseString(body?: object, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testEchoBodyFreeFormObjectResponseString(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1091,7 +1091,7 @@ export const BodyApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testEchoBodyPet(pet?: Pet, options?: any): AxiosPromise<Pet> {
|
||||
testEchoBodyPet(pet?: Pet, options?: RawAxiosRequestConfig): AxiosPromise<Pet> {
|
||||
return localVarFp.testEchoBodyPet(pet, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1101,7 +1101,7 @@ export const BodyApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testEchoBodyPetResponseString(pet?: Pet, options?: any): AxiosPromise<string> {
|
||||
testEchoBodyPetResponseString(pet?: Pet, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testEchoBodyPetResponseString(pet, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1111,7 +1111,7 @@ export const BodyApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testEchoBodyStringEnum(body?: string, options?: any): AxiosPromise<StringEnumRef> {
|
||||
testEchoBodyStringEnum(body?: string, options?: RawAxiosRequestConfig): AxiosPromise<StringEnumRef> {
|
||||
return localVarFp.testEchoBodyStringEnum(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1121,7 +1121,7 @@ export const BodyApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testEchoBodyTagResponseString(tag?: Tag, options?: any): AxiosPromise<string> {
|
||||
testEchoBodyTagResponseString(tag?: Tag, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testEchoBodyTagResponseString(tag, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -1491,7 +1491,7 @@ export const FormApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testFormIntegerBooleanString(integerForm?: number, booleanForm?: boolean, stringForm?: string, options?: any): AxiosPromise<string> {
|
||||
testFormIntegerBooleanString(integerForm?: number, booleanForm?: boolean, stringForm?: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testFormIntegerBooleanString(integerForm, booleanForm, stringForm, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1501,7 +1501,7 @@ export const FormApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testFormObjectMultipart(marker: TestFormObjectMultipartRequestMarker, options?: any): AxiosPromise<string> {
|
||||
testFormObjectMultipart(marker: TestFormObjectMultipartRequestMarker, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testFormObjectMultipart(marker, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1516,7 +1516,7 @@ export const FormApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testFormOneof(form1?: string, form2?: number, form3?: string, form4?: boolean, id?: number, name?: string, options?: any): AxiosPromise<string> {
|
||||
testFormOneof(form1?: string, form2?: number, form3?: string, form4?: boolean, id?: number, name?: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testFormOneof(form1, form2, form3, form4, id, name, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -1690,7 +1690,7 @@ export const HeaderApiFactory = function (configuration?: Configuration, basePat
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testHeaderIntegerBooleanStringEnums(integerHeader?: number, booleanHeader?: boolean, stringHeader?: string, enumNonrefStringHeader?: TestHeaderIntegerBooleanStringEnumsEnumNonrefStringHeaderEnum, enumRefStringHeader?: StringEnumRef, options?: any): AxiosPromise<string> {
|
||||
testHeaderIntegerBooleanStringEnums(integerHeader?: number, booleanHeader?: boolean, stringHeader?: string, enumNonrefStringHeader?: TestHeaderIntegerBooleanStringEnumsEnumNonrefStringHeaderEnum, enumRefStringHeader?: StringEnumRef, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testHeaderIntegerBooleanStringEnums(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -1829,7 +1829,7 @@ export const PathApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString: string, pathInteger: number, enumNonrefStringPath: TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum, enumRefStringPath: StringEnumRef, options?: any): AxiosPromise<string> {
|
||||
testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString: string, pathInteger: number, enumNonrefStringPath: TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum, enumRefStringPath: StringEnumRef, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -2427,7 +2427,7 @@ export const QueryApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testEnumRefString(enumNonrefStringQuery?: TestEnumRefStringEnumNonrefStringQueryEnum, enumRefStringQuery?: StringEnumRef, options?: any): AxiosPromise<string> {
|
||||
testEnumRefString(enumNonrefStringQuery?: TestEnumRefStringEnumNonrefStringQueryEnum, enumRefStringQuery?: StringEnumRef, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testEnumRefString(enumNonrefStringQuery, enumRefStringQuery, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2439,7 +2439,7 @@ export const QueryApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testQueryDatetimeDateString(datetimeQuery?: string, dateQuery?: string, stringQuery?: string, options?: any): AxiosPromise<string> {
|
||||
testQueryDatetimeDateString(datetimeQuery?: string, dateQuery?: string, stringQuery?: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testQueryDatetimeDateString(datetimeQuery, dateQuery, stringQuery, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2451,7 +2451,7 @@ export const QueryApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testQueryIntegerBooleanString(integerQuery?: number, booleanQuery?: boolean, stringQuery?: string, options?: any): AxiosPromise<string> {
|
||||
testQueryIntegerBooleanString(integerQuery?: number, booleanQuery?: boolean, stringQuery?: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testQueryIntegerBooleanString(integerQuery, booleanQuery, stringQuery, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2461,7 +2461,7 @@ export const QueryApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testQueryStyleDeepObjectExplodeTrueObject(queryObject?: Pet, options?: any): AxiosPromise<string> {
|
||||
testQueryStyleDeepObjectExplodeTrueObject(queryObject?: Pet, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testQueryStyleDeepObjectExplodeTrueObject(queryObject, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2471,7 +2471,7 @@ export const QueryApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testQueryStyleDeepObjectExplodeTrueObjectAllOf(queryObject?: TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter, options?: any): AxiosPromise<string> {
|
||||
testQueryStyleDeepObjectExplodeTrueObjectAllOf(queryObject?: TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testQueryStyleDeepObjectExplodeTrueObjectAllOf(queryObject, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2481,7 +2481,7 @@ export const QueryApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testQueryStyleFormExplodeFalseArrayInteger(queryObject?: Array<number>, options?: any): AxiosPromise<string> {
|
||||
testQueryStyleFormExplodeFalseArrayInteger(queryObject?: Array<number>, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testQueryStyleFormExplodeFalseArrayInteger(queryObject, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2491,7 +2491,7 @@ export const QueryApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testQueryStyleFormExplodeFalseArrayString(queryObject?: Array<string>, options?: any): AxiosPromise<string> {
|
||||
testQueryStyleFormExplodeFalseArrayString(queryObject?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testQueryStyleFormExplodeFalseArrayString(queryObject, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2501,7 +2501,7 @@ export const QueryApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testQueryStyleFormExplodeTrueArrayString(queryObject?: TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter, options?: any): AxiosPromise<string> {
|
||||
testQueryStyleFormExplodeTrueArrayString(queryObject?: TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testQueryStyleFormExplodeTrueArrayString(queryObject, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2511,7 +2511,7 @@ export const QueryApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testQueryStyleFormExplodeTrueObject(queryObject?: Pet, options?: any): AxiosPromise<string> {
|
||||
testQueryStyleFormExplodeTrueObject(queryObject?: Pet, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testQueryStyleFormExplodeTrueObject(queryObject, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2521,7 +2521,7 @@ export const QueryApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testQueryStyleFormExplodeTrueObjectAllOf(queryObject?: DataQuery, options?: any): AxiosPromise<string> {
|
||||
testQueryStyleFormExplodeTrueObjectAllOf(queryObject?: DataQuery, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.testQueryStyleFormExplodeTrueObjectAllOf(queryObject, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
|
||||
@@ -343,7 +343,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
filePost(filePostRequest?: FilePostRequest, options?: any): AxiosPromise<void> {
|
||||
filePost(filePostRequest?: FilePostRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.filePost(filePostRequest, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -352,7 +352,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
petsFilteredPatch(petsFilteredPatchRequest?: PetsFilteredPatchRequest | null, options?: any): AxiosPromise<void> {
|
||||
petsFilteredPatch(petsFilteredPatchRequest?: PetsFilteredPatchRequest | null, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.petsFilteredPatch(petsFilteredPatchRequest, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -361,7 +361,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
petsPatch(petsPatchRequest?: PetsPatchRequest | null, options?: any): AxiosPromise<void> {
|
||||
petsPatch(petsPatchRequest?: PetsPatchRequest | null, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.petsPatch(petsPatchRequest, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
|
||||
@@ -736,7 +736,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addPet(body: Pet, options?: any): AxiosPromise<void> {
|
||||
addPet(body: Pet, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.addPet(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -747,7 +747,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deletePet(petId: number, apiKey?: string, options?: any): AxiosPromise<void> {
|
||||
deletePet(petId: number, apiKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deletePet(petId, apiKey, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -757,7 +757,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
findPetsByStatus(status: Array<FindPetsByStatusStatusEnum>, options?: any): AxiosPromise<Array<Pet>> {
|
||||
findPetsByStatus(status: Array<FindPetsByStatusStatusEnum>, options?: RawAxiosRequestConfig): AxiosPromise<Array<Pet>> {
|
||||
return localVarFp.findPetsByStatus(status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -768,7 +768,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @deprecated
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
findPetsByTags(tags: Array<string>, options?: any): AxiosPromise<Array<Pet>> {
|
||||
findPetsByTags(tags: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<Array<Pet>> {
|
||||
return localVarFp.findPetsByTags(tags, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -778,7 +778,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getPetById(petId: number, options?: any): AxiosPromise<Pet> {
|
||||
getPetById(petId: number, options?: RawAxiosRequestConfig): AxiosPromise<Pet> {
|
||||
return localVarFp.getPetById(petId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -788,7 +788,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePet(body: Pet, options?: any): AxiosPromise<void> {
|
||||
updatePet(body: Pet, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updatePet(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -800,7 +800,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePetWithForm(petId: number, name?: string, status?: string, options?: any): AxiosPromise<void> {
|
||||
updatePetWithForm(petId: number, name?: string, status?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updatePetWithForm(petId, name, status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -812,7 +812,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
uploadFile(petId: number, additionalMetadata?: string, file?: File, options?: any): AxiosPromise<ApiResponse> {
|
||||
uploadFile(petId: number, additionalMetadata?: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<ApiResponse> {
|
||||
return localVarFp.uploadFile(petId, additionalMetadata, file, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -1160,7 +1160,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deleteOrder(orderId: string, options?: any): AxiosPromise<void> {
|
||||
deleteOrder(orderId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deleteOrder(orderId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1169,7 +1169,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getInventory(options?: any): AxiosPromise<{ [key: string]: number; }> {
|
||||
getInventory(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: number; }> {
|
||||
return localVarFp.getInventory(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1179,7 +1179,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getOrderById(orderId: number, options?: any): AxiosPromise<Order> {
|
||||
getOrderById(orderId: number, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
||||
return localVarFp.getOrderById(orderId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1189,7 +1189,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
placeOrder(body: Order, options?: any): AxiosPromise<Order> {
|
||||
placeOrder(body: Order, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
||||
return localVarFp.placeOrder(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -1680,7 +1680,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUser(body: User, options?: any): AxiosPromise<void> {
|
||||
createUser(body: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUser(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1690,7 +1690,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUsersWithArrayInput(body: Array<User>, options?: any): AxiosPromise<void> {
|
||||
createUsersWithArrayInput(body: Array<User>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUsersWithArrayInput(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1700,7 +1700,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUsersWithListInput(body: Array<User>, options?: any): AxiosPromise<void> {
|
||||
createUsersWithListInput(body: Array<User>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUsersWithListInput(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1710,7 +1710,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deleteUser(username: string, options?: any): AxiosPromise<void> {
|
||||
deleteUser(username: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deleteUser(username, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1720,7 +1720,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getUserByName(username: string, options?: any): AxiosPromise<User> {
|
||||
getUserByName(username: string, options?: RawAxiosRequestConfig): AxiosPromise<User> {
|
||||
return localVarFp.getUserByName(username, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1731,7 +1731,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
loginUser(username: string, password: string, options?: any): AxiosPromise<string> {
|
||||
loginUser(username: string, password: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.loginUser(username, password, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1740,7 +1740,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
logoutUser(options?: any): AxiosPromise<void> {
|
||||
logoutUser(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.logoutUser(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1751,7 +1751,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateUser(username: string, body: User, options?: any): AxiosPromise<void> {
|
||||
updateUser(username: string, body: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updateUser(username, body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
|
||||
@@ -736,7 +736,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addPet(body: Pet, options?: any): AxiosPromise<void> {
|
||||
addPet(body: Pet, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.addPet(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -747,7 +747,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deletePet(petId: number, apiKey?: string, options?: any): AxiosPromise<void> {
|
||||
deletePet(petId: number, apiKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deletePet(petId, apiKey, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -757,7 +757,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
findPetsByStatus(status: Array<FindPetsByStatusStatusEnum>, options?: any): AxiosPromise<Array<Pet>> {
|
||||
findPetsByStatus(status: Array<FindPetsByStatusStatusEnum>, options?: RawAxiosRequestConfig): AxiosPromise<Array<Pet>> {
|
||||
return localVarFp.findPetsByStatus(status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -768,7 +768,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @deprecated
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
findPetsByTags(tags: Array<string>, options?: any): AxiosPromise<Array<Pet>> {
|
||||
findPetsByTags(tags: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<Array<Pet>> {
|
||||
return localVarFp.findPetsByTags(tags, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -778,7 +778,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getPetById(petId: number, options?: any): AxiosPromise<Pet> {
|
||||
getPetById(petId: number, options?: RawAxiosRequestConfig): AxiosPromise<Pet> {
|
||||
return localVarFp.getPetById(petId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -788,7 +788,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePet(body: Pet, options?: any): AxiosPromise<void> {
|
||||
updatePet(body: Pet, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updatePet(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -800,7 +800,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePetWithForm(petId: number, name?: string, status?: string, options?: any): AxiosPromise<void> {
|
||||
updatePetWithForm(petId: number, name?: string, status?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updatePetWithForm(petId, name, status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -812,7 +812,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
uploadFile(petId: number, additionalMetadata?: string, file?: File, options?: any): AxiosPromise<ApiResponse> {
|
||||
uploadFile(petId: number, additionalMetadata?: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<ApiResponse> {
|
||||
return localVarFp.uploadFile(petId, additionalMetadata, file, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -1160,7 +1160,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deleteOrder(orderId: string, options?: any): AxiosPromise<void> {
|
||||
deleteOrder(orderId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deleteOrder(orderId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1169,7 +1169,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getInventory(options?: any): AxiosPromise<{ [key: string]: number; }> {
|
||||
getInventory(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: number; }> {
|
||||
return localVarFp.getInventory(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1179,7 +1179,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getOrderById(orderId: number, options?: any): AxiosPromise<Order> {
|
||||
getOrderById(orderId: number, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
||||
return localVarFp.getOrderById(orderId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1189,7 +1189,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
placeOrder(body: Order, options?: any): AxiosPromise<Order> {
|
||||
placeOrder(body: Order, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
||||
return localVarFp.placeOrder(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -1680,7 +1680,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUser(body: User, options?: any): AxiosPromise<void> {
|
||||
createUser(body: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUser(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1690,7 +1690,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUsersWithArrayInput(body: Array<User>, options?: any): AxiosPromise<void> {
|
||||
createUsersWithArrayInput(body: Array<User>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUsersWithArrayInput(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1700,7 +1700,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUsersWithListInput(body: Array<User>, options?: any): AxiosPromise<void> {
|
||||
createUsersWithListInput(body: Array<User>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUsersWithListInput(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1710,7 +1710,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deleteUser(username: string, options?: any): AxiosPromise<void> {
|
||||
deleteUser(username: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deleteUser(username, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1720,7 +1720,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getUserByName(username: string, options?: any): AxiosPromise<User> {
|
||||
getUserByName(username: string, options?: RawAxiosRequestConfig): AxiosPromise<User> {
|
||||
return localVarFp.getUserByName(username, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1731,7 +1731,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
loginUser(username: string, password: string, options?: any): AxiosPromise<string> {
|
||||
loginUser(username: string, password: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.loginUser(username, password, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1740,7 +1740,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
logoutUser(options?: any): AxiosPromise<void> {
|
||||
logoutUser(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.logoutUser(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1751,7 +1751,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateUser(username: string, body: User, options?: any): AxiosPromise<void> {
|
||||
updateUser(username: string, body: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updateUser(username, body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1818,7 +1818,7 @@ export const AnotherFakeApiFactory = function (configuration?: Configuration, ba
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
_123testSpecialTags(client: Client, options?: any): AxiosPromise<Client> {
|
||||
_123testSpecialTags(client: Client, options?: RawAxiosRequestConfig): AxiosPromise<Client> {
|
||||
return localVarFp._123testSpecialTags(client, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -1917,7 +1917,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
fooGet(options?: any): AxiosPromise<FooGetDefaultResponse> {
|
||||
fooGet(options?: RawAxiosRequestConfig): AxiosPromise<FooGetDefaultResponse> {
|
||||
return localVarFp.fooGet(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -3104,7 +3104,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
fakeHealthGet(options?: any): AxiosPromise<HealthCheckResult> {
|
||||
fakeHealthGet(options?: RawAxiosRequestConfig): AxiosPromise<HealthCheckResult> {
|
||||
return localVarFp.fakeHealthGet(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3113,7 +3113,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
fakeOuterBooleanSerialize(body?: boolean, options?: any): AxiosPromise<boolean> {
|
||||
fakeOuterBooleanSerialize(body?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
|
||||
return localVarFp.fakeOuterBooleanSerialize(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3122,7 +3122,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
fakeOuterCompositeSerialize(outerComposite?: OuterComposite, options?: any): AxiosPromise<OuterComposite> {
|
||||
fakeOuterCompositeSerialize(outerComposite?: OuterComposite, options?: RawAxiosRequestConfig): AxiosPromise<OuterComposite> {
|
||||
return localVarFp.fakeOuterCompositeSerialize(outerComposite, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3131,7 +3131,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
fakeOuterNumberSerialize(body?: number, options?: any): AxiosPromise<number> {
|
||||
fakeOuterNumberSerialize(body?: number, options?: RawAxiosRequestConfig): AxiosPromise<number> {
|
||||
return localVarFp.fakeOuterNumberSerialize(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3140,7 +3140,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
fakeOuterStringSerialize(body?: string, options?: any): AxiosPromise<string> {
|
||||
fakeOuterStringSerialize(body?: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.fakeOuterStringSerialize(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3149,7 +3149,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getArrayOfEnums(options?: any): AxiosPromise<Array<OuterEnum>> {
|
||||
getArrayOfEnums(options?: RawAxiosRequestConfig): AxiosPromise<Array<OuterEnum>> {
|
||||
return localVarFp.getArrayOfEnums(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3159,7 +3159,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
postArrayOfString(requestBody?: Array<string>, options?: any): AxiosPromise<void> {
|
||||
postArrayOfString(requestBody?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.postArrayOfString(requestBody, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3169,7 +3169,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testAdditionalPropertiesReference(requestBody: { [key: string]: any; }, options?: any): AxiosPromise<void> {
|
||||
testAdditionalPropertiesReference(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testAdditionalPropertiesReference(requestBody, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3178,7 +3178,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testBodyWithFileSchema(fileSchemaTestClass: FileSchemaTestClass, options?: any): AxiosPromise<void> {
|
||||
testBodyWithFileSchema(fileSchemaTestClass: FileSchemaTestClass, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testBodyWithFileSchema(fileSchemaTestClass, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3188,7 +3188,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testBodyWithQueryParams(query: string, user: User, options?: any): AxiosPromise<void> {
|
||||
testBodyWithQueryParams(query: string, user: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testBodyWithQueryParams(query, user, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3198,7 +3198,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testClientModel(client: Client, options?: any): AxiosPromise<Client> {
|
||||
testClientModel(client: Client, options?: RawAxiosRequestConfig): AxiosPromise<Client> {
|
||||
return localVarFp.testClientModel(client, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3221,7 +3221,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testEndpointParameters(number: number, _double: number, patternWithoutDelimiter: string, _byte: string, integer?: number, int32?: number, int64?: number, _float?: number, string?: string, binary?: File, date?: string, dateTime?: string, password?: string, callback?: string, options?: any): AxiosPromise<void> {
|
||||
testEndpointParameters(number: number, _double: number, patternWithoutDelimiter: string, _byte: string, integer?: number, int32?: number, int64?: number, _float?: number, string?: string, binary?: File, date?: string, dateTime?: string, password?: string, callback?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, callback, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3238,7 +3238,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testEnumParameters(enumHeaderStringArray?: Array<TestEnumParametersEnumHeaderStringArrayEnum>, enumHeaderString?: TestEnumParametersEnumHeaderStringEnum, enumQueryStringArray?: Array<TestEnumParametersEnumQueryStringArrayEnum>, enumQueryString?: TestEnumParametersEnumQueryStringEnum, enumQueryInteger?: TestEnumParametersEnumQueryIntegerEnum, enumQueryDouble?: TestEnumParametersEnumQueryDoubleEnum, enumFormStringArray?: Array<TestEnumParametersEnumFormStringArrayEnum>, enumFormString?: TestEnumParametersEnumFormStringEnum, options?: any): AxiosPromise<void> {
|
||||
testEnumParameters(enumHeaderStringArray?: Array<TestEnumParametersEnumHeaderStringArrayEnum>, enumHeaderString?: TestEnumParametersEnumHeaderStringEnum, enumQueryStringArray?: Array<TestEnumParametersEnumQueryStringArrayEnum>, enumQueryString?: TestEnumParametersEnumQueryStringEnum, enumQueryInteger?: TestEnumParametersEnumQueryIntegerEnum, enumQueryDouble?: TestEnumParametersEnumQueryDoubleEnum, enumFormStringArray?: Array<TestEnumParametersEnumFormStringArrayEnum>, enumFormString?: TestEnumParametersEnumFormStringEnum, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3253,7 +3253,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testGroupParameters(requiredStringGroup: number, requiredBooleanGroup: boolean, requiredInt64Group: number, stringGroup?: number, booleanGroup?: boolean, int64Group?: number, options?: any): AxiosPromise<void> {
|
||||
testGroupParameters(requiredStringGroup: number, requiredBooleanGroup: boolean, requiredInt64Group: number, stringGroup?: number, booleanGroup?: boolean, int64Group?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3263,7 +3263,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testInlineAdditionalProperties(requestBody: { [key: string]: string; }, options?: any): AxiosPromise<void> {
|
||||
testInlineAdditionalProperties(requestBody: { [key: string]: string; }, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testInlineAdditionalProperties(requestBody, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3273,7 +3273,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest: TestInlineFreeformAdditionalPropertiesRequest, options?: any): AxiosPromise<void> {
|
||||
testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest: TestInlineFreeformAdditionalPropertiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3284,7 +3284,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testJsonFormData(param: string, param2: string, options?: any): AxiosPromise<void> {
|
||||
testJsonFormData(param: string, param2: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testJsonFormData(param, param2, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3297,7 +3297,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testQueryParameterCollectionFormat(pipe: Array<string>, ioutil: Array<string>, http: Array<string>, url: Array<string>, context: Array<string>, options?: any): AxiosPromise<void> {
|
||||
testQueryParameterCollectionFormat(pipe: Array<string>, ioutil: Array<string>, http: Array<string>, url: Array<string>, context: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3307,7 +3307,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testStringMapReference(requestBody: { [key: string]: string; }, options?: any): AxiosPromise<void> {
|
||||
testStringMapReference(requestBody: { [key: string]: string; }, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testStringMapReference(requestBody, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -3725,7 +3725,7 @@ export const FakeClassnameTags123ApiFactory = function (configuration?: Configur
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testClassname(client: Client, options?: any): AxiosPromise<Client> {
|
||||
testClassname(client: Client, options?: RawAxiosRequestConfig): AxiosPromise<Client> {
|
||||
return localVarFp.testClassname(client, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -4320,7 +4320,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addPet(pet: Pet, options?: any): AxiosPromise<void> {
|
||||
addPet(pet: Pet, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.addPet(pet, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4331,7 +4331,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deletePet(petId: number, apiKey?: string, options?: any): AxiosPromise<void> {
|
||||
deletePet(petId: number, apiKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deletePet(petId, apiKey, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4341,7 +4341,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
findPetsByStatus(status: Array<FindPetsByStatusStatusEnum>, options?: any): AxiosPromise<Array<Pet>> {
|
||||
findPetsByStatus(status: Array<FindPetsByStatusStatusEnum>, options?: RawAxiosRequestConfig): AxiosPromise<Array<Pet>> {
|
||||
return localVarFp.findPetsByStatus(status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4352,7 +4352,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @deprecated
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
findPetsByTags(tags: Array<string>, options?: any): AxiosPromise<Array<Pet>> {
|
||||
findPetsByTags(tags: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<Array<Pet>> {
|
||||
return localVarFp.findPetsByTags(tags, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4362,7 +4362,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getPetById(petId: number, options?: any): AxiosPromise<Pet> {
|
||||
getPetById(petId: number, options?: RawAxiosRequestConfig): AxiosPromise<Pet> {
|
||||
return localVarFp.getPetById(petId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4372,7 +4372,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePet(pet: Pet, options?: any): AxiosPromise<void> {
|
||||
updatePet(pet: Pet, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updatePet(pet, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4384,7 +4384,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePetWithForm(petId: number, name?: string, status?: string, options?: any): AxiosPromise<void> {
|
||||
updatePetWithForm(petId: number, name?: string, status?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updatePetWithForm(petId, name, status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4396,7 +4396,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
uploadFile(petId: number, additionalMetadata?: string, file?: File, options?: any): AxiosPromise<ApiResponse> {
|
||||
uploadFile(petId: number, additionalMetadata?: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<ApiResponse> {
|
||||
return localVarFp.uploadFile(petId, additionalMetadata, file, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4408,7 +4408,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
uploadFileWithRequiredFile(petId: number, requiredFile: File, additionalMetadata?: string, options?: any): AxiosPromise<ApiResponse> {
|
||||
uploadFileWithRequiredFile(petId: number, requiredFile: File, additionalMetadata?: string, options?: RawAxiosRequestConfig): AxiosPromise<ApiResponse> {
|
||||
return localVarFp.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -4770,7 +4770,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deleteOrder(orderId: string, options?: any): AxiosPromise<void> {
|
||||
deleteOrder(orderId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deleteOrder(orderId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4779,7 +4779,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getInventory(options?: any): AxiosPromise<{ [key: string]: number; }> {
|
||||
getInventory(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: number; }> {
|
||||
return localVarFp.getInventory(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4789,7 +4789,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getOrderById(orderId: number, options?: any): AxiosPromise<Order> {
|
||||
getOrderById(orderId: number, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
||||
return localVarFp.getOrderById(orderId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4799,7 +4799,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
placeOrder(order: Order, options?: any): AxiosPromise<Order> {
|
||||
placeOrder(order: Order, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
||||
return localVarFp.placeOrder(order, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -5290,7 +5290,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUser(user: User, options?: any): AxiosPromise<void> {
|
||||
createUser(user: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUser(user, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -5300,7 +5300,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUsersWithArrayInput(user: Array<User>, options?: any): AxiosPromise<void> {
|
||||
createUsersWithArrayInput(user: Array<User>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUsersWithArrayInput(user, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -5310,7 +5310,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUsersWithListInput(user: Array<User>, options?: any): AxiosPromise<void> {
|
||||
createUsersWithListInput(user: Array<User>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUsersWithListInput(user, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -5320,7 +5320,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deleteUser(username: string, options?: any): AxiosPromise<void> {
|
||||
deleteUser(username: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deleteUser(username, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -5330,7 +5330,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getUserByName(username: string, options?: any): AxiosPromise<User> {
|
||||
getUserByName(username: string, options?: RawAxiosRequestConfig): AxiosPromise<User> {
|
||||
return localVarFp.getUserByName(username, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -5341,7 +5341,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
loginUser(username: string, password: string, options?: any): AxiosPromise<string> {
|
||||
loginUser(username: string, password: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.loginUser(username, password, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -5350,7 +5350,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
logoutUser(options?: any): AxiosPromise<void> {
|
||||
logoutUser(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.logoutUser(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -5361,7 +5361,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateUser(username: string, user: User, options?: any): AxiosPromise<void> {
|
||||
updateUser(username: string, user: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updateUser(username, user, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
|
||||
@@ -776,7 +776,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addPet(pet: Pet, header1?: Pet, header2?: Array<Pet>, accept?: MediaType, options?: any): AxiosPromise<void> {
|
||||
addPet(pet: Pet, header1?: Pet, header2?: Array<Pet>, accept?: MediaType, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.addPet(pet, header1, header2, accept, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -787,7 +787,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deletePet(petId: number, apiKey?: string, options?: any): AxiosPromise<void> {
|
||||
deletePet(petId: number, apiKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deletePet(petId, apiKey, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -797,7 +797,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
findPetsByStatus(status: Array<FindPetsByStatusStatusEnum>, options?: any): AxiosPromise<Array<Pet>> {
|
||||
findPetsByStatus(status: Array<FindPetsByStatusStatusEnum>, options?: RawAxiosRequestConfig): AxiosPromise<Array<Pet>> {
|
||||
return localVarFp.findPetsByStatus(status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -808,7 +808,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @deprecated
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
findPetsByTags(tags: Array<string>, options?: any): AxiosPromise<Array<Pet>> {
|
||||
findPetsByTags(tags: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<Array<Pet>> {
|
||||
return localVarFp.findPetsByTags(tags, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -818,7 +818,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getPetById(petId: number, options?: any): AxiosPromise<Pet> {
|
||||
getPetById(petId: number, options?: RawAxiosRequestConfig): AxiosPromise<Pet> {
|
||||
return localVarFp.getPetById(petId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -828,7 +828,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePet(pet: Pet, options?: any): AxiosPromise<void> {
|
||||
updatePet(pet: Pet, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updatePet(pet, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -840,7 +840,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePetWithForm(petId: number, name?: string, status?: string, options?: any): AxiosPromise<void> {
|
||||
updatePetWithForm(petId: number, name?: string, status?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updatePetWithForm(petId, name, status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -852,7 +852,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
uploadFile(petId: number, additionalMetadata?: string, file?: File, options?: any): AxiosPromise<ApiResponse> {
|
||||
uploadFile(petId: number, additionalMetadata?: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<ApiResponse> {
|
||||
return localVarFp.uploadFile(petId, additionalMetadata, file, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -1203,7 +1203,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deleteOrder(orderId: string, options?: any): AxiosPromise<void> {
|
||||
deleteOrder(orderId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deleteOrder(orderId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1212,7 +1212,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getInventory(options?: any): AxiosPromise<{ [key: string]: number; }> {
|
||||
getInventory(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: number; }> {
|
||||
return localVarFp.getInventory(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1222,7 +1222,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getOrderById(orderId: number, options?: any): AxiosPromise<Order> {
|
||||
getOrderById(orderId: number, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
||||
return localVarFp.getOrderById(orderId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1232,7 +1232,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
placeOrder(order: Order, options?: any): AxiosPromise<Order> {
|
||||
placeOrder(order: Order, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
||||
return localVarFp.placeOrder(order, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -1723,7 +1723,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUser(user: User, options?: any): AxiosPromise<void> {
|
||||
createUser(user: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUser(user, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1733,7 +1733,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUsersWithArrayInput(user: Array<User>, options?: any): AxiosPromise<void> {
|
||||
createUsersWithArrayInput(user: Array<User>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUsersWithArrayInput(user, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1743,7 +1743,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUsersWithListInput(user: Array<User>, options?: any): AxiosPromise<void> {
|
||||
createUsersWithListInput(user: Array<User>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUsersWithListInput(user, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1753,7 +1753,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deleteUser(username: string, options?: any): AxiosPromise<void> {
|
||||
deleteUser(username: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deleteUser(username, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1763,7 +1763,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getUserByName(username: string, options?: any): AxiosPromise<User> {
|
||||
getUserByName(username: string, options?: RawAxiosRequestConfig): AxiosPromise<User> {
|
||||
return localVarFp.getUserByName(username, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1774,7 +1774,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
loginUser(username: string, password: string, options?: any): AxiosPromise<string> {
|
||||
loginUser(username: string, password: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.loginUser(username, password, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1783,7 +1783,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
logoutUser(options?: any): AxiosPromise<void> {
|
||||
logoutUser(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.logoutUser(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1794,7 +1794,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateUser(username: string, user: User, options?: any): AxiosPromise<void> {
|
||||
updateUser(username: string, user: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updateUser(username, user, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1432,7 +1432,7 @@ export const AnotherFakeApiFactory = function (configuration?: Configuration, ba
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
_123testSpecialTags(client: Client, options?: any): AxiosPromise<Client> {
|
||||
_123testSpecialTags(client: Client, options?: RawAxiosRequestConfig): AxiosPromise<Client> {
|
||||
return localVarFp._123testSpecialTags(client, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -1531,7 +1531,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
fooGet(options?: any): AxiosPromise<FooGetDefaultResponse> {
|
||||
fooGet(options?: RawAxiosRequestConfig): AxiosPromise<FooGetDefaultResponse> {
|
||||
return localVarFp.fooGet(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -2686,7 +2686,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
fakeHealthGet(options?: any): AxiosPromise<HealthCheckResult> {
|
||||
fakeHealthGet(options?: RawAxiosRequestConfig): AxiosPromise<HealthCheckResult> {
|
||||
return localVarFp.fakeHealthGet(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2695,7 +2695,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
fakeOuterBooleanSerialize(body?: boolean, options?: any): AxiosPromise<boolean> {
|
||||
fakeOuterBooleanSerialize(body?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
|
||||
return localVarFp.fakeOuterBooleanSerialize(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2704,7 +2704,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
fakeOuterCompositeSerialize(outerComposite?: OuterComposite, options?: any): AxiosPromise<OuterComposite> {
|
||||
fakeOuterCompositeSerialize(outerComposite?: OuterComposite, options?: RawAxiosRequestConfig): AxiosPromise<OuterComposite> {
|
||||
return localVarFp.fakeOuterCompositeSerialize(outerComposite, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2713,7 +2713,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
fakeOuterNumberSerialize(body?: number, options?: any): AxiosPromise<number> {
|
||||
fakeOuterNumberSerialize(body?: number, options?: RawAxiosRequestConfig): AxiosPromise<number> {
|
||||
return localVarFp.fakeOuterNumberSerialize(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2722,7 +2722,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
fakeOuterStringSerialize(body?: string, options?: any): AxiosPromise<string> {
|
||||
fakeOuterStringSerialize(body?: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.fakeOuterStringSerialize(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2732,7 +2732,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testAdditionalPropertiesReference(requestBody: { [key: string]: any; }, options?: any): AxiosPromise<void> {
|
||||
testAdditionalPropertiesReference(requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testAdditionalPropertiesReference(requestBody, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2741,7 +2741,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testBodyWithFileSchema(fileSchemaTestClass: FileSchemaTestClass, options?: any): AxiosPromise<void> {
|
||||
testBodyWithFileSchema(fileSchemaTestClass: FileSchemaTestClass, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testBodyWithFileSchema(fileSchemaTestClass, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2751,7 +2751,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testBodyWithQueryParams(query: string, user: User, options?: any): AxiosPromise<void> {
|
||||
testBodyWithQueryParams(query: string, user: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testBodyWithQueryParams(query, user, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2761,7 +2761,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testClientModel(client: Client, options?: any): AxiosPromise<Client> {
|
||||
testClientModel(client: Client, options?: RawAxiosRequestConfig): AxiosPromise<Client> {
|
||||
return localVarFp.testClientModel(client, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2784,7 +2784,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testEndpointParameters(number: number, _double: number, patternWithoutDelimiter: string, _byte: string, integer?: number, int32?: number, int64?: number, _float?: number, string?: string, binary?: File, date?: string, dateTime?: string, password?: string, callback?: string, options?: any): AxiosPromise<void> {
|
||||
testEndpointParameters(number: number, _double: number, patternWithoutDelimiter: string, _byte: string, integer?: number, int32?: number, int64?: number, _float?: number, string?: string, binary?: File, date?: string, dateTime?: string, password?: string, callback?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, callback, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2801,7 +2801,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testEnumParameters(enumHeaderStringArray?: Array<TestEnumParametersEnumHeaderStringArrayEnum>, enumHeaderString?: TestEnumParametersEnumHeaderStringEnum, enumQueryStringArray?: Array<TestEnumParametersEnumQueryStringArrayEnum>, enumQueryString?: TestEnumParametersEnumQueryStringEnum, enumQueryInteger?: TestEnumParametersEnumQueryIntegerEnum, enumQueryDouble?: TestEnumParametersEnumQueryDoubleEnum, enumFormStringArray?: Array<TestEnumParametersEnumFormStringArrayEnum>, enumFormString?: TestEnumParametersEnumFormStringEnum, options?: any): AxiosPromise<void> {
|
||||
testEnumParameters(enumHeaderStringArray?: Array<TestEnumParametersEnumHeaderStringArrayEnum>, enumHeaderString?: TestEnumParametersEnumHeaderStringEnum, enumQueryStringArray?: Array<TestEnumParametersEnumQueryStringArrayEnum>, enumQueryString?: TestEnumParametersEnumQueryStringEnum, enumQueryInteger?: TestEnumParametersEnumQueryIntegerEnum, enumQueryDouble?: TestEnumParametersEnumQueryDoubleEnum, enumFormStringArray?: Array<TestEnumParametersEnumFormStringArrayEnum>, enumFormString?: TestEnumParametersEnumFormStringEnum, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2816,7 +2816,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testGroupParameters(requiredStringGroup: number, requiredBooleanGroup: boolean, requiredInt64Group: number, stringGroup?: number, booleanGroup?: boolean, int64Group?: number, options?: any): AxiosPromise<void> {
|
||||
testGroupParameters(requiredStringGroup: number, requiredBooleanGroup: boolean, requiredInt64Group: number, stringGroup?: number, booleanGroup?: boolean, int64Group?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2826,7 +2826,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testInlineAdditionalProperties(requestBody: { [key: string]: string; }, options?: any): AxiosPromise<void> {
|
||||
testInlineAdditionalProperties(requestBody: { [key: string]: string; }, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testInlineAdditionalProperties(requestBody, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2836,7 +2836,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest: TestInlineFreeformAdditionalPropertiesRequest, options?: any): AxiosPromise<void> {
|
||||
testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest: TestInlineFreeformAdditionalPropertiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2847,7 +2847,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testJsonFormData(param: string, param2: string, options?: any): AxiosPromise<void> {
|
||||
testJsonFormData(param: string, param2: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testJsonFormData(param, param2, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2860,7 +2860,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testQueryParameterCollectionFormat(pipe: Array<string>, ioutil: Array<string>, http: Array<string>, url: Array<string>, context: Array<string>, options?: any): AxiosPromise<void> {
|
||||
testQueryParameterCollectionFormat(pipe: Array<string>, ioutil: Array<string>, http: Array<string>, url: Array<string>, context: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2870,7 +2870,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testStringMapReference(requestBody: { [key: string]: string; }, options?: any): AxiosPromise<void> {
|
||||
testStringMapReference(requestBody: { [key: string]: string; }, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.testStringMapReference(requestBody, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -2880,7 +2880,7 @@ export const FakeApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testUniqueItemsHeaderAndQueryParameterCollectionFormat(queryUnique: Set<string>, headerUnique: Set<string>, options?: any): AxiosPromise<Set<Pet>> {
|
||||
testUniqueItemsHeaderAndQueryParameterCollectionFormat(queryUnique: Set<string>, headerUnique: Set<string>, options?: RawAxiosRequestConfig): AxiosPromise<Set<Pet>> {
|
||||
return localVarFp.testUniqueItemsHeaderAndQueryParameterCollectionFormat(queryUnique, headerUnique, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -3287,7 +3287,7 @@ export const FakeClassnameTags123ApiFactory = function (configuration?: Configur
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
testClassname(client: Client, options?: any): AxiosPromise<Client> {
|
||||
testClassname(client: Client, options?: RawAxiosRequestConfig): AxiosPromise<Client> {
|
||||
return localVarFp.testClassname(client, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -3882,7 +3882,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addPet(pet: Pet, options?: any): AxiosPromise<void> {
|
||||
addPet(pet: Pet, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.addPet(pet, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3893,7 +3893,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deletePet(petId: number, apiKey?: string, options?: any): AxiosPromise<void> {
|
||||
deletePet(petId: number, apiKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deletePet(petId, apiKey, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3903,7 +3903,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
findPetsByStatus(status: Array<FindPetsByStatusStatusEnum>, options?: any): AxiosPromise<Array<Pet>> {
|
||||
findPetsByStatus(status: Array<FindPetsByStatusStatusEnum>, options?: RawAxiosRequestConfig): AxiosPromise<Array<Pet>> {
|
||||
return localVarFp.findPetsByStatus(status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3914,7 +3914,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @deprecated
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
findPetsByTags(tags: Array<string>, options?: any): AxiosPromise<Array<Pet>> {
|
||||
findPetsByTags(tags: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<Array<Pet>> {
|
||||
return localVarFp.findPetsByTags(tags, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3924,7 +3924,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getPetById(petId: number, options?: any): AxiosPromise<Pet> {
|
||||
getPetById(petId: number, options?: RawAxiosRequestConfig): AxiosPromise<Pet> {
|
||||
return localVarFp.getPetById(petId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3934,7 +3934,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePet(pet: Pet, options?: any): AxiosPromise<void> {
|
||||
updatePet(pet: Pet, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updatePet(pet, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3946,7 +3946,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePetWithForm(petId: number, name?: string, status?: string, options?: any): AxiosPromise<void> {
|
||||
updatePetWithForm(petId: number, name?: string, status?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updatePetWithForm(petId, name, status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3958,7 +3958,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
uploadFile(petId: number, additionalMetadata?: string, file?: File, options?: any): AxiosPromise<ApiResponse> {
|
||||
uploadFile(petId: number, additionalMetadata?: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<ApiResponse> {
|
||||
return localVarFp.uploadFile(petId, additionalMetadata, file, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -3970,7 +3970,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
uploadFileWithRequiredFile(petId: number, requiredFile: File, additionalMetadata?: string, options?: any): AxiosPromise<ApiResponse> {
|
||||
uploadFileWithRequiredFile(petId: number, requiredFile: File, additionalMetadata?: string, options?: RawAxiosRequestConfig): AxiosPromise<ApiResponse> {
|
||||
return localVarFp.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -4332,7 +4332,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deleteOrder(orderId: string, options?: any): AxiosPromise<void> {
|
||||
deleteOrder(orderId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deleteOrder(orderId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4341,7 +4341,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getInventory(options?: any): AxiosPromise<{ [key: string]: number; }> {
|
||||
getInventory(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: number; }> {
|
||||
return localVarFp.getInventory(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4351,7 +4351,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getOrderById(orderId: number, options?: any): AxiosPromise<Order> {
|
||||
getOrderById(orderId: number, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
||||
return localVarFp.getOrderById(orderId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4361,7 +4361,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
placeOrder(order: Order, options?: any): AxiosPromise<Order> {
|
||||
placeOrder(order: Order, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
||||
return localVarFp.placeOrder(order, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -4852,7 +4852,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUser(user: User, options?: any): AxiosPromise<void> {
|
||||
createUser(user: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUser(user, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4862,7 +4862,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUsersWithArrayInput(user: Array<User>, options?: any): AxiosPromise<void> {
|
||||
createUsersWithArrayInput(user: Array<User>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUsersWithArrayInput(user, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4872,7 +4872,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUsersWithListInput(user: Array<User>, options?: any): AxiosPromise<void> {
|
||||
createUsersWithListInput(user: Array<User>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUsersWithListInput(user, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4882,7 +4882,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deleteUser(username: string, options?: any): AxiosPromise<void> {
|
||||
deleteUser(username: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deleteUser(username, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4892,7 +4892,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getUserByName(username: string, options?: any): AxiosPromise<User> {
|
||||
getUserByName(username: string, options?: RawAxiosRequestConfig): AxiosPromise<User> {
|
||||
return localVarFp.getUserByName(username, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4903,7 +4903,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
loginUser(username: string, password: string, options?: any): AxiosPromise<string> {
|
||||
loginUser(username: string, password: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.loginUser(username, password, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4912,7 +4912,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
logoutUser(options?: any): AxiosPromise<void> {
|
||||
logoutUser(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.logoutUser(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -4923,7 +4923,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateUser(username: string, user: User, options?: any): AxiosPromise<void> {
|
||||
updateUser(username: string, user: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updateUser(username, user, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
|
||||
@@ -736,7 +736,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addPet(body: Pet, options?: any): AxiosPromise<void> {
|
||||
addPet(body: Pet, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.addPet(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -747,7 +747,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deletePet(petId: number, apiKey?: string, options?: any): AxiosPromise<void> {
|
||||
deletePet(petId: number, apiKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deletePet(petId, apiKey, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -757,7 +757,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
findPetsByStatus(status: Array<FindPetsByStatusStatusEnum>, options?: any): AxiosPromise<Array<Pet>> {
|
||||
findPetsByStatus(status: Array<FindPetsByStatusStatusEnum>, options?: RawAxiosRequestConfig): AxiosPromise<Array<Pet>> {
|
||||
return localVarFp.findPetsByStatus(status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -768,7 +768,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @deprecated
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
findPetsByTags(tags: Array<string>, options?: any): AxiosPromise<Array<Pet>> {
|
||||
findPetsByTags(tags: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<Array<Pet>> {
|
||||
return localVarFp.findPetsByTags(tags, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -778,7 +778,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getPetById(petId: number, options?: any): AxiosPromise<Pet> {
|
||||
getPetById(petId: number, options?: RawAxiosRequestConfig): AxiosPromise<Pet> {
|
||||
return localVarFp.getPetById(petId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -788,7 +788,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePet(body: Pet, options?: any): AxiosPromise<void> {
|
||||
updatePet(body: Pet, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updatePet(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -800,7 +800,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePetWithForm(petId: number, name?: string, status?: string, options?: any): AxiosPromise<void> {
|
||||
updatePetWithForm(petId: number, name?: string, status?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updatePetWithForm(petId, name, status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -812,7 +812,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
uploadFile(petId: number, additionalMetadata?: string, file?: File, options?: any): AxiosPromise<ApiResponse> {
|
||||
uploadFile(petId: number, additionalMetadata?: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<ApiResponse> {
|
||||
return localVarFp.uploadFile(petId, additionalMetadata, file, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -1254,7 +1254,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deleteOrder(orderId: string, options?: any): AxiosPromise<void> {
|
||||
deleteOrder(orderId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deleteOrder(orderId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1263,7 +1263,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getInventory(options?: any): AxiosPromise<{ [key: string]: number; }> {
|
||||
getInventory(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: number; }> {
|
||||
return localVarFp.getInventory(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1273,7 +1273,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getOrderById(orderId: number, options?: any): AxiosPromise<Order> {
|
||||
getOrderById(orderId: number, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
||||
return localVarFp.getOrderById(orderId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1283,7 +1283,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
placeOrder(body: Order, options?: any): AxiosPromise<Order> {
|
||||
placeOrder(body: Order, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
||||
return localVarFp.placeOrder(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -1821,7 +1821,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUser(body: User, options?: any): AxiosPromise<void> {
|
||||
createUser(body: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUser(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1831,7 +1831,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUsersWithArrayInput(body: Array<User>, options?: any): AxiosPromise<void> {
|
||||
createUsersWithArrayInput(body: Array<User>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUsersWithArrayInput(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1841,7 +1841,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUsersWithListInput(body: Array<User>, options?: any): AxiosPromise<void> {
|
||||
createUsersWithListInput(body: Array<User>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUsersWithListInput(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1851,7 +1851,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deleteUser(username: string, options?: any): AxiosPromise<void> {
|
||||
deleteUser(username: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deleteUser(username, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1861,7 +1861,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getUserByName(username: string, options?: any): AxiosPromise<User> {
|
||||
getUserByName(username: string, options?: RawAxiosRequestConfig): AxiosPromise<User> {
|
||||
return localVarFp.getUserByName(username, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1872,7 +1872,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
loginUser(username: string, password: string, options?: any): AxiosPromise<string> {
|
||||
loginUser(username: string, password: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.loginUser(username, password, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1881,7 +1881,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
logoutUser(options?: any): AxiosPromise<void> {
|
||||
logoutUser(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.logoutUser(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1892,7 +1892,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateUser(username: string, body: User, options?: any): AxiosPromise<void> {
|
||||
updateUser(username: string, body: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updateUser(username, body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
|
||||
@@ -740,7 +740,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addPet(body: Pet, options?: any): AxiosPromise<void> {
|
||||
addPet(body: Pet, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.addPet(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -751,7 +751,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deletePet(petId: number, apiKey?: string, options?: any): AxiosPromise<void> {
|
||||
deletePet(petId: number, apiKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deletePet(petId, apiKey, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -761,7 +761,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
findPetsByStatus(status: Array<FindPetsByStatusStatusEnum>, options?: any): AxiosPromise<Array<Pet>> {
|
||||
findPetsByStatus(status: Array<FindPetsByStatusStatusEnum>, options?: RawAxiosRequestConfig): AxiosPromise<Array<Pet>> {
|
||||
return localVarFp.findPetsByStatus(status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -772,7 +772,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @deprecated
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
findPetsByTags(tags: Array<string>, options?: any): AxiosPromise<Array<Pet>> {
|
||||
findPetsByTags(tags: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<Array<Pet>> {
|
||||
return localVarFp.findPetsByTags(tags, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -782,7 +782,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getPetById(petId: number, options?: any): AxiosPromise<Pet> {
|
||||
getPetById(petId: number, options?: RawAxiosRequestConfig): AxiosPromise<Pet> {
|
||||
return localVarFp.getPetById(petId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -792,7 +792,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePet(body: Pet, options?: any): AxiosPromise<void> {
|
||||
updatePet(body: Pet, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updatePet(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -804,7 +804,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePetWithForm(petId: number, name?: string, status?: string, options?: any): AxiosPromise<void> {
|
||||
updatePetWithForm(petId: number, name?: string, status?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updatePetWithForm(petId, name, status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -816,7 +816,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
uploadFile(petId: number, additionalMetadata?: string, file?: File, options?: any): AxiosPromise<ApiResponse> {
|
||||
uploadFile(petId: number, additionalMetadata?: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<ApiResponse> {
|
||||
return localVarFp.uploadFile(petId, additionalMetadata, file, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -1162,7 +1162,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deleteOrder(orderId: string, options?: any): AxiosPromise<void> {
|
||||
deleteOrder(orderId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deleteOrder(orderId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1171,7 +1171,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getInventory(options?: any): AxiosPromise<{ [key: string]: number; }> {
|
||||
getInventory(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: number; }> {
|
||||
return localVarFp.getInventory(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1181,7 +1181,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getOrderById(orderId: number, options?: any): AxiosPromise<Order> {
|
||||
getOrderById(orderId: number, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
||||
return localVarFp.getOrderById(orderId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1191,7 +1191,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
placeOrder(body?: Order, options?: any): AxiosPromise<Order> {
|
||||
placeOrder(body?: Order, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
||||
return localVarFp.placeOrder(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -1682,7 +1682,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUser(body: User, options?: any): AxiosPromise<void> {
|
||||
createUser(body: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUser(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1692,7 +1692,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUsersWithArrayInput(body: Array<User>, options?: any): AxiosPromise<void> {
|
||||
createUsersWithArrayInput(body: Array<User>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUsersWithArrayInput(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1702,7 +1702,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUsersWithListInput(body: Array<User>, options?: any): AxiosPromise<void> {
|
||||
createUsersWithListInput(body: Array<User>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUsersWithListInput(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1712,7 +1712,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deleteUser(username: string, options?: any): AxiosPromise<void> {
|
||||
deleteUser(username: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deleteUser(username, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1722,7 +1722,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getUserByName(username: string, options?: any): AxiosPromise<User> {
|
||||
getUserByName(username: string, options?: RawAxiosRequestConfig): AxiosPromise<User> {
|
||||
return localVarFp.getUserByName(username, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1733,7 +1733,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
loginUser(username: string, password: string, options?: any): AxiosPromise<string> {
|
||||
loginUser(username: string, password: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.loginUser(username, password, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1742,7 +1742,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
logoutUser(options?: any): AxiosPromise<void> {
|
||||
logoutUser(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.logoutUser(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1753,7 +1753,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateUser(username: string, body: User, options?: any): AxiosPromise<void> {
|
||||
updateUser(username: string, body: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updateUser(username, body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
|
||||
@@ -515,7 +515,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addPet(body: Pet, options?: any): AxiosPromise<void> {
|
||||
addPet(body: Pet, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.addPet(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -526,7 +526,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deletePet(petId: number, apiKey?: string, options?: any): AxiosPromise<void> {
|
||||
deletePet(petId: number, apiKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deletePet(petId, apiKey, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -536,7 +536,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
findPetsByStatus(status: Array<FindPetsByStatusStatusEnum>, options?: any): AxiosPromise<Array<Pet>> {
|
||||
findPetsByStatus(status: Array<FindPetsByStatusStatusEnum>, options?: RawAxiosRequestConfig): AxiosPromise<Array<Pet>> {
|
||||
return localVarFp.findPetsByStatus(status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -547,7 +547,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @deprecated
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
findPetsByTags(tags: Array<string>, options?: any): AxiosPromise<Array<Pet>> {
|
||||
findPetsByTags(tags: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<Array<Pet>> {
|
||||
return localVarFp.findPetsByTags(tags, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -557,7 +557,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getPetById(petId: number, options?: any): AxiosPromise<Pet> {
|
||||
getPetById(petId: number, options?: RawAxiosRequestConfig): AxiosPromise<Pet> {
|
||||
return localVarFp.getPetById(petId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -567,7 +567,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePet(body: Pet, options?: any): AxiosPromise<void> {
|
||||
updatePet(body: Pet, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updatePet(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -579,7 +579,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePetWithForm(petId: number, name?: string, status?: string, options?: any): AxiosPromise<void> {
|
||||
updatePetWithForm(petId: number, name?: string, status?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updatePetWithForm(petId, name, status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -591,7 +591,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
uploadFile(petId: number, additionalMetadata?: string, file?: File, options?: any): AxiosPromise<ApiResponse> {
|
||||
uploadFile(petId: number, additionalMetadata?: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<ApiResponse> {
|
||||
return localVarFp.uploadFile(petId, additionalMetadata, file, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
|
||||
@@ -244,7 +244,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deleteOrder(orderId: string, options?: any): AxiosPromise<void> {
|
||||
deleteOrder(orderId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deleteOrder(orderId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -253,7 +253,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getInventory(options?: any): AxiosPromise<{ [key: string]: number; }> {
|
||||
getInventory(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: number; }> {
|
||||
return localVarFp.getInventory(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -263,7 +263,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getOrderById(orderId: number, options?: any): AxiosPromise<Order> {
|
||||
getOrderById(orderId: number, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
||||
return localVarFp.getOrderById(orderId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -273,7 +273,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
placeOrder(body: Order, options?: any): AxiosPromise<Order> {
|
||||
placeOrder(body: Order, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
||||
return localVarFp.placeOrder(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
|
||||
@@ -451,7 +451,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUser(body: User, options?: any): AxiosPromise<void> {
|
||||
createUser(body: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUser(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -461,7 +461,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUsersWithArrayInput(body: Array<User>, options?: any): AxiosPromise<void> {
|
||||
createUsersWithArrayInput(body: Array<User>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUsersWithArrayInput(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -471,7 +471,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUsersWithListInput(body: Array<User>, options?: any): AxiosPromise<void> {
|
||||
createUsersWithListInput(body: Array<User>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUsersWithListInput(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -481,7 +481,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deleteUser(username: string, options?: any): AxiosPromise<void> {
|
||||
deleteUser(username: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deleteUser(username, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -491,7 +491,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getUserByName(username: string, options?: any): AxiosPromise<User> {
|
||||
getUserByName(username: string, options?: RawAxiosRequestConfig): AxiosPromise<User> {
|
||||
return localVarFp.getUserByName(username, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -502,7 +502,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
loginUser(username: string, password: string, options?: any): AxiosPromise<string> {
|
||||
loginUser(username: string, password: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.loginUser(username, password, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -511,7 +511,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
logoutUser(options?: any): AxiosPromise<void> {
|
||||
logoutUser(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.logoutUser(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -522,7 +522,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateUser(username: string, body: User, options?: any): AxiosPromise<void> {
|
||||
updateUser(username: string, body: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updateUser(username, body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
|
||||
@@ -736,7 +736,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addPet(body: Pet, options?: any): AxiosPromise<void> {
|
||||
addPet(body: Pet, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.addPet(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -747,7 +747,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deletePet(petId: number, apiKey?: string, options?: any): AxiosPromise<void> {
|
||||
deletePet(petId: number, apiKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deletePet(petId, apiKey, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -757,7 +757,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
findPetsByStatus(status: Array<FindPetsByStatusStatusEnum>, options?: any): AxiosPromise<Array<Pet>> {
|
||||
findPetsByStatus(status: Array<FindPetsByStatusStatusEnum>, options?: RawAxiosRequestConfig): AxiosPromise<Array<Pet>> {
|
||||
return localVarFp.findPetsByStatus(status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -768,7 +768,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @deprecated
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
findPetsByTags(tags: Array<string>, options?: any): AxiosPromise<Array<Pet>> {
|
||||
findPetsByTags(tags: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<Array<Pet>> {
|
||||
return localVarFp.findPetsByTags(tags, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -778,7 +778,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getPetById(petId: number, options?: any): AxiosPromise<Pet> {
|
||||
getPetById(petId: number, options?: RawAxiosRequestConfig): AxiosPromise<Pet> {
|
||||
return localVarFp.getPetById(petId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -788,7 +788,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePet(body: Pet, options?: any): AxiosPromise<void> {
|
||||
updatePet(body: Pet, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updatePet(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -800,7 +800,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePetWithForm(petId: number, name?: string, status?: string, options?: any): AxiosPromise<void> {
|
||||
updatePetWithForm(petId: number, name?: string, status?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updatePetWithForm(petId, name, status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -812,7 +812,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
uploadFile(petId: number, additionalMetadata?: string, file?: File, options?: any): AxiosPromise<ApiResponse> {
|
||||
uploadFile(petId: number, additionalMetadata?: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<ApiResponse> {
|
||||
return localVarFp.uploadFile(petId, additionalMetadata, file, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -1160,7 +1160,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deleteOrder(orderId: string, options?: any): AxiosPromise<void> {
|
||||
deleteOrder(orderId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deleteOrder(orderId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1169,7 +1169,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getInventory(options?: any): AxiosPromise<{ [key: string]: number; }> {
|
||||
getInventory(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: number; }> {
|
||||
return localVarFp.getInventory(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1179,7 +1179,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getOrderById(orderId: number, options?: any): AxiosPromise<Order> {
|
||||
getOrderById(orderId: number, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
||||
return localVarFp.getOrderById(orderId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1189,7 +1189,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
placeOrder(body: Order, options?: any): AxiosPromise<Order> {
|
||||
placeOrder(body: Order, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
||||
return localVarFp.placeOrder(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -1680,7 +1680,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUser(body: User, options?: any): AxiosPromise<void> {
|
||||
createUser(body: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUser(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1690,7 +1690,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUsersWithArrayInput(body: Array<User>, options?: any): AxiosPromise<void> {
|
||||
createUsersWithArrayInput(body: Array<User>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUsersWithArrayInput(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1700,7 +1700,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUsersWithListInput(body: Array<User>, options?: any): AxiosPromise<void> {
|
||||
createUsersWithListInput(body: Array<User>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUsersWithListInput(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1710,7 +1710,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deleteUser(username: string, options?: any): AxiosPromise<void> {
|
||||
deleteUser(username: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deleteUser(username, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1720,7 +1720,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getUserByName(username: string, options?: any): AxiosPromise<User> {
|
||||
getUserByName(username: string, options?: RawAxiosRequestConfig): AxiosPromise<User> {
|
||||
return localVarFp.getUserByName(username, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1731,7 +1731,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
loginUser(username: string, password: string, options?: any): AxiosPromise<string> {
|
||||
loginUser(username: string, password: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.loginUser(username, password, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1740,7 +1740,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
logoutUser(options?: any): AxiosPromise<void> {
|
||||
logoutUser(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.logoutUser(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1751,7 +1751,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateUser(username: string, body: User, options?: any): AxiosPromise<void> {
|
||||
updateUser(username: string, body: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updateUser(username, body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
|
||||
@@ -740,7 +740,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addPet(body: Pet, options?: any): AxiosPromise<void> {
|
||||
addPet(body: Pet, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.addPet(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -751,7 +751,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deletePet(petId: number, apiKey?: string, options?: any): AxiosPromise<void> {
|
||||
deletePet(petId: number, apiKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deletePet(petId, apiKey, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -761,7 +761,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
findPetsByStatus(status: Array<FindPetsByStatusStatusEnum>, options?: any): AxiosPromise<Array<Pet>> {
|
||||
findPetsByStatus(status: Array<FindPetsByStatusStatusEnum>, options?: RawAxiosRequestConfig): AxiosPromise<Array<Pet>> {
|
||||
return localVarFp.findPetsByStatus(status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -772,7 +772,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @deprecated
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
findPetsByTags(tags: Array<string>, options?: any): AxiosPromise<Array<Pet>> {
|
||||
findPetsByTags(tags: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<Array<Pet>> {
|
||||
return localVarFp.findPetsByTags(tags, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -782,7 +782,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getPetById(petId: number, options?: any): AxiosPromise<Pet> {
|
||||
getPetById(petId: number, options?: RawAxiosRequestConfig): AxiosPromise<Pet> {
|
||||
return localVarFp.getPetById(petId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -792,7 +792,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePet(body: Pet, options?: any): AxiosPromise<void> {
|
||||
updatePet(body: Pet, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updatePet(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -804,7 +804,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updatePetWithForm(petId: number, name?: string, status?: string, options?: any): AxiosPromise<void> {
|
||||
updatePetWithForm(petId: number, name?: string, status?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updatePetWithForm(petId, name, status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -816,7 +816,7 @@ export const PetApiFactory = function (configuration?: Configuration, basePath?:
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
uploadFile(petId: number, additionalMetadata?: string, file?: File, options?: any): AxiosPromise<ApiResponse> {
|
||||
uploadFile(petId: number, additionalMetadata?: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<ApiResponse> {
|
||||
return localVarFp.uploadFile(petId, additionalMetadata, file, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -1164,7 +1164,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deleteOrder(orderId: string, options?: any): AxiosPromise<void> {
|
||||
deleteOrder(orderId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deleteOrder(orderId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1173,7 +1173,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getInventory(options?: any): AxiosPromise<{ [key: string]: number; }> {
|
||||
getInventory(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: number; }> {
|
||||
return localVarFp.getInventory(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1183,7 +1183,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getOrderById(orderId: number, options?: any): AxiosPromise<Order> {
|
||||
getOrderById(orderId: number, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
||||
return localVarFp.getOrderById(orderId, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1193,7 +1193,7 @@ export const StoreApiFactory = function (configuration?: Configuration, basePath
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
placeOrder(body: Order, options?: any): AxiosPromise<Order> {
|
||||
placeOrder(body: Order, options?: RawAxiosRequestConfig): AxiosPromise<Order> {
|
||||
return localVarFp.placeOrder(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@@ -1684,7 +1684,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUser(body: User, options?: any): AxiosPromise<void> {
|
||||
createUser(body: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUser(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1694,7 +1694,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUsersWithArrayInput(body: Array<User>, options?: any): AxiosPromise<void> {
|
||||
createUsersWithArrayInput(body: Array<User>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUsersWithArrayInput(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1704,7 +1704,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createUsersWithListInput(body: Array<User>, options?: any): AxiosPromise<void> {
|
||||
createUsersWithListInput(body: Array<User>, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createUsersWithListInput(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1714,7 +1714,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
deleteUser(username: string, options?: any): AxiosPromise<void> {
|
||||
deleteUser(username: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.deleteUser(username, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1724,7 +1724,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getUserByName(username: string, options?: any): AxiosPromise<User> {
|
||||
getUserByName(username: string, options?: RawAxiosRequestConfig): AxiosPromise<User> {
|
||||
return localVarFp.getUserByName(username, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1735,7 +1735,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
loginUser(username: string, password: string, options?: any): AxiosPromise<string> {
|
||||
loginUser(username: string, password: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
||||
return localVarFp.loginUser(username, password, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1744,7 +1744,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
logoutUser(options?: any): AxiosPromise<void> {
|
||||
logoutUser(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.logoutUser(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@@ -1755,7 +1755,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
updateUser(username: string, body: User, options?: any): AxiosPromise<void> {
|
||||
updateUser(username: string, body: User, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.updateUser(username, body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user