ng-configcat-publicapi
Advanced tools
Comparing version 2.5.6 to 2.5.7
@@ -154,5 +154,5 @@ /** | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -163,3 +163,3 @@ | ||
params: queryParameters, | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -211,5 +211,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -219,3 +219,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -299,5 +299,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -308,3 +308,3 @@ | ||
params: queryParameters, | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -311,0 +311,0 @@ headers: headers, |
@@ -142,5 +142,5 @@ /** | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -151,3 +151,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -197,5 +197,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -205,3 +205,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -253,5 +253,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -261,3 +261,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -309,5 +309,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -317,3 +317,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -380,5 +380,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -389,3 +389,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -392,0 +392,0 @@ headers: headers, |
@@ -142,5 +142,5 @@ /** | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -151,3 +151,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -197,5 +197,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -205,3 +205,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -253,5 +253,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -261,3 +261,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -309,5 +309,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -317,3 +317,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -380,5 +380,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -389,3 +389,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -392,0 +392,0 @@ headers: headers, |
@@ -132,5 +132,5 @@ /** | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -140,3 +140,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -192,5 +192,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -200,3 +200,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -274,5 +274,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -284,3 +284,3 @@ | ||
params: queryParameters, | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -359,5 +359,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -369,3 +369,3 @@ | ||
params: queryParameters, | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -372,0 +372,0 @@ headers: headers, |
@@ -131,5 +131,5 @@ /** | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -139,3 +139,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -213,5 +213,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -223,3 +223,3 @@ | ||
params: queryParameters, | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -298,5 +298,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -308,3 +308,3 @@ | ||
params: queryParameters, | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -311,0 +311,0 @@ headers: headers, |
@@ -142,5 +142,5 @@ /** | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -151,3 +151,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -197,5 +197,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -205,3 +205,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -253,5 +253,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -261,3 +261,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -309,5 +309,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -317,3 +317,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -381,5 +381,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -390,3 +390,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -393,0 +393,0 @@ headers: headers, |
@@ -154,5 +154,5 @@ /** | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -163,3 +163,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -222,5 +222,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -230,3 +230,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -281,5 +281,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -289,3 +289,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -355,5 +355,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -364,3 +364,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -416,5 +416,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -425,3 +425,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -428,0 +428,0 @@ headers: headers, |
@@ -120,5 +120,5 @@ /** | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -128,3 +128,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -131,0 +131,0 @@ headers: headers, |
@@ -129,5 +129,5 @@ /** | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -137,3 +137,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -187,5 +187,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -195,3 +195,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -243,5 +243,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -251,3 +251,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -299,5 +299,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -307,3 +307,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -368,5 +368,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -377,3 +377,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -380,0 +380,0 @@ headers: headers, |
@@ -121,5 +121,5 @@ /** | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -129,3 +129,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -132,0 +132,0 @@ headers: headers, |
@@ -142,5 +142,5 @@ /** | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -151,3 +151,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -197,5 +197,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -205,3 +205,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -253,5 +253,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -261,3 +261,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -309,5 +309,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -317,3 +317,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -380,5 +380,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -389,3 +389,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -392,0 +392,0 @@ headers: headers, |
@@ -142,5 +142,5 @@ /** | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -151,3 +151,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -197,5 +197,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -205,3 +205,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -253,5 +253,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -261,3 +261,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -305,5 +305,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -313,3 +313,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -376,5 +376,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -385,3 +385,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -388,0 +388,0 @@ headers: headers, |
@@ -129,5 +129,5 @@ /** | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -137,3 +137,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -140,0 +140,0 @@ headers: headers, |
@@ -143,5 +143,5 @@ /** | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -152,3 +152,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -198,5 +198,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -206,3 +206,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -254,5 +254,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -262,3 +262,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -310,5 +310,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -318,3 +318,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -366,5 +366,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -374,3 +374,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -437,5 +437,5 @@ headers: headers, | ||
let responseType: 'text' | 'json' = 'json'; | ||
let responseType_: 'text' | 'json' = 'json'; | ||
if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { | ||
responseType = 'text'; | ||
responseType_ = 'text'; | ||
} | ||
@@ -446,3 +446,3 @@ | ||
{ | ||
responseType: <any>responseType, | ||
responseType: <any>responseType_, | ||
withCredentials: this.configuration.withCredentials, | ||
@@ -449,0 +449,0 @@ headers: headers, |
@@ -64,5 +64,5 @@ import { HttpParameterCodec } from '@angular/common/http'; | ||
this.credentials['Basic'] = () => { | ||
if (this.username || this.password) { | ||
return btoa(this.username + ':' + this.password); | ||
} | ||
return (this.username || this.password) | ||
? btoa(this.username + ':' + this.password) | ||
: undefined; | ||
}; | ||
@@ -69,0 +69,0 @@ } |
{ | ||
"name": "ng-configcat-publicapi", | ||
"version": "2.5.6", | ||
"version": "2.5.7", | ||
"description": "OpenAPI client for ng-configcat-publicapi", | ||
@@ -5,0 +5,0 @@ "author": "OpenAPI-Generator Contributors", |
@@ -1,2 +0,2 @@ | ||
## ng-configcat-publicapi@2.5.6 | ||
## ng-configcat-publicapi@2.5.7 | ||
@@ -22,3 +22,3 @@ ### Building | ||
``` | ||
npm install ng-configcat-publicapi@2.5.6 --save | ||
npm install ng-configcat-publicapi@2.5.7 --save | ||
``` | ||
@@ -79,3 +79,3 @@ | ||
export function apiConfigFactory (): Configuration => { | ||
export function apiConfigFactory (): Configuration { | ||
const params: ConfigurationParameters = { | ||
@@ -125,3 +125,3 @@ // set configuration parameters here. | ||
export class AppComponent { | ||
constructor(private apiGateway: DefaultApi) { } | ||
constructor(private apiGateway: DefaultApi) { } | ||
} | ||
@@ -128,0 +128,0 @@ ``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
466589