@@ -740,7 +740,7 @@ export const PetApiFp = function(configuration?: Configuration) {
740
740
*/
741
741
async addPet ( body : Pet , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < void > > {
742
742
const localVarAxiosArgs = await PetApiAxiosParamCreator ( configuration ) . addPet ( body , options ) ;
743
- return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
743
+ return ( axios : AxiosInstance = globalAxios , basePath : string = this . basePath ) => {
744
744
const axiosRequestArgs = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
745
745
return axios . request ( axiosRequestArgs ) ;
746
746
} ;
@@ -755,7 +755,7 @@ export const PetApiFp = function(configuration?: Configuration) {
755
755
*/
756
756
async deletePet ( petId : number , apiKey ?: string , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < void > > {
757
757
const localVarAxiosArgs = await PetApiAxiosParamCreator ( configuration ) . deletePet ( petId , apiKey , options ) ;
758
- return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
758
+ return ( axios : AxiosInstance = globalAxios , basePath : string = this . basePath ) => {
759
759
const axiosRequestArgs = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
760
760
return axios . request ( axiosRequestArgs ) ;
761
761
} ;
@@ -769,7 +769,7 @@ export const PetApiFp = function(configuration?: Configuration) {
769
769
*/
770
770
async findPetsByStatus ( status : Array < 'available' | 'pending' | 'sold' > , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < Array < Pet > > > {
771
771
const localVarAxiosArgs = await PetApiAxiosParamCreator ( configuration ) . findPetsByStatus ( status , options ) ;
772
- return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
772
+ return ( axios : AxiosInstance = globalAxios , basePath : string = this . basePath ) => {
773
773
const axiosRequestArgs = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
774
774
return axios . request ( axiosRequestArgs ) ;
775
775
} ;
@@ -783,7 +783,7 @@ export const PetApiFp = function(configuration?: Configuration) {
783
783
*/
784
784
async findPetsByTags ( tags : Array < string > , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < Array < Pet > > > {
785
785
const localVarAxiosArgs = await PetApiAxiosParamCreator ( configuration ) . findPetsByTags ( tags , options ) ;
786
- return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
786
+ return ( axios : AxiosInstance = globalAxios , basePath : string = this . basePath ) => {
787
787
const axiosRequestArgs = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
788
788
return axios . request ( axiosRequestArgs ) ;
789
789
} ;
@@ -797,7 +797,7 @@ export const PetApiFp = function(configuration?: Configuration) {
797
797
*/
798
798
async getPetById ( petId : number , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < Pet > > {
799
799
const localVarAxiosArgs = await PetApiAxiosParamCreator ( configuration ) . getPetById ( petId , options ) ;
800
- return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
800
+ return ( axios : AxiosInstance = globalAxios , basePath : string = this . basePath ) => {
801
801
const axiosRequestArgs = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
802
802
return axios . request ( axiosRequestArgs ) ;
803
803
} ;
@@ -811,7 +811,7 @@ export const PetApiFp = function(configuration?: Configuration) {
811
811
*/
812
812
async updatePet ( body : Pet , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < void > > {
813
813
const localVarAxiosArgs = await PetApiAxiosParamCreator ( configuration ) . updatePet ( body , options ) ;
814
- return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
814
+ return ( axios : AxiosInstance = globalAxios , basePath : string = this . basePath ) => {
815
815
const axiosRequestArgs = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
816
816
return axios . request ( axiosRequestArgs ) ;
817
817
} ;
@@ -827,7 +827,7 @@ export const PetApiFp = function(configuration?: Configuration) {
827
827
*/
828
828
async updatePetWithForm ( petId : number , name ?: string , status ?: string , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < void > > {
829
829
const localVarAxiosArgs = await PetApiAxiosParamCreator ( configuration ) . updatePetWithForm ( petId , name , status , options ) ;
830
- return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
830
+ return ( axios : AxiosInstance = globalAxios , basePath : string = this . basePath ) => {
831
831
const axiosRequestArgs = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
832
832
return axios . request ( axiosRequestArgs ) ;
833
833
} ;
@@ -843,7 +843,7 @@ export const PetApiFp = function(configuration?: Configuration) {
843
843
*/
844
844
async uploadFile ( petId : number , additionalMetadata ?: string , file ?: any , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < ApiResponse > > {
845
845
const localVarAxiosArgs = await PetApiAxiosParamCreator ( configuration ) . uploadFile ( petId , additionalMetadata , file , options ) ;
846
- return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
846
+ return ( axios : AxiosInstance = globalAxios , basePath : string = this . basePath ) => {
847
847
const axiosRequestArgs = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
848
848
return axios . request ( axiosRequestArgs ) ;
849
849
} ;
@@ -1261,7 +1261,7 @@ export const StoreApiFp = function(configuration?: Configuration) {
1261
1261
*/
1262
1262
async deleteOrder ( orderId : string , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < void > > {
1263
1263
const localVarAxiosArgs = await StoreApiAxiosParamCreator ( configuration ) . deleteOrder ( orderId , options ) ;
1264
- return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
1264
+ return ( axios : AxiosInstance = globalAxios , basePath : string = this . basePath ) => {
1265
1265
const axiosRequestArgs = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
1266
1266
return axios . request ( axiosRequestArgs ) ;
1267
1267
} ;
@@ -1274,7 +1274,7 @@ export const StoreApiFp = function(configuration?: Configuration) {
1274
1274
*/
1275
1275
async getInventory ( options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < { [ key : string ] : number ; } > > {
1276
1276
const localVarAxiosArgs = await StoreApiAxiosParamCreator ( configuration ) . getInventory ( options ) ;
1277
- return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
1277
+ return ( axios : AxiosInstance = globalAxios , basePath : string = this . basePath ) => {
1278
1278
const axiosRequestArgs = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
1279
1279
return axios . request ( axiosRequestArgs ) ;
1280
1280
} ;
@@ -1288,7 +1288,7 @@ export const StoreApiFp = function(configuration?: Configuration) {
1288
1288
*/
1289
1289
async getOrderById ( orderId : number , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < Order > > {
1290
1290
const localVarAxiosArgs = await StoreApiAxiosParamCreator ( configuration ) . getOrderById ( orderId , options ) ;
1291
- return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
1291
+ return ( axios : AxiosInstance = globalAxios , basePath : string = this . basePath ) => {
1292
1292
const axiosRequestArgs = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
1293
1293
return axios . request ( axiosRequestArgs ) ;
1294
1294
} ;
@@ -1302,7 +1302,7 @@ export const StoreApiFp = function(configuration?: Configuration) {
1302
1302
*/
1303
1303
async placeOrder ( body : Order , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < Order > > {
1304
1304
const localVarAxiosArgs = await StoreApiAxiosParamCreator ( configuration ) . placeOrder ( body , options ) ;
1305
- return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
1305
+ return ( axios : AxiosInstance = globalAxios , basePath : string = this . basePath ) => {
1306
1306
const axiosRequestArgs = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
1307
1307
return axios . request ( axiosRequestArgs ) ;
1308
1308
} ;
@@ -1826,7 +1826,7 @@ export const UserApiFp = function(configuration?: Configuration) {
1826
1826
*/
1827
1827
async createUser ( body : User , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < void > > {
1828
1828
const localVarAxiosArgs = await UserApiAxiosParamCreator ( configuration ) . createUser ( body , options ) ;
1829
- return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
1829
+ return ( axios : AxiosInstance = globalAxios , basePath : string = this . basePath ) => {
1830
1830
const axiosRequestArgs = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
1831
1831
return axios . request ( axiosRequestArgs ) ;
1832
1832
} ;
@@ -1840,7 +1840,7 @@ export const UserApiFp = function(configuration?: Configuration) {
1840
1840
*/
1841
1841
async createUsersWithArrayInput ( body : Array < User > , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < void > > {
1842
1842
const localVarAxiosArgs = await UserApiAxiosParamCreator ( configuration ) . createUsersWithArrayInput ( body , options ) ;
1843
- return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
1843
+ return ( axios : AxiosInstance = globalAxios , basePath : string = this . basePath ) => {
1844
1844
const axiosRequestArgs = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
1845
1845
return axios . request ( axiosRequestArgs ) ;
1846
1846
} ;
@@ -1854,7 +1854,7 @@ export const UserApiFp = function(configuration?: Configuration) {
1854
1854
*/
1855
1855
async createUsersWithListInput ( body : Array < User > , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < void > > {
1856
1856
const localVarAxiosArgs = await UserApiAxiosParamCreator ( configuration ) . createUsersWithListInput ( body , options ) ;
1857
- return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
1857
+ return ( axios : AxiosInstance = globalAxios , basePath : string = this . basePath ) => {
1858
1858
const axiosRequestArgs = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
1859
1859
return axios . request ( axiosRequestArgs ) ;
1860
1860
} ;
@@ -1868,7 +1868,7 @@ export const UserApiFp = function(configuration?: Configuration) {
1868
1868
*/
1869
1869
async deleteUser ( username : string , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < void > > {
1870
1870
const localVarAxiosArgs = await UserApiAxiosParamCreator ( configuration ) . deleteUser ( username , options ) ;
1871
- return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
1871
+ return ( axios : AxiosInstance = globalAxios , basePath : string = this . basePath ) => {
1872
1872
const axiosRequestArgs = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
1873
1873
return axios . request ( axiosRequestArgs ) ;
1874
1874
} ;
@@ -1882,7 +1882,7 @@ export const UserApiFp = function(configuration?: Configuration) {
1882
1882
*/
1883
1883
async getUserByName ( username : string , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < User > > {
1884
1884
const localVarAxiosArgs = await UserApiAxiosParamCreator ( configuration ) . getUserByName ( username , options ) ;
1885
- return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
1885
+ return ( axios : AxiosInstance = globalAxios , basePath : string = this . basePath ) => {
1886
1886
const axiosRequestArgs = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
1887
1887
return axios . request ( axiosRequestArgs ) ;
1888
1888
} ;
@@ -1897,7 +1897,7 @@ export const UserApiFp = function(configuration?: Configuration) {
1897
1897
*/
1898
1898
async loginUser ( username : string , password : string , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < string > > {
1899
1899
const localVarAxiosArgs = await UserApiAxiosParamCreator ( configuration ) . loginUser ( username , password , options ) ;
1900
- return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
1900
+ return ( axios : AxiosInstance = globalAxios , basePath : string = this . basePath ) => {
1901
1901
const axiosRequestArgs = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
1902
1902
return axios . request ( axiosRequestArgs ) ;
1903
1903
} ;
@@ -1910,7 +1910,7 @@ export const UserApiFp = function(configuration?: Configuration) {
1910
1910
*/
1911
1911
async logoutUser ( options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < void > > {
1912
1912
const localVarAxiosArgs = await UserApiAxiosParamCreator ( configuration ) . logoutUser ( options ) ;
1913
- return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
1913
+ return ( axios : AxiosInstance = globalAxios , basePath : string = this . basePath ) => {
1914
1914
const axiosRequestArgs = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
1915
1915
return axios . request ( axiosRequestArgs ) ;
1916
1916
} ;
@@ -1925,7 +1925,7 @@ export const UserApiFp = function(configuration?: Configuration) {
1925
1925
*/
1926
1926
async updateUser ( username : string , body : User , options ?: any ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < void > > {
1927
1927
const localVarAxiosArgs = await UserApiAxiosParamCreator ( configuration ) . updateUser ( username , body , options ) ;
1928
- return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
1928
+ return ( axios : AxiosInstance = globalAxios , basePath : string = this . basePath ) => {
1929
1929
const axiosRequestArgs = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
1930
1930
return axios . request ( axiosRequestArgs ) ;
1931
1931
} ;
0 commit comments