chenneo / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
Apache License 2.0
0 stars 0 forks source link

CodeGen doesn't work in a case there is a method and enum with the same name #312

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When there is a a resource with method "a" and "b", and method "b" contains an 
enum parameter which its name is "a", there is a compilation error and the 
service won't be generated!

...
"resources": {
 "some-resource": {
   "methods": {
    "a": {
....
    },
    "b": {
...
     "parameters": {
      "a": {
       "type": "string",
       "enum": [
        "all",
        "children"
       ],
...

Original issue reported on code.google.com by pele...@google.com on 15 Apr 2013 at 4:23

GoogleCodeExporter commented 9 years ago

Original comment by pele...@google.com on 15 Apr 2013 at 4:24

GoogleCodeExporter commented 9 years ago

Original comment by pele...@google.com on 20 Jun 2013 at 10:49

GoogleCodeExporter commented 9 years ago
Ww moved to templates system, and we remove the C# code generator.
We fixed all those issue in the new template system

Original comment by pele...@google.com on 16 Aug 2013 at 2:06