The php generator checks username and password for null, but default values are empty string ''
|
if ($this->config->getUsername() !== null || $this->config->getPassword() !== null) { |
|
protected $username = ''; |
When using e.g. an API which supports Bearer and http auth, the bearer Auth header gets replaced by:
Basic Og==
The php generator checks username and password for null, but default values are empty string ''
openapi-generator/modules/openapi-generator/src/main/resources/php/api.mustache
Line 510 in 1522855
openapi-generator/modules/openapi-generator/src/main/resources/php/Configuration.mustache
Line 60 in 1522855
When using e.g. an API which supports Bearer and http auth, the bearer Auth header gets replaced by:
Basic Og==