THE PROBLEM
Nelmio Api Docs doesn't prepend correctly the api/ prefix to documented routes.
They are present in the "default" section of the documentation, but are wrong in the section dedicated to each single entity.
This is the documentation generated for a specific entity:
The (WRONG) documentation generated for each entity: no api prefix in the route
As the rout doesn't have the prefix, I cannot test the endpoint from inside the docs.
In default section, instead, the routes are correct (they have the /api/ prefix) but I cannot test them anyway from the documentation as the details of the endpoint are not present.
As you can see in the first image "Account", the routes are correctly listed, but they don't have the /api/ prefix.
The details of each endpoint are built correctly, but I cannot test them from Nelmio Api Doc as the route always returns a 404 error (obviously, as the correct route is prepended by /api/ and Nelmio doesn't prepend them.
But the routes are correctly listed in the "default" section but they cannot be used from the docs as the details are not present:
** WHAT I'D LIKE TO ACCOMPLISH**
Simply have in the section "Account" the correct route, prefixed by /api/ and, if possible, don't have two times the same route, once without the prefix (in the "Account" section") and once with the prefix (in the "default" section).
Is some sort of misconfiguration, am I missing something? Any advice?

