forked from loafle/openapi-generator-original
Co-authored-by: Esteban Gehring <esteban.gehring@gmail.com>
This commit is contained in:
parent
eecd8c056a
commit
5a5c3db938
@ -133,7 +133,7 @@ export class Configuration {
|
|||||||
constructor(private configuration: ConfigurationParameters = {}) {}
|
constructor(private configuration: ConfigurationParameters = {}) {}
|
||||||
|
|
||||||
get basePath(): string {
|
get basePath(): string {
|
||||||
return this.configuration.basePath || BASE_PATH;
|
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
|
||||||
}
|
}
|
||||||
|
|
||||||
get fetchApi(): FetchAPI {
|
get fetchApi(): FetchAPI {
|
||||||
|
@ -144,7 +144,7 @@ export class Configuration {
|
|||||||
constructor(private configuration: ConfigurationParameters = {}) {}
|
constructor(private configuration: ConfigurationParameters = {}) {}
|
||||||
|
|
||||||
get basePath(): string {
|
get basePath(): string {
|
||||||
return this.configuration.basePath || BASE_PATH;
|
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
|
||||||
}
|
}
|
||||||
|
|
||||||
get fetchApi(): FetchAPI {
|
get fetchApi(): FetchAPI {
|
||||||
|
@ -144,7 +144,7 @@ export class Configuration {
|
|||||||
constructor(private configuration: ConfigurationParameters = {}) {}
|
constructor(private configuration: ConfigurationParameters = {}) {}
|
||||||
|
|
||||||
get basePath(): string {
|
get basePath(): string {
|
||||||
return this.configuration.basePath || BASE_PATH;
|
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
|
||||||
}
|
}
|
||||||
|
|
||||||
get fetchApi(): FetchAPI {
|
get fetchApi(): FetchAPI {
|
||||||
|
@ -144,7 +144,7 @@ export class Configuration {
|
|||||||
constructor(private configuration: ConfigurationParameters = {}) {}
|
constructor(private configuration: ConfigurationParameters = {}) {}
|
||||||
|
|
||||||
get basePath(): string {
|
get basePath(): string {
|
||||||
return this.configuration.basePath || BASE_PATH;
|
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
|
||||||
}
|
}
|
||||||
|
|
||||||
get fetchApi(): FetchAPI {
|
get fetchApi(): FetchAPI {
|
||||||
|
@ -144,7 +144,7 @@ export class Configuration {
|
|||||||
constructor(private configuration: ConfigurationParameters = {}) {}
|
constructor(private configuration: ConfigurationParameters = {}) {}
|
||||||
|
|
||||||
get basePath(): string {
|
get basePath(): string {
|
||||||
return this.configuration.basePath || BASE_PATH;
|
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
|
||||||
}
|
}
|
||||||
|
|
||||||
get fetchApi(): FetchAPI {
|
get fetchApi(): FetchAPI {
|
||||||
|
@ -144,7 +144,7 @@ export class Configuration {
|
|||||||
constructor(private configuration: ConfigurationParameters = {}) {}
|
constructor(private configuration: ConfigurationParameters = {}) {}
|
||||||
|
|
||||||
get basePath(): string {
|
get basePath(): string {
|
||||||
return this.configuration.basePath || BASE_PATH;
|
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
|
||||||
}
|
}
|
||||||
|
|
||||||
get fetchApi(): FetchAPI {
|
get fetchApi(): FetchAPI {
|
||||||
|
@ -144,7 +144,7 @@ export class Configuration {
|
|||||||
constructor(private configuration: ConfigurationParameters = {}) {}
|
constructor(private configuration: ConfigurationParameters = {}) {}
|
||||||
|
|
||||||
get basePath(): string {
|
get basePath(): string {
|
||||||
return this.configuration.basePath || BASE_PATH;
|
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
|
||||||
}
|
}
|
||||||
|
|
||||||
get fetchApi(): FetchAPI {
|
get fetchApi(): FetchAPI {
|
||||||
|
@ -144,7 +144,7 @@ export class Configuration {
|
|||||||
constructor(private configuration: ConfigurationParameters = {}) {}
|
constructor(private configuration: ConfigurationParameters = {}) {}
|
||||||
|
|
||||||
get basePath(): string {
|
get basePath(): string {
|
||||||
return this.configuration.basePath || BASE_PATH;
|
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
|
||||||
}
|
}
|
||||||
|
|
||||||
get fetchApi(): FetchAPI {
|
get fetchApi(): FetchAPI {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user