We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 147b334 + 79f6b10 commit d000df4Copy full SHA for d000df4
app/code/Magento/Webapi/Controller/Rest.php
@@ -303,7 +303,7 @@ protected function processSchemaRequest()
303
$responseBody = $this->swaggerGenerator->generate(
304
$requestedServices,
305
$this->_request->getScheme(),
306
- $this->_request->getHttpHost(),
+ $this->_request->getHttpHost(false),
307
$this->_request->getRequestUri()
308
);
309
$this->_response->setBody($responseBody)->setHeader('Content-Type', 'application/json');
0 commit comments