GoogleCloudPlatform / android-docs-samples

Apache License 2.0
375 stars 596 forks source link

Adding canonicalName on Endpoint does not work #59

Open abhideep opened 6 years ago

abhideep commented 6 years ago

Adding canonicalName on MyEndpoint does not change the name of the generated class. Not sure if this is a bug with the generator or the gradle configuration, but if it is the later, will be nice to include that in the sample

Adding canonicalName in the code below, does not generate a Service Client with name SampleAPI @Api( name = "myApi", version = "v1", canonicalName = "SampleAPI", namespace = @ApiNamespace( ownerDomain = "backend.endpoints.migration.example.com", ownerName = "backend.endpoints.migration.example.com", packagePath = "" ) ) public class MyEndpoint { ...