We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bbddb0 commit 236bda4Copy full SHA for 236bda4
app/code/Magento/Webapi/Controller/Rest.php
@@ -281,7 +281,7 @@ protected function processSchemaRequest()
281
$responseBody = $this->swaggerGenerator->generate(
282
$requestedServices,
283
$this->_request->getScheme(),
284
- $this->_request->getHttpHost(),
+ $this->_request->getHttpHost(false),
285
$this->_request->getRequestUri()
286
);
287
$this->_response->setBody($responseBody)->setHeader('Content-Type', 'application/json');
0 commit comments