anuj607 / google-api-php-client

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

Generator cannot handle . characters in parameter names #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Search API for shopping has parameters like 'debug.enabled', which do not make 
valid PHP function arguments.

To reproduce, look at the output of generation with the arguments 'shopping' 
'v1'.

The generated file has syntax errors.

Original issue reported on code.google.com by afs...@google.com on 14 Jan 2011 at 11:07

GoogleCodeExporter commented 9 years ago
Patch attached that replaces . characters (along with - characters) and 
remembers the original parameter name as specified by the resource description, 
and reuses the value instead of trying to regenerate the original.

Original comment by afs...@google.com on 15 Jan 2011 at 3:58

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by chirags@google.com on 18 May 2011 at 10:09

GoogleCodeExporter commented 9 years ago
Fixed as of r143 with the new API generator.

Original comment by chirags@google.com on 22 Jun 2011 at 6:58