I have an self-hosted application written originally using ServiceStack 3.x, where I had dozens of APIs with a route starting with /api
Upon licensing ServiceStack 6, all routes starting with /api are failing with the following error:
"ErrorCode":"NotImplementedException","Message":"The operation 'bu' does not exist for this service"
where the last element in the path is shown as the operation name.
I modified one service to route as:
[Route("/api/hcm/bu")]
[Route("/api/bu")]
[Route("/access/hcm/bu")]
The ones starting with /api fail. The one starting with /access works perfectly.
These are published APIs, so I really do not want to change them all.
I am guessing the new automatic /api pathways in the newer version of ServiceStack are interfering, but I cannot find any documentation on how to suppress them or work around this.
How can I make the legacy /api path services work again under current ServiceStack?