From 0b6d59105e864cac744eb8161ade0ca389a03c71 Mon Sep 17 00:00:00 2001 From: David Supplee Date: Wed, 1 Jun 2016 18:07:28 -0400 Subject: [PATCH] only strtolower service path (#50) --- scripts/DocGenerator.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/DocGenerator.php b/scripts/DocGenerator.php index 6bc8c11b6b2c..9d414b284f31 100644 --- a/scripts/DocGenerator.php +++ b/scripts/DocGenerator.php @@ -386,8 +386,9 @@ private function buildLink($content) private function buildOutputPath() { $pathInfo = pathinfo($this->currentFile); - $jsonOutputPath = $this->outputPath . substr($pathInfo['dirname'] . '/' . $pathInfo['filename'] . '.json', 4); + $servicePath = substr($pathInfo['dirname'] . '/' . $pathInfo['filename'] . '.json', 4); + $servicePath = strtolower($servicePath); - return strtolower($jsonOutputPath); + return $this->outputPath . $servicePath; } }