Skip to content

Commit 6647605

Browse files
authored
fix the build-api-docs command for openemr-cmd (#410)
1 parent b8053ac commit 6647605

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

docker/openemr/flex-3.17/utilities/devtools

+1-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ fi
476476

477477
if [ "$1" == "build-api-docs" ]; then
478478
echo "Building and placing api swagger docs"
479-
php /var/www/localhost/htdocs/openemr/bin/command-runner -c CreateAPIDocumentation
479+
php /var/www/localhost/htdocs/openemr/bin/console openemr:create-api-documentation
480480
fi
481481

482482
if [ "$1" == "register-oauth2-client" ]; then

docker/openemr/flex-3.18/utilities/devtools

+1-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ fi
476476

477477
if [ "$1" == "build-api-docs" ]; then
478478
echo "Building and placing api swagger docs"
479-
php /var/www/localhost/htdocs/openemr/bin/command-runner -c CreateAPIDocumentation
479+
php /var/www/localhost/htdocs/openemr/bin/console openemr:create-api-documentation
480480
fi
481481

482482
if [ "$1" == "register-oauth2-client" ]; then

docker/openemr/flex-3.20/utilities/devtools

+1-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ fi
476476

477477
if [ "$1" == "build-api-docs" ]; then
478478
echo "Building and placing api swagger docs"
479-
php /var/www/localhost/htdocs/openemr/bin/command-runner -c CreateAPIDocumentation
479+
php /var/www/localhost/htdocs/openemr/bin/console openemr:create-api-documentation
480480
fi
481481

482482
if [ "$1" == "register-oauth2-client" ]; then

docker/openemr/flex-3.21/utilities/devtools

+1-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ fi
476476

477477
if [ "$1" == "build-api-docs" ]; then
478478
echo "Building and placing api swagger docs"
479-
php /var/www/localhost/htdocs/openemr/bin/command-runner -c CreateAPIDocumentation
479+
php /var/www/localhost/htdocs/openemr/bin/console openemr:create-api-documentation
480480
fi
481481

482482
if [ "$1" == "register-oauth2-client" ]; then

docker/openemr/flex-edge/utilities/devtools

+1-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ fi
476476

477477
if [ "$1" == "build-api-docs" ]; then
478478
echo "Building and placing api swagger docs"
479-
php /var/www/localhost/htdocs/openemr/bin/command-runner -c CreateAPIDocumentation
479+
php /var/www/localhost/htdocs/openemr/bin/console openemr:create-api-documentation
480480
fi
481481

482482
if [ "$1" == "register-oauth2-client" ]; then

0 commit comments

Comments
 (0)