Closed clementdenis closed 7 years ago
What is the purpose of re-specifying the /specialFeatures/v1 again? Isn't the intended purpose to specify methods outside of the API-version prefix?
This was probably the worst possible example :-) Our APIs have some overridden prefix path, sometimes not including the API version, like this: @ApiMethod(path = "/pathoverride/hello")
This used to work perfectly with the legacy endpoints. With latest v2 builds, these methods are bound to the right path, but the discovery file is wrong.
This is now fixed.
Since beta.10, api method paths starting with a slash are not written correctly to the discovery file. This makes clients relying on the discovery (API explorer, gapi) return 404s for these methods. This was a supported feature in legacy Cloud Endpoints.
Here is an example: