If two methods in the same API have no path prefix segments in common (@ApiMethod(path = "/path1/v1") and @ApiMethod(path = "/path2/v1/") for example), the generated discovery file will lack the "servicePath" field. This will make the API explorer call a wrong url: https://.appspot.com/_ah/api/_ah/api/.
In this situation, the legacy framework will output an empty servicePath field instead, which is OK with the API explorer.
If two methods in the same API have no path prefix segments in common (@ApiMethod(path = "/path1/v1") and @ApiMethod(path = "/path2/v1/") for example), the generated discovery file will lack the "servicePath" field. This will make the API explorer call a wrong url: https://.appspot.com/_ah/api/_ah/api/.
In this situation, the legacy framework will output an empty servicePath field instead, which is OK with the API explorer.
Full example here: