Getting 404 Error from Laminas API Tools

I am getting 404 Error Not Found with the text as below:

The requested URL was not found on this server.

The URL is mydomain.com/api-tools/ui
I am using Laminas API Tools.

Any pointers or ideas would help.

Have you enabled the development mode?
composer development-enable

Be aware, you should never run this this public accessible with the development mode enabled.

I have ‘development enabled’. Please explain last part of your response.

The issue was the Apache configuration following worked in virtual hosts tags:

<Directory “/home/usera/mydir/public”>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted

When the development mode in enabled and the URL is accessible through the internet, there is a good possibility that someone starts playing with your API settings.

Right, I also realized it later, thanks!